##// END OF EJS Templates
hgwebdir: refresh configuration periodically...
hgwebdir: refresh configuration periodically The old default behaviour of hgwebdir was to maintain a list of repositories permanently. This interacted badly with persistent application hosting software such as WSGI containers. If a new repository was published, it would potentially never appear in the top-level list of repositories. This change causes the hgwebdir configuration and list of repositories served to be refreshed periodically (at most every 20 seconds).

File last commit:

r8353:6058d291 default
r8371:1bd0fdf4 default
Show More
fileannotate.tmpl
79 lines | 2.2 KiB | application/x-cheetah | CheetahLexer
Dirkjan Ochtman
coal/paper: move actual templates from coal to paper
r7411 {header}
<title>{repo|escape}: {file|escape} annotate</title>
</head>
<body>
<div class="container">
<div class="menu">
<div class="logo">
<a href="http://www.selenic.com/mercurial/">
Benoit Allard
coal/paper: switch to XHTML 1.1
r7725 <img src="{staticurl}hglogo.png" alt="mercurial" /></a>
Dirkjan Ochtman
coal/paper: move actual templates from coal to paper
r7411 </div>
<ul>
<li><a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">log</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
paper/coal: add branches page
r8353 <li><a href="{url}branches{sessionvars%urlparameter}">branches</a></li>
Dirkjan Ochtman
coal/paper: move actual templates from coal to paper
r7411 </ul>
<ul>
<li><a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a></li>
<li><a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">browse</a></li>
</ul>
<ul>
<li><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file</a></li>
<li><a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">diff</a></li>
<li class="active">annotate</li>
<li><a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file log</a></li>
<li><a href="{url}raw-annotate/{node|short}/{file|urlescape}">raw</a></li>
</ul>
</div>
<div class="main">
<h2><a href="{url}{sessionvars%urlparameter}">{repo|escape}</a></h2>
<h3>annotate {file|escape} @ {rev}:{node|short}</h3>
<form class="search" action="{url}log">
{sessionvars%hiddenformentry}
Benoit Allard
coal/paper: switch to XHTML 1.1
r7725 <p><input name="rev" id="search1" type="text" size="30" /></p>
<div id="hint">find changesets by author, revision,
files, or words in the commit message</div>
Dirkjan Ochtman
coal/paper: move actual templates from coal to paper
r7411 </form>
Rocco Rutte
hgweb: use "nonempty" filter in templates for the changelog message...
r8235 <div class="description">{desc|strip|escape|addbreaks|nonempty}</div>
Dirkjan Ochtman
coal/paper: move actual templates from coal to paper
r7411
<table id="changesetEntry">
<tr>
<th class="author">author</th>
<td class="author">{author|obfuscate}</td>
</tr>
<tr>
<th class="date">date</th>
<td class="date">{date|date} ({date|age} ago)</td>
</tr>
<tr>
<th class="author">parents</th>
<td class="author">{parent%filerevparent}</td>
</tr>
<tr>
<th class="author">children</th>
<td class="author">{child%filerevchild}</td>
</tr>
{changesettag}
</table>
<br/>
<div class="overflow">
<table class="bigtable">
<tr>
<th class="annotate">rev</th>
<th class="line">&nbsp;&nbsp;line source</th>
</tr>
{annotate%annotateline}
</table>
</div>
</div>
</div>
{footer}