##// 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
filediff.tmpl
46 lines | 1.7 KiB | application/x-cheetah | CheetahLexer
Brendan Cully
gitweb: add file diff view
r3353 {header}
<title>{repo|escape}: diff {file|escape}</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
gitweb: add file diff view
r3353 <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
gitweb: add file diff view
r3353 </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> / diff
Brendan Cully
gitweb: add file diff view
r3353 </div>
<div class="page_nav">
Thomas Arendsen Hein
hgweb: Apply the new method of passing session variables to links.
r3363 <a href="{url}summary{sessionvars%urlparameter}">summary</a> |
<a href="{url}shortlog{sessionvars%urlparameter}">shortlog</a> |
<a href="{url}log{sessionvars%urlparameter}">changelog</a> |
Augie Fackler
hgweb: Fix up non-coal styles to support graph.
r6693 <a href="{url}graph{sessionvars%urlparameter}">graph</a> |
Thomas Arendsen Hein
hgweb: Apply the new method of passing session variables to links.
r3363 <a href="{url}tags{sessionvars%urlparameter}">tags</a> |
Thomas Arendsen Hein
Renamed "manifest" to "files" in web templates....
r6177 <a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">files</a> |
Thomas Arendsen Hein
hgweb: Apply the new method of passing session variables to links.
r3363 <a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a> |
<a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file</a> |
<a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">revisions</a> |
Thomas Arendsen Hein
Fixed typo in gitweb templates.
r3364 <a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a> |
Brendan Cully
gitweb: add file diff view
r3353 diff |
<a href="{url}raw-diff/{node|short}/{file|urlescape}">raw</a><br/>
</div>
<div class="title">{file|escape}</div>
<table>
Florent Guillaume
gitweb: show branches in most of the templates
r6250 {branch%filerevbranch}
Brendan Cully
gitweb: add file diff view
r3353 <tr>
Josef "Jeff" Sipek
gitweb: file diff: Display metadata in same order as changeset does
r4467 <td>changeset {rev}</td>
<td style="font-family:monospace"><a class="list" href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td></tr>
Brendan Cully
gitweb: add file diff view
r3353 {parent%filediffparent}
{child%filediffchild}
</table>
Josef "Jeff" Sipek
gitweb: file diff: Display metadata in same order as changeset does
r4467 <div class="list_head"></div>
Brendan Cully
gitweb: add file diff view
r3353 <div class="page_body">
{diff}
</div>
{footer}