Mercurial > hg
annotate templates/monoblue/changelogentry.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 | 91b0ada2d94b |
children | 8b47efdf40ee |
rev | line source |
---|---|
8235
89bc3946c8f3
hgweb: use "nonempty" filter in templates for the changelog message
Rocco Rutte <pdmef@gmx.net>
parents:
7111
diff
changeset
|
1 <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> |
7111 | 2 <ul class="changelog-entry"> |
3 <li class="age">#date|age# ago</li> | |
4 <li>by <span class="name">#author|obfuscate#</span> <span class="revdate">[#date|rfc822date#] rev #rev#</span></li> | |
8235
89bc3946c8f3
hgweb: use "nonempty" filter in templates for the changelog message
Rocco Rutte <pdmef@gmx.net>
parents:
7111
diff
changeset
|
5 <li class="description">#desc|strip|escape|addbreaks|nonempty#</li> |
7111 | 6 </ul> |