##// 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:

r7750:b0341619 default
r8234:27dbe534 default
Show More
changelogentry.tmpl
7 lines | 291 B | application/x-cheetah | CheetahLexer
/ templates / rss / changelogentry.tmpl
Brendan Cully
Move RSS theme into subdirectory
r3235 <item>
<title>#desc|strip|firstline|strip|escape#</title>
Sune Foldager
hgweb: add guid to rss items
r7750 <guid isPermaLink="true">{urlbase}{url}rev/{node|short}</guid>
Brendan Cully
Move RSS theme into subdirectory
r3235 <description><![CDATA[#desc|strip|escape|addbreaks#]]></description>
<author>#author|obfuscate#</author>
<pubDate>#date|rfc822date#</pubDate>
</item>