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

r7338:fecfe439 default
r8234:27dbe534 default
Show More
changelogentry.tmpl
25 lines | 695 B | application/x-cheetah | CheetahLexer
<table class="logEntry parity#parity#">
<tr>
<th class="age">#date|age# ago:</th>
<th class="firstline">#desc|strip|firstline|escape#</th>
</tr>
<tr>
<th class="revision">changeset #rev#:</th>
<td class="node"><a href="#url#rev/#node|short#{sessionvars%urlparameter}">#node|short#</a></td>
</tr>
#parent%changelogparent#
#child%changelogchild#
#changelogtag#
<tr>
<th class="author">author:</th>
<td class="author">#author|obfuscate#</td>
</tr>
<tr>
<th class="date">date:</th>
<td class="date">#date|date#</td>
</tr>
<tr>
<th class="files"><a href="#url#file/#node|short#{sessionvars%urlparameter}">files</a>:</th>
<td class="files">#files#</td>
</tr>
</table>