Mercurial > hg
annotate mercurial/templates/monoblue/fileannotate.tmpl @ 12423:10c3385fa89e
tests: unify test-eol-hook
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Sun, 26 Sep 2010 13:41:32 -0500 |
parents | f91e5630ce7e |
children | d664547ef540 |
rev | line source |
---|---|
8430
8b47efdf40ee
monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8355
diff
changeset
|
1 {header} |
7111 | 2 <title>{repo|escape}: {file|escape}@{node|short} (annotated)</title> |
8430
8b47efdf40ee
monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8355
diff
changeset
|
3 <link rel="alternate" type="application/atom+xml" href="{url}atom-log" title="Atom feed for {repo|escape}"/> |
8b47efdf40ee
monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8355
diff
changeset
|
4 <link rel="alternate" type="application/rss+xml" href="{url}rss-log" title="RSS feed for {repo|escape}"/> |
7111 | 5 </head> |
6 | |
7 <body> | |
8 <div id="container"> | |
9 <div class="page-header"> | |
8430
8b47efdf40ee
monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8355
diff
changeset
|
10 <h1><a href="{url}summary{sessionvars%urlparameter}">{repo|escape}</a> / annotate</h1> |
7111 | 11 |
12 <form action="{url}log"> | |
13 {sessionvars%hiddenformentry} | |
14 <dl class="search"> | |
15 <dt><label>Search: </label></dt> | |
16 <dd><input type="text" name="rev" /></dd> | |
17 </dl> | |
18 </form> | |
19 | |
20 <ul class="page-nav"> | |
21 <li><a href="{url}summary{sessionvars%urlparameter}">summary</a></li> | |
22 <li><a href="{url}shortlog{sessionvars%urlparameter}">shortlog</a></li> | |
23 <li><a href="{url}log{sessionvars%urlparameter}">changelog</a></li> | |
24 <li><a href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li> | |
25 <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li> | |
8355
5ba798f339c8
monoblue: add branches page
Sune Foldager <cryo@cyanite.org>
parents:
8235
diff
changeset
|
26 <li><a href="{url}branches{sessionvars%urlparameter}">branches</a></li> |
8430
8b47efdf40ee
monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8355
diff
changeset
|
27 <li><a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">files</a></li> |
7111 | 28 </ul> |
29 </div> | |
30 | |
31 <ul class="submenu"> | |
8430
8b47efdf40ee
monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8355
diff
changeset
|
32 <li><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file</a></li> |
8b47efdf40ee
monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8355
diff
changeset
|
33 <li><a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">revisions</a></li> |
7111 | 34 <li class="current">annotate</li> |
35 <li><a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">diff</a></li> | |
8430
8b47efdf40ee
monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8355
diff
changeset
|
36 <li><a href="{url}raw-annotate/{node|short}/{file|urlescape}">raw</a></li> |
7111 | 37 </ul> |
38 | |
39 <h2 class="no-link no-border">{file|escape}@{node|short} (annotated)</h2> | |
8430
8b47efdf40ee
monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8355
diff
changeset
|
40 <h3 class="changeset">{file|escape}</h3> |
9721
1d75c683ada1
templater: put 'ago' inside the age template filter
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8430
diff
changeset
|
41 <p class="changeset-age"><span>{date|age}</span></p> |
7111 | 42 |
43 <dl class="overview"> | |
44 <dt>author</dt> | |
8430
8b47efdf40ee
monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8355
diff
changeset
|
45 <dd>{author|obfuscate}</dd> |
7111 | 46 <dt>date</dt> |
8430
8b47efdf40ee
monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8355
diff
changeset
|
47 <dd>{date|date}</dd> |
8b47efdf40ee
monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8355
diff
changeset
|
48 {branch%filerevbranch} |
7111 | 49 <dt>changeset {rev}</dt> |
8430
8b47efdf40ee
monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8355
diff
changeset
|
50 <dd><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></dd> |
8b47efdf40ee
monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8355
diff
changeset
|
51 {parent%fileannotateparent} |
8b47efdf40ee
monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8355
diff
changeset
|
52 {child%fileannotatechild} |
7111 | 53 <dt>permissions</dt> |
8430
8b47efdf40ee
monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8355
diff
changeset
|
54 <dd>{permissions|permissions}</dd> |
7111 | 55 </dl> |
56 | |
8235
89bc3946c8f3
hgweb: use "nonempty" filter in templates for the changelog message
Rocco Rutte <pdmef@gmx.net>
parents:
7111
diff
changeset
|
57 <p class="description">{desc|strip|escape|addbreaks|nonempty}</p> |
7111 | 58 |
59 <table class="annotated"> | |
60 {annotate%annotateline} | |
61 </table> | |
62 | |
8430
8b47efdf40ee
monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8355
diff
changeset
|
63 {footer} |