templates/monoblue/changelogentry.tmpl
author Rocco Rutte <pdmef@gmx.net>
Mon, 20 Apr 2009 12:10:04 +0200
changeset 8235 89bc3946c8f3
parent 7111 91b0ada2d94b
child 8430 8b47efdf40ee
permissions -rw-r--r--
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.

<h3 class="changelog"><a class="title" href="{url}rev/#node|short#{sessionvars%urlparameter}">#desc|strip|firstline|escape|nonempty#<span class="logtags"> {inbranch%inbranchtag}{branches%branchtag}{tags%tagtag}</span></a></h3>
<ul class="changelog-entry">
    <li class="age">#date|age# ago</li>
    <li>by <span class="name">#author|obfuscate#</span> <span class="revdate">[#date|rfc822date#] rev #rev#</span></li>
    <li class="description">#desc|strip|escape|addbreaks|nonempty#</li>
</ul>