annotate templates/gitweb/summary.tmpl @ 9021:2ccb527c7b1a

gendoc: fix localization of help topic When a topic provides a callable method for its text, most likely this text will be generated from different parts, so it does not make sense to apply gettext on the whole result, rather the method should provide translation by itself. This is the case with the extensions topic, which triggers a double gettext call, making the ASCII codec fail when it encounters 8 bit characters, and prevents the documentation from being built.
author Cédric Duval <cedricduval@free.fr>
date Sat, 04 Jul 2009 12:12:36 +0200
parents 1de6e7e1bb9f
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
8427
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8356
diff changeset
1 {header}
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8356
diff changeset
2 <title>{repo|escape}: Summary</title>
5269
46c5e1ee8aaa Added support for the Atom syndication format
Robert Bachmann <rbach@rbach.priv.at>
parents: 4710
diff changeset
3 <link rel="alternate" type="application/atom+xml"
8427
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8356
diff changeset
4 href="{url}atom-log" title="Atom feed for {repo|escape}"/>
1572
385b8872b8e3 [hgweb] Initial import of the "gitweb" style
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
5 <link rel="alternate" type="application/rss+xml"
8427
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8356
diff changeset
6 href="{url}rss-log" title="RSS feed for {repo|escape}"/>
1572
385b8872b8e3 [hgweb] Initial import of the "gitweb" style
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
7 </head>
385b8872b8e3 [hgweb] Initial import of the "gitweb" style
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
8 <body>
385b8872b8e3 [hgweb] Initial import of the "gitweb" style
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
9
385b8872b8e3 [hgweb] Initial import of the "gitweb" style
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
10 <div class="page_header">
8936
1de6e7e1bb9f change wiki/bts URLs to point to new hostname
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8427
diff changeset
11 <a href="http://mercurial.selenic.com/" title="Mercurial" style="float: right;">Mercurial</a><a href="{url}summary{sessionvars%urlparameter}">{repo|escape}</a> / summary
4468
d189b19936ec gitweb: Add search box to the summary page
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents: 4452
diff changeset
12
d189b19936ec gitweb: Add search box to the summary page
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents: 4452
diff changeset
13 <form action="{url}log">
d189b19936ec gitweb: Add search box to the summary page
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents: 4452
diff changeset
14 {sessionvars%hiddenformentry}
d189b19936ec gitweb: Add search box to the summary page
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents: 4452
diff changeset
15 <div class="search">
d189b19936ec gitweb: Add search box to the summary page
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents: 4452
diff changeset
16 <input type="text" name="rev" />
1572
385b8872b8e3 [hgweb] Initial import of the "gitweb" style
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
17 </div>
4468
d189b19936ec gitweb: Add search box to the summary page
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents: 4452
diff changeset
18 </form>
d189b19936ec gitweb: Add search box to the summary page
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents: 4452
diff changeset
19 </div>
d189b19936ec gitweb: Add search box to the summary page
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents: 4452
diff changeset
20
1572
385b8872b8e3 [hgweb] Initial import of the "gitweb" style
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
21 <div class="page_nav">
3271
36fa5db79dd5 hgweb: convert gitweb to NWI
Brendan Cully <brendan@kublai.com>
parents: 3246
diff changeset
22 summary |
3363
ce8f31e0b3b8 hgweb: Apply the new method of passing session variables to links.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 3355
diff changeset
23 <a href="{url}shortlog{sessionvars%urlparameter}">shortlog</a> |
ce8f31e0b3b8 hgweb: Apply the new method of passing session variables to links.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 3355
diff changeset
24 <a href="{url}log{sessionvars%urlparameter}">changelog</a> |
6693
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6177
diff changeset
25 <a href="{url}graph{sessionvars%urlparameter}">graph</a> |
3363
ce8f31e0b3b8 hgweb: Apply the new method of passing session variables to links.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 3355
diff changeset
26 <a href="{url}tags{sessionvars%urlparameter}">tags</a> |
8356
439663cd043a gitweb: add branches page
Sune Foldager <cryo@cyanite.org>
parents: 6693
diff changeset
27 <a href="{url}branches{sessionvars%urlparameter}">branches</a> |
8427
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8356
diff changeset
28 <a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a>{archives%archiveentry}
2683
8a798185809d [hgweb] Fixed up gitweb templates
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents: 2011
diff changeset
29 <br/>
1572
385b8872b8e3 [hgweb] Initial import of the "gitweb" style
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
30 </div>
385b8872b8e3 [hgweb] Initial import of the "gitweb" style
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
31
385b8872b8e3 [hgweb] Initial import of the "gitweb" style
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
32 <div class="title">&nbsp;</div>
385b8872b8e3 [hgweb] Initial import of the "gitweb" style
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
33 <table cellspacing="0">
8427
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8356
diff changeset
34 <tr><td>description</td><td>{desc}</td></tr>
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8356
diff changeset
35 <tr><td>owner</td><td>{owner|obfuscate}</td></tr>
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8356
diff changeset
36 <tr><td>last change</td><td>{lastchange|rfc822date}</td></tr>
1572
385b8872b8e3 [hgweb] Initial import of the "gitweb" style
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
37 </table>
385b8872b8e3 [hgweb] Initial import of the "gitweb" style
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
38
4710
1aba0b752847 gitweb: do not mix shortlog and changelog in summary page.
Markus F.X.J. Oberhumer <markus@oberhumer.com>
parents: 4468
diff changeset
39 <div><a class="title" href="{url}shortlog{sessionvars%urlparameter}">changes</a></div>
1572
385b8872b8e3 [hgweb] Initial import of the "gitweb" style
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
40 <table cellspacing="0">
8427
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8356
diff changeset
41 {shortlog}
4710
1aba0b752847 gitweb: do not mix shortlog and changelog in summary page.
Markus F.X.J. Oberhumer <markus@oberhumer.com>
parents: 4468
diff changeset
42 <tr class="light"><td colspan="4"><a class="list" href="{url}shortlog{sessionvars%urlparameter}">...</a></td></tr>
1572
385b8872b8e3 [hgweb] Initial import of the "gitweb" style
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
43 </table>
385b8872b8e3 [hgweb] Initial import of the "gitweb" style
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
44
3363
ce8f31e0b3b8 hgweb: Apply the new method of passing session variables to links.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 3355
diff changeset
45 <div><a class="title" href="{url}tags{sessionvars%urlparameter}">tags</a></div>
1572
385b8872b8e3 [hgweb] Initial import of the "gitweb" style
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
46 <table cellspacing="0">
8427
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8356
diff changeset
47 {tags}
3363
ce8f31e0b3b8 hgweb: Apply the new method of passing session variables to links.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 3355
diff changeset
48 <tr class="light"><td colspan="3"><a class="list" href="{url}tags{sessionvars%urlparameter}">...</a></td></tr>
1572
385b8872b8e3 [hgweb] Initial import of the "gitweb" style
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
49 </table>
385b8872b8e3 [hgweb] Initial import of the "gitweb" style
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
50
4300
05d15c456fb2 hgweb: display named branches in gitweb-style summary page
greg@maptuit.com
parents: 3499
diff changeset
51 <div><a class="title" href="#">branches</a></div>
05d15c456fb2 hgweb: display named branches in gitweb-style summary page
greg@maptuit.com
parents: 3499
diff changeset
52 <table cellspacing="0">
05d15c456fb2 hgweb: display named branches in gitweb-style summary page
greg@maptuit.com
parents: 3499
diff changeset
53 {branches%branchentry}
05d15c456fb2 hgweb: display named branches in gitweb-style summary page
greg@maptuit.com
parents: 3499
diff changeset
54 <tr class="light">
4452
94a167c3c116 gitweb: Fix summary page ellipsis line colspans
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents: 4301
diff changeset
55 <td colspan="4"><a class="list" href="#">...</a></td>
4300
05d15c456fb2 hgweb: display named branches in gitweb-style summary page
greg@maptuit.com
parents: 3499
diff changeset
56 </tr>
05d15c456fb2 hgweb: display named branches in gitweb-style summary page
greg@maptuit.com
parents: 3499
diff changeset
57 </table>
8427
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8356
diff changeset
58 {footer}