Mercurial > hg-stable
view templates/spartan/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 | fecfe4392e94 |
children | 5c1aabc58004 |
line wrap: on
line source
<table class="logEntry parity#parity#"> <tr> <th class="age">#date|age# ago:</th> <th class="firstline">#desc|strip|firstline|escape|nonempty#</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>