annotate mercurial/templates/monoblue/map @ 22026:6966542768ff

filemerge: allow the formatting of three labels instead of two When a third label is provided (to included the base content) it is properly processed as the two others. Nothing changes if only two labels are provided.
author Pierre-Yves David <pierre-yves.david@fb.com>
date Tue, 05 Aug 2014 15:17:38 -0700
parents 0bba1ff2ac7b
children 9e1f4c65f5f5
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7111
91b0ada2d94b added monoblue hgweb theme
Hiroshi Funai <hfunai@gmail.com>
parents:
diff changeset
1 default = 'summary'
91b0ada2d94b added monoblue hgweb theme
Hiroshi Funai <hfunai@gmail.com>
parents:
diff changeset
2 mimetype = 'text/html; charset={encoding}'
91b0ada2d94b added monoblue hgweb theme
Hiroshi Funai <hfunai@gmail.com>
parents:
diff changeset
3 header = header.tmpl
91b0ada2d94b added monoblue hgweb theme
Hiroshi Funai <hfunai@gmail.com>
parents:
diff changeset
4 footer = footer.tmpl
91b0ada2d94b added monoblue hgweb theme
Hiroshi Funai <hfunai@gmail.com>
parents:
diff changeset
5 search = search.tmpl
91b0ada2d94b added monoblue hgweb theme
Hiroshi Funai <hfunai@gmail.com>
parents:
diff changeset
6 changelog = changelog.tmpl
91b0ada2d94b added monoblue hgweb theme
Hiroshi Funai <hfunai@gmail.com>
parents:
diff changeset
7 summary = summary.tmpl
91b0ada2d94b added monoblue hgweb theme
Hiroshi Funai <hfunai@gmail.com>
parents:
diff changeset
8 error = error.tmpl
91b0ada2d94b added monoblue hgweb theme
Hiroshi Funai <hfunai@gmail.com>
parents:
diff changeset
9 notfound = notfound.tmpl
12666
ead4e21f49f1 web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents: 10254
diff changeset
10
ead4e21f49f1 web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents: 10254
diff changeset
11 help = help.tmpl
ead4e21f49f1 web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents: 10254
diff changeset
12 helptopics = helptopics.tmpl
ead4e21f49f1 web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents: 10254
diff changeset
13
18745
3c7c25fa58e0 hgweb help: split up long lines (in generated output)
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents: 18526
diff changeset
14 helpentry = '
3c7c25fa58e0 hgweb help: split up long lines (in generated output)
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents: 18526
diff changeset
15 <tr><td>
3c7c25fa58e0 hgweb help: split up long lines (in generated output)
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents: 18526
diff changeset
16 <a href="{url|urlescape}help/{topic|escape}{sessionvars%urlparameter}">
3c7c25fa58e0 hgweb help: split up long lines (in generated output)
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents: 18526
diff changeset
17 {topic|escape}
3c7c25fa58e0 hgweb help: split up long lines (in generated output)
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents: 18526
diff changeset
18 </a>
3c7c25fa58e0 hgweb help: split up long lines (in generated output)
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents: 18526
diff changeset
19 </td><td>
3c7c25fa58e0 hgweb help: split up long lines (in generated output)
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents: 18526
diff changeset
20 {summary|escape}
3c7c25fa58e0 hgweb help: split up long lines (in generated output)
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents: 18526
diff changeset
21 </td></tr>'
12666
ead4e21f49f1 web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents: 10254
diff changeset
22
18526
9409aeaafdc1 hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents: 18258
diff changeset
23 naventry = '<a href="{url|urlescape}log/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
9409aeaafdc1 hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents: 18258
diff changeset
24 navshortentry = '<a href="{url|urlescape}shortlog/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
9409aeaafdc1 hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents: 18258
diff changeset
25 navgraphentry = '<a href="{url|urlescape}graph/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
9409aeaafdc1 hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents: 18258
diff changeset
26 filenaventry = '<a href="{url|urlescape}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{label|escape}</a>'
9409aeaafdc1 hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents: 18258
diff changeset
27 filedifflink = '<a href="{url|urlescape}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}</a> '
8375
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
28 filenodelink = '
8430
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
29 <tr class="parity{parity}">
18526
9409aeaafdc1 hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents: 18258
diff changeset
30 <td><a href="{url|urlescape}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}</a></td>
8375
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
31 <td></td>
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
32 <td>
18526
9409aeaafdc1 hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents: 18258
diff changeset
33 <a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file</a> |
9409aeaafdc1 hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents: 18258
diff changeset
34 <a href="{url|urlescape}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a> |
9409aeaafdc1 hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents: 18258
diff changeset
35 <a href="{url|urlescape}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">diff</a> |
9409aeaafdc1 hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents: 18258
diff changeset
36 <a href="{url|urlescape}comparison/{node|short}/{file|urlescape}{sessionvars%urlparameter}">comparison</a> |
9409aeaafdc1 hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents: 18258
diff changeset
37 <a href="{url|urlescape}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">revisions</a>
8375
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
38 </td>
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
39 </tr>'
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
40 filenolink = '
8430
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
41 <tr class="parity{parity}">
18526
9409aeaafdc1 hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents: 18258
diff changeset
42 <td><a href="{url|urlescape}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}</a></td>
14307
d5a65e3ee6b1 monoblue: improve readability of the filenolink template
Steven Brown <StevenGBrown@gmail.com>
parents: 14046
diff changeset
43 <td></td>
8375
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
44 <td>
14307
d5a65e3ee6b1 monoblue: improve readability of the filenolink template
Steven Brown <StevenGBrown@gmail.com>
parents: 14046
diff changeset
45 file |
8375
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
46 annotate |
18526
9409aeaafdc1 hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents: 18258
diff changeset
47 <a href="{url|urlescape}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">diff</a> |
9409aeaafdc1 hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents: 18258
diff changeset
48 <a href="{url|urlescape}comparison/{node|short}/{file|urlescape}{sessionvars%urlparameter}">comparison</a> |
9409aeaafdc1 hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents: 18258
diff changeset
49 <a href="{url|urlescape}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">revisions</a>
8375
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
50 </td>
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
51 </tr>'
10254
8d5de52431f2 hgweb: changenav: separate pages before and after the current position
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 9999
diff changeset
52
8d5de52431f2 hgweb: changenav: separate pages before and after the current position
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 9999
diff changeset
53 nav = '{before%naventry} {after%naventry}'
8d5de52431f2 hgweb: changenav: separate pages before and after the current position
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 9999
diff changeset
54 navshort = '{before%navshortentry}{after%navshortentry}'
8d5de52431f2 hgweb: changenav: separate pages before and after the current position
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 9999
diff changeset
55 navgraph = '{before%navgraphentry}{after%navgraphentry}'
8d5de52431f2 hgweb: changenav: separate pages before and after the current position
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 9999
diff changeset
56 filenav = '{before%filenaventry}{after%filenaventry}'
8d5de52431f2 hgweb: changenav: separate pages before and after the current position
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 9999
diff changeset
57
7111
91b0ada2d94b added monoblue hgweb theme
Hiroshi Funai <hfunai@gmail.com>
parents:
diff changeset
58 fileellipses = '...'
91b0ada2d94b added monoblue hgweb theme
Hiroshi Funai <hfunai@gmail.com>
parents:
diff changeset
59 changelogentry = changelogentry.tmpl
91b0ada2d94b added monoblue hgweb theme
Hiroshi Funai <hfunai@gmail.com>
parents:
diff changeset
60 searchentry = changelogentry.tmpl
91b0ada2d94b added monoblue hgweb theme
Hiroshi Funai <hfunai@gmail.com>
parents:
diff changeset
61 changeset = changeset.tmpl
91b0ada2d94b added monoblue hgweb theme
Hiroshi Funai <hfunai@gmail.com>
parents:
diff changeset
62 manifest = manifest.tmpl
8375
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
63 direntry = '
8430
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
64 <tr class="parity{parity}">
8375
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
65 <td>drwxr-xr-x</td>
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
66 <td></td>
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
67 <td></td>
18526
9409aeaafdc1 hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents: 18258
diff changeset
68 <td><a href="{url|urlescape}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">{basename|escape}</a></td>
9409aeaafdc1 hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents: 18258
diff changeset
69 <td><a href="{url|urlescape}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">files</a></td>
8375
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
70 </tr>'
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
71 fileentry = '
8430
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
72 <tr class="parity{parity}">
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
73 <td>{permissions|permissions}</td>
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
74 <td>{date|isodate}</td>
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
75 <td>{size}</td>
18526
9409aeaafdc1 hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents: 18258
diff changeset
76 <td><a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{basename|escape}</a></td>
8375
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
77 <td>
18526
9409aeaafdc1 hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents: 18258
diff changeset
78 <a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file</a> |
9409aeaafdc1 hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents: 18258
diff changeset
79 <a href="{url|urlescape}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">revisions</a> |
9409aeaafdc1 hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents: 18258
diff changeset
80 <a href="{url|urlescape}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a>
8375
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
81 </td>
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
82 </tr>'
7111
91b0ada2d94b added monoblue hgweb theme
Hiroshi Funai <hfunai@gmail.com>
parents:
diff changeset
83 filerevision = filerevision.tmpl
91b0ada2d94b added monoblue hgweb theme
Hiroshi Funai <hfunai@gmail.com>
parents:
diff changeset
84 fileannotate = fileannotate.tmpl
91b0ada2d94b added monoblue hgweb theme
Hiroshi Funai <hfunai@gmail.com>
parents:
diff changeset
85 filediff = filediff.tmpl
17202
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 16577
diff changeset
86 filecomparison = filecomparison.tmpl
7111
91b0ada2d94b added monoblue hgweb theme
Hiroshi Funai <hfunai@gmail.com>
parents:
diff changeset
87 filelog = filelog.tmpl
8487
338412820a57 gitweb, monoblue: break long line in map file
Martin Geisler <mg@lazybytes.net>
parents: 8430
diff changeset
88 fileline = '
338412820a57 gitweb, monoblue: break long line in map file
Martin Geisler <mg@lazybytes.net>
parents: 8430
diff changeset
89 <div style="font-family:monospace" class="parity{parity}">
9113
f439d82f018c gitweb, monoblue: fix double-spacing in file view (issue1733)
Martin Geisler <mg@lazybytes.net>
parents: 8713
diff changeset
90 <pre><a class="linenr" href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}</pre>
8487
338412820a57 gitweb, monoblue: break long line in map file
Martin Geisler <mg@lazybytes.net>
parents: 8430
diff changeset
91 </div>'
8375
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
92 annotateline = '
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
93 <tr class="parity{parity}">
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
94 <td class="linenr">
18526
9409aeaafdc1 hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents: 18258
diff changeset
95 <a href="{url|urlescape}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}#l{targetline}"
12666
ead4e21f49f1 web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents: 10254
diff changeset
96 title="{node|short}: {desc|escape|firstline}">{author|user}@{rev}</a>
8375
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
97 </td>
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
98 <td class="lineno">
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
99 <a href="#{lineid}" id="{lineid}">{linenumber}</a>
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
100 </td>
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
101 <td class="source">{line|escape}</td>
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
102 </tr>'
8430
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
103 difflineplus = '<span style="color:#008800;"><a class="linenr" href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}</span>'
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
104 difflineminus = '<span style="color:#cc0000;"><a class="linenr" href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}</span>'
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
105 difflineat = '<span style="color:#990099;"><a class="linenr" href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}</span>'
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
106 diffline = '<span><a class="linenr" href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}</span>'
17202
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 16577
diff changeset
107
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 16577
diff changeset
108 comparisonblock ='
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 16577
diff changeset
109 <tbody class="block">
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 16577
diff changeset
110 {lines}
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 16577
diff changeset
111 </tbody>'
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 16577
diff changeset
112 comparisonline = '
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 16577
diff changeset
113 <tr>
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 16577
diff changeset
114 <td class="source {type}"><a class="linenr" href="#{lineid}" id="{lineid}">{leftlinenumber}</a> {leftline|escape}</td>
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 16577
diff changeset
115 <td class="source {type}"><a class="linenr" href="#{lineid}" id="{lineid}">{rightlinenumber}</a> {rightline|escape}</td>
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 16577
diff changeset
116 </tr>'
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 16577
diff changeset
117
8375
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
118 changelogparent = '
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
119 <tr>
8430
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
120 <th class="parent">parent {rev}:</th>
8375
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
121 <td class="parent">
18526
9409aeaafdc1 hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents: 18258
diff changeset
122 <a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a>
8375
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
123 </td>
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
124 </tr>'
18526
9409aeaafdc1 hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents: 18258
diff changeset
125 changesetbranch = '<dt>branch</dt><dd>{name|escape}</dd>'
8375
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
126 changesetparent = '
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
127 <dt>parent {rev}</dt>
18526
9409aeaafdc1 hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents: 18258
diff changeset
128 <dd><a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></dd>'
9409aeaafdc1 hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents: 18258
diff changeset
129 filerevbranch = '<dt>branch</dt><dd>{name|escape}</dd>'
8375
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
130 filerevparent = '
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
131 <dt>parent {rev}</dt>
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
132 <dd>
18526
9409aeaafdc1 hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents: 18258
diff changeset
133 <a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">
8375
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
134 {rename%filerename}{node|short}
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
135 </a>
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
136 </dd>'
7111
91b0ada2d94b added monoblue hgweb theme
Hiroshi Funai <hfunai@gmail.com>
parents:
diff changeset
137 filerename = '{file|escape}@'
18526
9409aeaafdc1 hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents: 18258
diff changeset
138 filelogrename = '| <a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">base</a>'
8375
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
139 fileannotateparent = '
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
140 <dt>parent {rev}</dt>
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
141 <dd>
18526
9409aeaafdc1 hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents: 18258
diff changeset
142 <a href="{url|urlescape}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">
8375
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
143 {rename%filerename}{node|short}
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
144 </a>
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
145 </dd>'
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
146 changelogchild = '
8430
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
147 <dt>child {rev}:</dt>
18526
9409aeaafdc1 hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents: 18258
diff changeset
148 <dd><a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></dd>'
8375
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
149 changesetchild = '
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
150 <dt>child {rev}</dt>
18526
9409aeaafdc1 hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents: 18258
diff changeset
151 <dd><a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></dd>'
8375
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
152 filerevchild = '
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
153 <dt>child {rev}</dt>
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
154 <dd>
18526
9409aeaafdc1 hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents: 18258
diff changeset
155 <a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a>
8375
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
156 </dd>'
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
157 fileannotatechild = '
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
158 <dt>child {rev}</dt>
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
159 <dd>
18526
9409aeaafdc1 hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents: 18258
diff changeset
160 <a href="{url|urlescape}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a>
8375
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
161 </dd>'
7111
91b0ada2d94b added monoblue hgweb theme
Hiroshi Funai <hfunai@gmail.com>
parents:
diff changeset
162 tags = tags.tmpl
8375
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
163 tagentry = '
8430
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
164 <tr class="parity{parity}">
15375
fe9d36a6853e hgweb: fix dynamic date calculation not working under Safari
Brodie Rao <brodie@bitheap.org>
parents: 14307
diff changeset
165 <td class="nowrap age">{date|rfc822date}</td>
18526
9409aeaafdc1 hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents: 18258
diff changeset
166 <td><a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{tag|escape}</a></td>
8375
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
167 <td class="nowrap">
18526
9409aeaafdc1 hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents: 18258
diff changeset
168 <a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">changeset</a> |
9409aeaafdc1 hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents: 18258
diff changeset
169 <a href="{url|urlescape}log/{node|short}{sessionvars%urlparameter}">changelog</a> |
9409aeaafdc1 hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents: 18258
diff changeset
170 <a href="{url|urlescape}file/{node|short}{sessionvars%urlparameter}">files</a>
8375
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
171 </td>
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
172 </tr>'
13860
b5b84dd43613 hgweb: add separate bookmarks listing to monoblue theme (based on 38c9837b1f75)
Yuya Nishihara <yuya@tcha.org>
parents: 13794
diff changeset
173 bookmarks = bookmarks.tmpl
b5b84dd43613 hgweb: add separate bookmarks listing to monoblue theme (based on 38c9837b1f75)
Yuya Nishihara <yuya@tcha.org>
parents: 13794
diff changeset
174 bookmarkentry = '
b5b84dd43613 hgweb: add separate bookmarks listing to monoblue theme (based on 38c9837b1f75)
Yuya Nishihara <yuya@tcha.org>
parents: 13794
diff changeset
175 <tr class="parity{parity}">
15375
fe9d36a6853e hgweb: fix dynamic date calculation not working under Safari
Brodie Rao <brodie@bitheap.org>
parents: 14307
diff changeset
176 <td class="nowrap date">{date|rfc822date}</td>
18526
9409aeaafdc1 hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents: 18258
diff changeset
177 <td><a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{bookmark|escape}</a></td>
13860
b5b84dd43613 hgweb: add separate bookmarks listing to monoblue theme (based on 38c9837b1f75)
Yuya Nishihara <yuya@tcha.org>
parents: 13794
diff changeset
178 <td class="nowrap">
18526
9409aeaafdc1 hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents: 18258
diff changeset
179 <a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">changeset</a> |
9409aeaafdc1 hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents: 18258
diff changeset
180 <a href="{url|urlescape}log/{node|short}{sessionvars%urlparameter}">changelog</a> |
9409aeaafdc1 hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents: 18258
diff changeset
181 <a href="{url|urlescape}file/{node|short}{sessionvars%urlparameter}">files</a>
13860
b5b84dd43613 hgweb: add separate bookmarks listing to monoblue theme (based on 38c9837b1f75)
Yuya Nishihara <yuya@tcha.org>
parents: 13794
diff changeset
182 </td>
b5b84dd43613 hgweb: add separate bookmarks listing to monoblue theme (based on 38c9837b1f75)
Yuya Nishihara <yuya@tcha.org>
parents: 13794
diff changeset
183 </tr>'
8355
5ba798f339c8 monoblue: add branches page
Sune Foldager <cryo@cyanite.org>
parents: 8235
diff changeset
184 branches = branches.tmpl
8375
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
185 branchentry = '
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
186 <tr class="parity{parity}">
15375
fe9d36a6853e hgweb: fix dynamic date calculation not working under Safari
Brodie Rao <brodie@bitheap.org>
parents: 14307
diff changeset
187 <td class="nowrap age">{date|rfc822date}</td>
18526
9409aeaafdc1 hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents: 18258
diff changeset
188 <td><a href="{url|urlescape}shortlog/{node|short}{sessionvars%urlparameter}">{node|short}</a></td>
8713
de6bb29e208a hgweb: allow distinction between open/closed branches on branches page
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8487
diff changeset
189 <td class="{status}">{branch|escape}</td>
8375
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
190 <td class="nowrap">
18526
9409aeaafdc1 hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents: 18258
diff changeset
191 <a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">changeset</a> |
9409aeaafdc1 hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents: 18258
diff changeset
192 <a href="{url|urlescape}log/{node|short}{sessionvars%urlparameter}">changelog</a> |
9409aeaafdc1 hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents: 18258
diff changeset
193 <a href="{url|urlescape}file/{node|short}{sessionvars%urlparameter}">files</a>
8375
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
194 </td>
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
195 </tr>'
8430
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
196 diffblock = '<pre>{lines}</pre>'
8375
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
197 filediffparent = '
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
198 <dt>parent {rev}</dt>
18526
9409aeaafdc1 hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents: 18258
diff changeset
199 <dd><a href="{url|urlescape}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></dd>'
17202
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 16577
diff changeset
200 filecompparent = '
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 16577
diff changeset
201 <dt>parent {rev}</dt>
18526
9409aeaafdc1 hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents: 18258
diff changeset
202 <dd><a href="{url|urlescape}comparison/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></dd>'
8375
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
203 filelogparent = '
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
204 <tr>
8430
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
205 <td align="right">parent {rev}:&nbsp;</td>
18526
9409aeaafdc1 hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents: 18258
diff changeset
206 <td><a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td>
8375
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
207 </tr>'
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
208 filediffchild = '
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
209 <dt>child {rev}</dt>
18526
9409aeaafdc1 hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents: 18258
diff changeset
210 <dd><a href="{url|urlescape}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></dd>'
17202
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 16577
diff changeset
211 filecompchild = '
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 16577
diff changeset
212 <dt>child {rev}</dt>
18526
9409aeaafdc1 hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents: 18258
diff changeset
213 <dd><a href="{url|urlescape}comparison/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></dd>'
8375
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
214 filelogchild = '
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
215 <tr>
8430
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
216 <td align="right">child {rev}:&nbsp;</td>
18526
9409aeaafdc1 hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents: 18258
diff changeset
217 <td><a href="{url|urlescape}file{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td>
8375
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
218 </tr>'
7111
91b0ada2d94b added monoblue hgweb theme
Hiroshi Funai <hfunai@gmail.com>
parents:
diff changeset
219 shortlog = shortlog.tmpl
18526
9409aeaafdc1 hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents: 18258
diff changeset
220 tagtag = '<span class="tagtag" title="{name|escape}">{name|escape}</span> '
9409aeaafdc1 hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents: 18258
diff changeset
221 branchtag = '<span class="branchtag" title="{name|escape}">{name|escape}</span> '
9409aeaafdc1 hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents: 18258
diff changeset
222 inbranchtag = '<span class="inbranchtag" title="{name|escape}">{name|escape}</span> '
9409aeaafdc1 hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents: 18258
diff changeset
223 bookmarktag = '<span class="bookmarktag" title="{name|escape}">{name|escape}</span> '
8375
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
224 shortlogentry = '
8430
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
225 <tr class="parity{parity}">
15375
fe9d36a6853e hgweb: fix dynamic date calculation not working under Safari
Brodie Rao <brodie@bitheap.org>
parents: 14307
diff changeset
226 <td class="nowrap age">{date|rfc822date}</td>
8430
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
227 <td>{author|person}</td>
8375
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
228 <td>
18526
9409aeaafdc1 hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents: 18258
diff changeset
229 <a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">
8430
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
230 {desc|strip|firstline|escape|nonempty}
13794
5c18a0bca26f hgweb: add bookmark labels to monoblue theme (based on 270f57d35525)
Yuya Nishihara <yuya@tcha.org>
parents: 12666
diff changeset
231 <span class="logtags">{inbranch%inbranchtag}{branches%branchtag}{tags%tagtag}{bookmarks%bookmarktag}</span>
8375
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
232 </a>
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
233 </td>
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
234 <td class="nowrap">
18526
9409aeaafdc1 hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents: 18258
diff changeset
235 <a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">changeset</a> |
9409aeaafdc1 hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents: 18258
diff changeset
236 <a href="{url|urlescape}file/{node|short}{sessionvars%urlparameter}">files</a>
8375
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
237 </td>
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
238 </tr>'
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
239 filelogentry = '
8430
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
240 <tr class="parity{parity}">
15375
fe9d36a6853e hgweb: fix dynamic date calculation not working under Safari
Brodie Rao <brodie@bitheap.org>
parents: 14307
diff changeset
241 <td class="nowrap age">{date|rfc822date}</td>
18526
9409aeaafdc1 hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents: 18258
diff changeset
242 <td><a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{desc|strip|firstline|escape|nonempty}</a></td>
8375
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
243 <td class="nowrap">
18526
9409aeaafdc1 hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents: 18258
diff changeset
244 <a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file</a>&nbsp;|&nbsp;<a href="{url|urlescape}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">diff</a>&nbsp;|&nbsp;<a href="{url|urlescape}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a>
8430
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
245 {rename%filelogrename}
8375
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
246 </td>
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
247 </tr>'
18772
0bba1ff2ac7b hgweb: change manifest archive links to only archive the current directory
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 18745
diff changeset
248 archiveentry = '<li><a href="{url|urlescape}archive/{node|short}{extension}{ifeq(path,'/','',path|urlescape)}">{type|escape}</a></li>'
8375
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
249 indexentry = '
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
250 <tr class="parity{parity}">
18526
9409aeaafdc1 hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents: 18258
diff changeset
251 <td><a href="{url|urlescape}{sessionvars%urlparameter}">{name|escape}</a></td>
8375
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
252 <td>{description}</td>
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
253 <td>{contact|obfuscate}</td>
15375
fe9d36a6853e hgweb: fix dynamic date calculation not working under Safari
Brodie Rao <brodie@bitheap.org>
parents: 14307
diff changeset
254 <td class="age">{lastchange|rfc822date}</td>
8375
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
255 <td class="indexlinks">{archives%indexarchiveentry}</td>
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
256 <td>
18046
40374059d227 hgwebdir: do not show RSS and Atom links for plain directories
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17302
diff changeset
257 {if(isdirectory, '',
40374059d227 hgwebdir: do not show RSS and Atom links for plain directories
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17302
diff changeset
258 '<div class="rss_logo">
18526
9409aeaafdc1 hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents: 18258
diff changeset
259 <a href="{url|urlescape}rss-log">RSS</a> <a href="{url|urlescape}atom-log">Atom</a>
18046
40374059d227 hgwebdir: do not show RSS and Atom links for plain directories
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17302
diff changeset
260 </div>'
40374059d227 hgwebdir: do not show RSS and Atom links for plain directories
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17302
diff changeset
261 )}
8375
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
262 </td>
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
263 </tr>\n'
18526
9409aeaafdc1 hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents: 18258
diff changeset
264 indexarchiveentry = '<a href="{url|urlescape}archive/{node|short}{extension}">{type|escape}</a> '
7111
91b0ada2d94b added monoblue hgweb theme
Hiroshi Funai <hfunai@gmail.com>
parents:
diff changeset
265 index = index.tmpl
8430
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
266 urlparameter = '{separator}{name}={value|urlescape}'
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
267 hiddenformentry = '<input type="hidden" name="{name}" value="{value|escape}" />'
7111
91b0ada2d94b added monoblue hgweb theme
Hiroshi Funai <hfunai@gmail.com>
parents:
diff changeset
268 graph = graph.tmpl
18526
9409aeaafdc1 hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents: 18258
diff changeset
269 breadcrumb = '&gt; <a href="{url|urlescape}">{name|escape}</a> '