comparison templates/rss/filelogentry.tmpl @ 8235:89bc3946c8f3

hgweb: use "nonempty" filter in templates for the changelog message At least subversion allows empty commit logs which, after conversion, show up as empty fields in hgweb and don't allow selecting the changeset. Using "nonempty" as filter, "(none)" is used to get clickable links for empty commit messages.
author Rocco Rutte <pdmef@gmx.net>
date Mon, 20 Apr 2009 12:10:04 +0200
parents a2179e78d18b
children 5ccca71775e1
comparison
equal deleted inserted replaced
8234:27dbe534397b 8235:89bc3946c8f3
1 <item> 1 <item>
2 <title>#desc|strip|firstline|strip|escape#</title> 2 <title>#desc|strip|firstline|strip|escape#</title>
3 <link>{urlbase}{url}log{#node|short#}/{file|urlescape}</link> 3 <link>{urlbase}{url}log{#node|short#}/{file|urlescape}</link>
4 <description><![CDATA[#desc|strip|escape|addbreaks#]]></description> 4 <description><![CDATA[#desc|strip|escape|addbreaks|nonempty#]]></description>
5 <author>#author|obfuscate#</author> 5 <author>#author|obfuscate#</author>
6 <pubDate>#date|rfc822date#</pubDate> 6 <pubDate>#date|rfc822date#</pubDate>
7 </item> 7 </item>