##// END OF EJS Templates
implemented autentication
implemented autentication

File last commit:

r31:2963f289 default
r52:25e51644 default
Show More
fileannotate.tmpl
54 lines | 2.2 KiB | application/x-cheetah | CheetahLexer
Marcin Kuzminski
Tempalting change, bugfix for serving raw files, and diffs. Now raw files are not parsed thruough mako, and diffs are mako safe (not parsed also)
r31 ## -*- coding: utf-8 -*-
Marcin Kuzminski
Added custom templates, did over check of code to make it work....
r20 {header}
<div id="container">
<div class="page-header">
<h1><a href="{url}summary{sessionvars%urlparameter}">{repo|escape}</a> / annotate</h1>
<ul class="object-tools">
<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>
<li><a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">files</a></li>
</ul>
<br class="clear"/>
<ul class="object-tools" style="margin-top:-2em">
<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>
<li class="current"><a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a></li>
<li><a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">diff</a></li>
<li><a href="{url}raw-annotate/{node|short}/{file|urlescape}">raw</a></li>
</ul>
</div>
<div class="module">
<h2 class="no-link no-border">{file|escape}@{node|short}, <span>{date|age} ago</span> (annotated)</h2>
<h3 class="changeset">{file|escape}</h3>
<dl class="overview">
<dt>author</dt>
<dd>{author|obfuscate}</dd>
<dt>date</dt>
<dd>{date|date}</dd>
{branch%filerevbranch}
<dt>changeset {rev}</dt>
<dd><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></dd>
{parent%fileannotateparent}
{child%fileannotatechild}
<dt>permissions</dt>
<dd>{permissions|permissions}</dd>
</dl>
<pre class="description">{desc|strip|escape|addbreaks}</pre>
<table class="module" width="100%";>
<thead>
<tr><th>user</th><th></th><th></th></tr>
</thead>
{annotate%annotateline}
</table>
</div>
{footer}