##// 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
changelog.tmpl
38 lines | 1.1 KiB | application/x-cheetah | CheetahLexer
Brendan Cully
Move gitweb theme into subdirectory
r3234 #header#
<title>#repo|escape#: Changelog</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> / changelog
Brendan Cully
Move gitweb theme into subdirectory
r3234 </div>
Brendan Cully
hgweb: convert gitweb to NWI
r3271 <form action="{url}log">
Thomas Arendsen Hein
hgweb: Keep session variables (currently only style) in HTML forms, too....
r3362 {sessionvars%hiddenformentry}
Brendan Cully
Move gitweb theme into subdirectory
r3234 <div class="search">
<input type="text" name="rev" />
</div>
</form>
<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> |
changelog |
<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>#archives%archiveentry#
Brendan Cully
Move gitweb theme into subdirectory
r3234 <br/>
#changenav%naventry#<br/>
</div>
#entries%changelogentry#
<div class="page_nav">
#changenav%naventry#<br/>
</div>
#footer#