##// END OF EJS Templates
templatefilters: add "nonempty" template filter...
templatefilters: add "nonempty" template filter It ensures that at least "(none)" is returned in case the argument passed is None or ''. This is primarily useful to render empty changelog messages for hgweb but may be useful for others, too.

File last commit:

r5269:46c5e1ee default
r8234:27dbe534 default
Show More
filelog.tmpl
8 lines | 242 B | application/x-cheetah | CheetahLexer
Robert Bachmann
Added support for the Atom syndication format
r5269 #header#
<id>{urlbase}{url}atom-log/tip/{file|escape}</id>
<link rel="self" href="{urlbase}{url}atom-log/tip/{file|escape}"/>
<title>#repo|escape#: #file|escape# history</title>
#latestentry%feedupdated#
#entries%changelogentry#
</feed>