annotate templates/gitweb/summary.tmpl @ 4797:d00ca99bc54e

convert svn: minor improvement to tag detection. The better way is probably to list the latest tags directory and look up the last log message for each entry. This is surprisingly annoying to do.
author Brendan Cully <brendan@kublai.com>
date Tue, 03 Jul 2007 20:22:39 -0700
parents 1aba0b752847
children 46c5e1ee8aaa
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1572
385b8872b8e3 [hgweb] Initial import of the "gitweb" style
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
1 #header#
385b8872b8e3 [hgweb] Initial import of the "gitweb" style
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
2 <title>#repo|escape#: Summary</title>
385b8872b8e3 [hgweb] Initial import of the "gitweb" style
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
3 <link rel="alternate" type="application/rss+xml"
3270
36fa5db79dd5 hgweb: convert gitweb to NWI
Brendan Cully <brendan@kublai.com>
parents: 3246
diff changeset
4 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
5 </head>
385b8872b8e3 [hgweb] Initial import of the "gitweb" style
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
6 <body>
385b8872b8e3 [hgweb] Initial import of the "gitweb" style
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
7
385b8872b8e3 [hgweb] Initial import of the "gitweb" style
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
8 <div class="page_header">
3363
ce8f31e0b3b8 hgweb: Apply the new method of passing session variables to links.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 3355
diff changeset
9 <a href="http://www.selenic.com/mercurial/" title="Mercurial"><div style="float:right;">Mercurial</div></a><a href="{url}summary{sessionvars%urlparameter}">#repo|escape#</a> / summary
4467
d189b19936ec gitweb: Add search box to the summary page
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents: 4451
diff changeset
10
d189b19936ec gitweb: Add search box to the summary page
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents: 4451
diff changeset
11 <form action="{url}log">
d189b19936ec gitweb: Add search box to the summary page
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents: 4451
diff changeset
12 {sessionvars%hiddenformentry}
d189b19936ec gitweb: Add search box to the summary page
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents: 4451
diff changeset
13 <div class="search">
d189b19936ec gitweb: Add search box to the summary page
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents: 4451
diff changeset
14 <input type="text" name="rev" />
1572
385b8872b8e3 [hgweb] Initial import of the "gitweb" style
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
15 </div>
4467
d189b19936ec gitweb: Add search box to the summary page
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents: 4451
diff changeset
16 </form>
d189b19936ec gitweb: Add search box to the summary page
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents: 4451
diff changeset
17 </div>
d189b19936ec gitweb: Add search box to the summary page
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents: 4451
diff changeset
18
1572
385b8872b8e3 [hgweb] Initial import of the "gitweb" style
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
19 <div class="page_nav">
3270
36fa5db79dd5 hgweb: convert gitweb to NWI
Brendan Cully <brendan@kublai.com>
parents: 3246
diff changeset
20 summary |
3363
ce8f31e0b3b8 hgweb: Apply the new method of passing session variables to links.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 3355
diff changeset
21 <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
22 <a href="{url}log{sessionvars%urlparameter}">changelog</a> |
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}tags{sessionvars%urlparameter}">tags</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}file/#node|short#{sessionvars%urlparameter}">manifest</a>#archives%archiveentry#
2683
8a798185809d [hgweb] Fixed up gitweb templates
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents: 2011
diff changeset
25 <br/>
1572
385b8872b8e3 [hgweb] Initial import of the "gitweb" style
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
26 </div>
385b8872b8e3 [hgweb] Initial import of the "gitweb" style
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
27
385b8872b8e3 [hgweb] Initial import of the "gitweb" style
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
28 <div class="title">&nbsp;</div>
385b8872b8e3 [hgweb] Initial import of the "gitweb" style
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
29 <table cellspacing="0">
2011
b4df4687a78a don't overquote description on gitweb summary page (issue 184)
TK Soh <teekaysoh@yahoo.com>
parents: 1652
diff changeset
30 <tr><td>description</td><td>#desc#</td></tr>
1650
f2ebd5251e88 changed template escape filter, added urlescape filter; audited all templates for insertion bugs; added note to manifest.py about newlines in filenames
Peter van Dijk <peter@dataloss.nl>
parents: 1577
diff changeset
31 <tr><td>owner</td><td>#owner|escape#</td></tr>
3355
c10eacad7171 gitweb: fix last change field in summary
Brendan Cully <brendan@kublai.com>
parents: 3270
diff changeset
32 <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
33 </table>
385b8872b8e3 [hgweb] Initial import of the "gitweb" style
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
34
4710
1aba0b752847 gitweb: do not mix shortlog and changelog in summary page.
Markus F.X.J. Oberhumer <markus@oberhumer.com>
parents: 4467
diff changeset
35 <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
36 <table cellspacing="0">
1652
f910437af806 unbreak templates/summary-gitweb.tmpl
Peter van Dijk <peter@dataloss.nl>
parents: 1650
diff changeset
37 #shortlog#
4710
1aba0b752847 gitweb: do not mix shortlog and changelog in summary page.
Markus F.X.J. Oberhumer <markus@oberhumer.com>
parents: 4467
diff changeset
38 <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
39 </table>
385b8872b8e3 [hgweb] Initial import of the "gitweb" style
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
40
3363
ce8f31e0b3b8 hgweb: Apply the new method of passing session variables to links.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 3355
diff changeset
41 <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
42 <table cellspacing="0">
385b8872b8e3 [hgweb] Initial import of the "gitweb" style
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
43 #tags#
3363
ce8f31e0b3b8 hgweb: Apply the new method of passing session variables to links.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 3355
diff changeset
44 <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
45 </table>
385b8872b8e3 [hgweb] Initial import of the "gitweb" style
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
46
4300
05d15c456fb2 hgweb: display named branches in gitweb-style summary page
greg@maptuit.com
parents: 3493
diff changeset
47 <div><a class="title" href="#">branches</a></div>
05d15c456fb2 hgweb: display named branches in gitweb-style summary page
greg@maptuit.com
parents: 3493
diff changeset
48 <table cellspacing="0">
05d15c456fb2 hgweb: display named branches in gitweb-style summary page
greg@maptuit.com
parents: 3493
diff changeset
49 {branches%branchentry}
05d15c456fb2 hgweb: display named branches in gitweb-style summary page
greg@maptuit.com
parents: 3493
diff changeset
50 <tr class="light">
4451
94a167c3c116 gitweb: Fix summary page ellipsis line colspans
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents: 4301
diff changeset
51 <td colspan="4"><a class="list" href="#">...</a></td>
4300
05d15c456fb2 hgweb: display named branches in gitweb-style summary page
greg@maptuit.com
parents: 3493
diff changeset
52 </tr>
05d15c456fb2 hgweb: display named branches in gitweb-style summary page
greg@maptuit.com
parents: 3493
diff changeset
53 </table>
1572
385b8872b8e3 [hgweb] Initial import of the "gitweb" style
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
54 #footer#