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

r7403:9efd596e default
r8234:27dbe534 default
Show More
index.tmpl
39 lines | 1.1 KiB | application/x-cheetah | CheetahLexer
#header#
<title>#repo|escape#: Mercurial repositories index</title>
</head>
<body>
<div id="container">
<div class="page-header">
<h1>Mercurial Repositories</h1>
<ul class="page-nav">
</ul>
</div>
<table cellspacing="0">
<tr>
<td><a href="?sort=#sort_name#">Name</a></td>
<td><a href="?sort=#sort_description#">Description</a></td>
<td><a href="?sort=#sort_contact#">Contact</a></td>
<td><a href="?sort=#sort_lastchange#">Last change</a></td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
#entries%indexentry#
</table>
<div class="page-footer">
{motd}
</div>
<div id="powered-by">
<p><a href="http://www.selenic.com/mercurial/" title="Mercurial"><img src="#staticurl#hglogo.png" width=75 height=90 border=0 alt="mercurial"></a></p>
</div>
<div id="corner-top-left"></div>
<div id="corner-top-right"></div>
<div id="corner-bottom-left"></div>
<div id="corner-bottom-right"></div>
</div>
</body>
</html>