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

r6693:7f58dec6 default
r8234:27dbe534 default
Show More
changeset.tmpl
42 lines | 1.7 KiB | application/x-cheetah | CheetahLexer
Brendan Cully
Move gitweb theme into subdirectory
r3234 #header#
Brendan Cully
hgweb: add revision numbers to changeset parent/child links
r3475 <title>{repo|escape}: changeset {rev}:{node|short}</title>
Robert Bachmann
Added support for the Atom syndication format
r5269 <link rel="alternate" type="application/atom+xml"
Kevin Christen
Fixed numerous XHTML problems that caused validation errors and warnings....
r5820 href="{url}atom-log" title="Atom feed for #repo|escape#"/>
Brendan Cully
Move gitweb theme into subdirectory
r3234 <link rel="alternate" type="application/rss+xml"
Kevin Christen
Fixed numerous XHTML problems that caused validation errors and warnings....
r5820 href="{url}rss-log" title="RSS feed for #repo|escape#"/>
Brendan Cully
Move gitweb theme into subdirectory
r3234 </head>
<body>
<div class="page_header">
Kevin Christen
Fixed numerous XHTML problems that caused validation errors and warnings....
r5820 <a href="http://www.selenic.com/mercurial/" title="Mercurial" style="float: right;">Mercurial</a><a href="#url#summary{sessionvars%urlparameter}">#repo|escape#</a> / changeset
Brendan Cully
Move gitweb theme into subdirectory
r3234 </div>
<div class="page_nav">
Augie Fackler
hgweb: Fix up non-coal styles to support graph.
r6693 <a href="{url}summary{sessionvars%urlparameter}">summary</a> | <a href="{url}shortlog/#rev#{sessionvars%urlparameter}">shortlog</a> | <a href="{url}log/#rev#{sessionvars%urlparameter}">changelog</a> | <a href="{url}graph{sessionvars%urlparameter}">graph</a> | <a href="{url}tags{sessionvars%urlparameter}">tags</a> | <a href="{url}file/#node|short#{sessionvars%urlparameter}">files</a> | changeset | <a href="{url}raw-rev/#node|short#">raw</a> #archives%archiveentry#<br/>
Brendan Cully
Move gitweb theme into subdirectory
r3234 </div>
<div>
Florent Guillaume
gitweb: show branches in most of the templates
r6250 <a class="title" href="{url}raw-rev/#node|short#">#desc|strip|escape|firstline# <span class="logtags">{inbranch%inbranchtag}{branches%branchtag}{tags%tagtag}</span></a>
Brendan Cully
Move gitweb theme into subdirectory
r3234 </div>
<div class="title_text">
<table cellspacing="0">
<tr><td>author</td><td>#author|obfuscate#</td></tr>
<tr><td></td><td>#date|date# (#date|age# ago)</td></tr>
Florent Guillaume
gitweb: show branches in most of the templates
r6250 #branch%changesetbranch#
Brendan Cully
hgweb: add revision numbers to changeset parent/child links
r3475 <tr><td>changeset {rev}</td><td style="font-family:monospace">{node|short}</td></tr>
Brendan Cully
Move gitweb theme into subdirectory
r3234 #parent%changesetparent#
#child%changesetchild#
</table></div>
<div class="page_body">
#desc|strip|escape|addbreaks#
</div>
<div class="list_head"></div>
<div class="title_text">
<table cellspacing="0">
#files#
</table></div>
<div class="page_body">#diff#</div>
#footer#