##// END OF EJS Templates
handle file URIs correctly, according to RFC 2396 (issue1153)...
handle file URIs correctly, according to RFC 2396 (issue1153) The new code aims to implement the RFC correctly for file URIs. Previously they were handled incorrectly in several ways, which could cause problem on Windows in particular.

File last commit:

r9721:1d75c683 default
r9996:2770d03a stable
Show More
fileannotate.tmpl
63 lines | 2.6 KiB | application/x-cheetah | CheetahLexer
Dirkjan Ochtman
monoblue: use newer template syntax everywhere
r8430 {header}
Hiroshi Funai
added monoblue hgweb theme
r7111 <title>{repo|escape}: {file|escape}@{node|short} (annotated)</title>
Dirkjan Ochtman
monoblue: use newer template syntax everywhere
r8430 <link rel="alternate" type="application/atom+xml" href="{url}atom-log" title="Atom feed for {repo|escape}"/>
<link rel="alternate" type="application/rss+xml" href="{url}rss-log" title="RSS feed for {repo|escape}"/>
Hiroshi Funai
added monoblue hgweb theme
r7111 </head>
<body>
<div id="container">
<div class="page-header">
Dirkjan Ochtman
monoblue: use newer template syntax everywhere
r8430 <h1><a href="{url}summary{sessionvars%urlparameter}">{repo|escape}</a> / annotate</h1>
Hiroshi Funai
added monoblue hgweb theme
r7111
<form action="{url}log">
{sessionvars%hiddenformentry}
<dl class="search">
<dt><label>Search: </label></dt>
<dd><input type="text" name="rev" /></dd>
</dl>
</form>
<ul class="page-nav">
<li><a href="{url}summary{sessionvars%urlparameter}">summary</a></li>
<li><a href="{url}shortlog{sessionvars%urlparameter}">shortlog</a></li>
<li><a href="{url}log{sessionvars%urlparameter}">changelog</a></li>
<li><a href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li>
<li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li>
Sune Foldager
monoblue: add branches page
r8355 <li><a href="{url}branches{sessionvars%urlparameter}">branches</a></li>
Dirkjan Ochtman
monoblue: use newer template syntax everywhere
r8430 <li><a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">files</a></li>
Hiroshi Funai
added monoblue hgweb theme
r7111 </ul>
</div>
<ul class="submenu">
Dirkjan Ochtman
monoblue: use newer template syntax everywhere
r8430 <li><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file</a></li>
<li><a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">revisions</a></li>
Hiroshi Funai
added monoblue hgweb theme
r7111 <li class="current">annotate</li>
<li><a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">diff</a></li>
Dirkjan Ochtman
monoblue: use newer template syntax everywhere
r8430 <li><a href="{url}raw-annotate/{node|short}/{file|urlescape}">raw</a></li>
Hiroshi Funai
added monoblue hgweb theme
r7111 </ul>
<h2 class="no-link no-border">{file|escape}@{node|short} (annotated)</h2>
Dirkjan Ochtman
monoblue: use newer template syntax everywhere
r8430 <h3 class="changeset">{file|escape}</h3>
Dirkjan Ochtman
templater: put 'ago' inside the age template filter
r9721 <p class="changeset-age"><span>{date|age}</span></p>
Hiroshi Funai
added monoblue hgweb theme
r7111
<dl class="overview">
<dt>author</dt>
Dirkjan Ochtman
monoblue: use newer template syntax everywhere
r8430 <dd>{author|obfuscate}</dd>
Hiroshi Funai
added monoblue hgweb theme
r7111 <dt>date</dt>
Dirkjan Ochtman
monoblue: use newer template syntax everywhere
r8430 <dd>{date|date}</dd>
{branch%filerevbranch}
Hiroshi Funai
added monoblue hgweb theme
r7111 <dt>changeset {rev}</dt>
Dirkjan Ochtman
monoblue: use newer template syntax everywhere
r8430 <dd><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></dd>
{parent%fileannotateparent}
{child%fileannotatechild}
Hiroshi Funai
added monoblue hgweb theme
r7111 <dt>permissions</dt>
Dirkjan Ochtman
monoblue: use newer template syntax everywhere
r8430 <dd>{permissions|permissions}</dd>
Hiroshi Funai
added monoblue hgweb theme
r7111 </dl>
Rocco Rutte
hgweb: use "nonempty" filter in templates for the changelog message...
r8235 <p class="description">{desc|strip|escape|addbreaks|nonempty}</p>
Hiroshi Funai
added monoblue hgweb theme
r7111
<table class="annotated">
{annotate%annotateline}
</table>
Dirkjan Ochtman
monoblue: use newer template syntax everywhere
r8430 {footer}