templates/gitweb/filerevision.tmpl
author Josef "Jeff" Sipek <jeffpc@josefsipek.net>
Sat, 07 Oct 2006 15:16:47 -0400
changeset 3291 0b5d626b354e
parent 3279 4b2d3c8a6195
child 3353 2edf53386d86
permissions -rw-r--r--
[patchbomb] prepend leading zeros in the "[PATCH N of M]" string Without this patch, if one tries to send a patch bomb with more than 9 patches, the resulting subjects are not easily alphabetically sortable. For example: ... [PATCH 9 of 10] [PATCH 10 of 10] This patch prepends as many leading zeros as necessary. E.g., [PATCH 09 of 10] or [PATCH 009 of 100]

#header#
<title>#repo|escape#: File revision</title>
<link rel="alternate" type="application/rss+xml"
   href="{url}rss-log" title="RSS feed for #repo|escape#">
</head>
<body>

<div class="page_header">
<a href="http://www.selenic.com/mercurial/" title="Mercurial"><div style="float:right;">Mercurial</div></a><a href="{url}summary{getentries}">#repo|escape#</a> / file revision
</div>

<div class="page_nav">
<a href="{url}summary{getentries}">summary</a> |
<a href="{url}shortlog{getentries}">shortlog</a> |
<a href="{url}log{getentries}">changelog</a> |
<a href="{url}tags{getentries}">tags</a> |
<a href="{url}file/#node|short##path|urlescape#{getentries}">manifest</a> |
<a href="{url}rev/#node|short#{getentries}">changeset</a> |
file |
<a href="{url}log/{node|short}/#file|urlescape#{getentries}">revisions</a> |
<a href="{url}annotate/{node|short}/#file|urlescape#{getentries}">annotate</a> |
<a href="{url}raw-file/{node|short}/#file|urlescape#">raw</a><br/>
</div>

<div class="title">#file|escape#</div>

<table>
<tr>
 <td class="metatag">changeset #rev#:</td>
 <td><a href="{url}rev/#node|short#{getentries}">#node|short#</a></td></tr>
#rename%filerename#
#parent%fileannotateparent#
#child%fileannotatechild#
<tr>
 <td class="metatag">manifest:</td>
 <td><a href="{url}file/#node|short#{getentries}">#node|short#</a></td></tr>
<tr>
 <td class="metatag">author:</td>
 <td>#author|obfuscate#</td></tr>
<tr>
 <td class="metatag">date:</td>
 <td>#date|date# (#date|age# ago)</td></tr>
<tr>
 <td class="metatag">permissions:</td>
 <td>#permissions|permissions#</td></tr>
</table>

<div class="page_body">
#text%fileline#
</div>

#footer#