Mercurial > hg
annotate mercurial/templates/gitweb/map @ 29522:9c37df347485
hgweb: add link to parents of annotated revision in annotate view
The link is embedded into a div with class="annotate-info" that only shows up
upon hover of the annotate column. To avoid duplicate hover-overs (this new
one and the one coming from link's title), drop "title" attribute from a
element and put it in the annotate-info element.
author | Denis Laxalde <denis.laxalde@logilab.fr> |
---|---|
date | Tue, 28 Jun 2016 11:42:42 +0200 |
parents | f694e20193f2 |
children | 4b6afd1b445a |
rev | line source |
---|---|
1901
c64bef3d7043
use safer string parser for template engine.
Vadim Gelfer <vadim.gelfer@gmail.com>
parents:
1668
diff
changeset
|
1 default = 'summary' |
5928
3340aa5a64f7
hgweb: move HTTP content types out of header templates
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
5834
diff
changeset
|
2 mimetype = 'text/html; charset={encoding}' |
3277
105253b30239
Moved hgweb map-* files into their style directories and adjusted them.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
3271
diff
changeset
|
3 header = header.tmpl |
105253b30239
Moved hgweb map-* files into their style directories and adjusted them.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
3271
diff
changeset
|
4 footer = footer.tmpl |
105253b30239
Moved hgweb map-* files into their style directories and adjusted them.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
3271
diff
changeset
|
5 search = search.tmpl |
105253b30239
Moved hgweb map-* files into their style directories and adjusted them.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
3271
diff
changeset
|
6 changelog = changelog.tmpl |
105253b30239
Moved hgweb map-* files into their style directories and adjusted them.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
3271
diff
changeset
|
7 summary = summary.tmpl |
105253b30239
Moved hgweb map-* files into their style directories and adjusted them.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
3271
diff
changeset
|
8 error = error.tmpl |
4842
d39776752a1f
gitweb: add notfound template
Brendan Cully <brendan@kublai.com>
parents:
4705
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}"> |
27579
8e8b3371bee1
templates: differentiate between partial and full topic name
Gregory Szorc <gregory.szorc@gmail.com>
parents:
26670
diff
changeset
|
17 {if(basename, '{basename|escape}', '{topic|escape}')} |
18745
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> ' |
8374
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
28 filenodelink = ' |
8427
cebdfdcc3e42
git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8374
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 class="list" href="{url|urlescape}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}</a></td> |
8374
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
31 <td></td> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
32 <td class="link"> |
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> |
8374
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
38 </td> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
39 </tr>' |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
40 filenolink = ' |
8427
cebdfdcc3e42
git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8374
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 class="list" href="{url|urlescape}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}</a></td> |
8374
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
43 <td></td> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
44 <td class="link"> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
45 file | |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
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> |
8374
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
50 </td> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
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 |
1901
c64bef3d7043
use safer string parser for template engine.
Vadim Gelfer <vadim.gelfer@gmail.com>
parents:
1668
diff
changeset
|
58 fileellipses = '...' |
3277
105253b30239
Moved hgweb map-* files into their style directories and adjusted them.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
3271
diff
changeset
|
59 changelogentry = changelogentry.tmpl |
105253b30239
Moved hgweb map-* files into their style directories and adjusted them.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
3271
diff
changeset
|
60 searchentry = changelogentry.tmpl |
105253b30239
Moved hgweb map-* files into their style directories and adjusted them.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
3271
diff
changeset
|
61 changeset = changeset.tmpl |
105253b30239
Moved hgweb map-* files into their style directories and adjusted them.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
3271
diff
changeset
|
62 manifest = manifest.tmpl |
8374
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
63 direntry = ' |
8427
cebdfdcc3e42
git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8374
diff
changeset
|
64 <tr class="parity{parity}"> |
8374
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
65 <td style="font-family:monospace">drwxr-xr-x</td> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
66 <td style="font-family:monospace"></td> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
67 <td style="font-family:monospace"></td> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
68 <td> |
25605
dd89304687a3
hgweb: don't dereference symbolic revision in gitweb style
Anton Shestakov <av6@dwimlabs.net>
parents:
25123
diff
changeset
|
69 <a href="{url|urlescape}file/{symrev}{path|urlescape}{sessionvars%urlparameter}">{basename|escape}</a> |
dd89304687a3
hgweb: don't dereference symbolic revision in gitweb style
Anton Shestakov <av6@dwimlabs.net>
parents:
25123
diff
changeset
|
70 <a href="{url|urlescape}file/{symrev}{path|urlescape}/{emptydirs|urlescape}{sessionvars%urlparameter}">{emptydirs|escape}</a> |
8374
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
71 </td> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
72 <td class="link"> |
25605
dd89304687a3
hgweb: don't dereference symbolic revision in gitweb style
Anton Shestakov <av6@dwimlabs.net>
parents:
25123
diff
changeset
|
73 <a href="{url|urlescape}file/{symrev}{path|urlescape}{sessionvars%urlparameter}">files</a> |
8374
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
74 </td> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
75 </tr>' |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
76 fileentry = ' |
8427
cebdfdcc3e42
git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8374
diff
changeset
|
77 <tr class="parity{parity}"> |
cebdfdcc3e42
git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8374
diff
changeset
|
78 <td style="font-family:monospace">{permissions|permissions}</td> |
cebdfdcc3e42
git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8374
diff
changeset
|
79 <td style="font-family:monospace" align=right>{date|isodate}</td> |
cebdfdcc3e42
git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8374
diff
changeset
|
80 <td style="font-family:monospace" align=right>{size}</td> |
8374
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
81 <td class="list"> |
25605
dd89304687a3
hgweb: don't dereference symbolic revision in gitweb style
Anton Shestakov <av6@dwimlabs.net>
parents:
25123
diff
changeset
|
82 <a class="list" href="{url|urlescape}file/{symrev}/{file|urlescape}{sessionvars%urlparameter}">{basename|escape}</a> |
8374
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
83 </td> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
84 <td class="link"> |
25605
dd89304687a3
hgweb: don't dereference symbolic revision in gitweb style
Anton Shestakov <av6@dwimlabs.net>
parents:
25123
diff
changeset
|
85 <a href="{url|urlescape}file/{symrev}/{file|urlescape}{sessionvars%urlparameter}">file</a> | |
dd89304687a3
hgweb: don't dereference symbolic revision in gitweb style
Anton Shestakov <av6@dwimlabs.net>
parents:
25123
diff
changeset
|
86 <a href="{url|urlescape}log/{symrev}/{file|urlescape}{sessionvars%urlparameter}">revisions</a> | |
dd89304687a3
hgweb: don't dereference symbolic revision in gitweb style
Anton Shestakov <av6@dwimlabs.net>
parents:
25123
diff
changeset
|
87 <a href="{url|urlescape}annotate/{symrev}/{file|urlescape}{sessionvars%urlparameter}">annotate</a> |
8374
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
88 </td> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
89 </tr>' |
3277
105253b30239
Moved hgweb map-* files into their style directories and adjusted them.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
3271
diff
changeset
|
90 filerevision = filerevision.tmpl |
105253b30239
Moved hgweb map-* files into their style directories and adjusted them.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
3271
diff
changeset
|
91 fileannotate = fileannotate.tmpl |
3353
2edf53386d86
gitweb: add file diff view
Brendan Cully <brendan@kublai.com>
parents:
3305
diff
changeset
|
92 filediff = filediff.tmpl |
17202
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
15375
diff
changeset
|
93 filecomparison = filecomparison.tmpl |
3277
105253b30239
Moved hgweb map-* files into their style directories and adjusted them.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
3271
diff
changeset
|
94 filelog = filelog.tmpl |
8487
338412820a57
gitweb, monoblue: break long line in map file
Martin Geisler <mg@lazybytes.net>
parents:
8427
diff
changeset
|
95 fileline = ' |
26670
ab2cd800f1b0
gitweb: visually highlight source lines when hovering over line numbers
Anton Shestakov <av6@dwimlabs.net>
parents:
26390
diff
changeset
|
96 <a href="#{lineid}"></a><span id="{lineid}">{strip(line|escape, '\r\n')}</span>' |
8374
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
97 annotateline = ' |
29387
6b77adc2c7b5
hgweb: highlight data of the current revision in annotate view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
27579
diff
changeset
|
98 <tr id="{lineid}" style="font-family:monospace" class="parity{parity}{ifeq(node, originalnode, ' thisrev')}"> |
29522
9c37df347485
hgweb: add link to parents of annotated revision in annotate view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
29388
diff
changeset
|
99 <td class="annotate linenr" style="text-align: right;"> |
29388
f694e20193f2
hgweb: display blamed revision once per block in annotate view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
29387
diff
changeset
|
100 {if(blockhead, |
29522
9c37df347485
hgweb: add link to parents of annotated revision in annotate view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
29388
diff
changeset
|
101 '<a href="{url|urlescape}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}#l{targetline}"> |
9c37df347485
hgweb: add link to parents of annotated revision in annotate view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
29388
diff
changeset
|
102 {author|user}@{rev} |
9c37df347485
hgweb: add link to parents of annotated revision in annotate view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
29388
diff
changeset
|
103 </a>')} |
9c37df347485
hgweb: add link to parents of annotated revision in annotate view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
29388
diff
changeset
|
104 <div class="annotate-info"> |
9c37df347485
hgweb: add link to parents of annotated revision in annotate view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
29388
diff
changeset
|
105 <div>{node|short}: {desc|escape|firstline}</div> |
9c37df347485
hgweb: add link to parents of annotated revision in annotate view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
29388
diff
changeset
|
106 <div>parents: {parents%annotateparent}</div> |
9c37df347485
hgweb: add link to parents of annotated revision in annotate view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
29388
diff
changeset
|
107 </div> |
8374
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
108 </td> |
26363
f29ee23bf361
gitweb, monoblue: port highlighting linked lines from paper
Anton Shestakov <av6@dwimlabs.net>
parents:
26288
diff
changeset
|
109 <td><pre><a class="linenr" href="#{lineid}">{linenumber}</a></pre></td> |
8427
cebdfdcc3e42
git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8374
diff
changeset
|
110 <td><pre>{line|escape}</pre></td> |
8374
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
111 </tr>' |
29522
9c37df347485
hgweb: add link to parents of annotated revision in annotate view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
29388
diff
changeset
|
112 annotateparent = ' |
9c37df347485
hgweb: add link to parents of annotated revision in annotate view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
29388
diff
changeset
|
113 <a href="{url|urlescape}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{rev}</a>' |
26288
2239626369f5
gitweb: port code selection without line numbers from paper
Anton Shestakov <av6@dwimlabs.net>
parents:
26275
diff
changeset
|
114 difflineplus = ' |
26670
ab2cd800f1b0
gitweb: visually highlight source lines when hovering over line numbers
Anton Shestakov <av6@dwimlabs.net>
parents:
26390
diff
changeset
|
115 <a href="#{lineid}"></a><span id="{lineid}" class="difflineplus">{strip(line|escape, '\r\n')}</span>' |
26288
2239626369f5
gitweb: port code selection without line numbers from paper
Anton Shestakov <av6@dwimlabs.net>
parents:
26275
diff
changeset
|
116 difflineminus = ' |
26670
ab2cd800f1b0
gitweb: visually highlight source lines when hovering over line numbers
Anton Shestakov <av6@dwimlabs.net>
parents:
26390
diff
changeset
|
117 <a href="#{lineid}"></a><span id="{lineid}" class="difflineminus">{strip(line|escape, '\r\n')}</span>' |
26288
2239626369f5
gitweb: port code selection without line numbers from paper
Anton Shestakov <av6@dwimlabs.net>
parents:
26275
diff
changeset
|
118 difflineat = ' |
26670
ab2cd800f1b0
gitweb: visually highlight source lines when hovering over line numbers
Anton Shestakov <av6@dwimlabs.net>
parents:
26390
diff
changeset
|
119 <a href="#{lineid}"></a><span id="{lineid}" class="difflineat">{strip(line|escape, '\r\n')}</span>' |
26288
2239626369f5
gitweb: port code selection without line numbers from paper
Anton Shestakov <av6@dwimlabs.net>
parents:
26275
diff
changeset
|
120 diffline = ' |
26670
ab2cd800f1b0
gitweb: visually highlight source lines when hovering over line numbers
Anton Shestakov <av6@dwimlabs.net>
parents:
26390
diff
changeset
|
121 <a href="#{lineid}"></a><span id="{lineid}">{strip(line|escape, '\r\n')}</span>' |
17202
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
15375
diff
changeset
|
122 |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
15375
diff
changeset
|
123 comparisonblock =' |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
15375
diff
changeset
|
124 <tbody class="block"> |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
15375
diff
changeset
|
125 {lines} |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
15375
diff
changeset
|
126 </tbody>' |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
15375
diff
changeset
|
127 comparisonline = ' |
26363
f29ee23bf361
gitweb, monoblue: port highlighting linked lines from paper
Anton Shestakov <av6@dwimlabs.net>
parents:
26288
diff
changeset
|
128 <tr id="{lineid}" style="font-family:monospace"> |
f29ee23bf361
gitweb, monoblue: port highlighting linked lines from paper
Anton Shestakov <av6@dwimlabs.net>
parents:
26288
diff
changeset
|
129 <td class="{type}"><pre><a class="linenr" href="#{lineid}">{leftlinenumber}</a> {leftline|escape}</pre></td> |
f29ee23bf361
gitweb, monoblue: port highlighting linked lines from paper
Anton Shestakov <av6@dwimlabs.net>
parents:
26288
diff
changeset
|
130 <td class="{type}"><pre><a class="linenr" href="#{lineid}">{rightlinenumber}</a> {rightline|escape}</pre></td> |
17202
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
15375
diff
changeset
|
131 </tr>' |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
15375
diff
changeset
|
132 |
8374
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
133 changelogparent = ' |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
134 <tr> |
8427
cebdfdcc3e42
git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8374
diff
changeset
|
135 <th class="parent">parent {rev}:</th> |
8374
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
136 <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
|
137 <a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a> |
8374
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
138 </td> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
139 </tr>' |
23740
9e1f4c65f5f5
hgweb: allow viewing diffs against p1 or p2 for merge commits (issue3904)
Anton Shestakov <engored@ya.ru>
parents:
18772
diff
changeset
|
140 changesetlink = '<a class="list" href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a>' |
18526
9409aeaafdc1
hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents:
18258
diff
changeset
|
141 changesetbranch = '<tr><td>branch</td><td>{name|escape}</td></tr>' |
8374
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
142 changesetparent = ' |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
143 <tr> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
144 <td>parent {rev}</td> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
145 <td style="font-family:monospace"> |
23740
9e1f4c65f5f5
hgweb: allow viewing diffs against p1 or p2 for merge commits (issue3904)
Anton Shestakov <engored@ya.ru>
parents:
18772
diff
changeset
|
146 {changesetlink} |
8374
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
147 </td> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
148 </tr>' |
23740
9e1f4c65f5f5
hgweb: allow viewing diffs against p1 or p2 for merge commits (issue3904)
Anton Shestakov <engored@ya.ru>
parents:
18772
diff
changeset
|
149 changesetparentdiff = ' |
9e1f4c65f5f5
hgweb: allow viewing diffs against p1 or p2 for merge commits (issue3904)
Anton Shestakov <engored@ya.ru>
parents:
18772
diff
changeset
|
150 <tr> |
9e1f4c65f5f5
hgweb: allow viewing diffs against p1 or p2 for merge commits (issue3904)
Anton Shestakov <engored@ya.ru>
parents:
18772
diff
changeset
|
151 <td>parent {rev}</td> |
9e1f4c65f5f5
hgweb: allow viewing diffs against p1 or p2 for merge commits (issue3904)
Anton Shestakov <engored@ya.ru>
parents:
18772
diff
changeset
|
152 <td style="font-family:monospace"> |
24128
7ba4d53ed7d8
hgweb: remove unneeded escaping in gitweb/map and monoblue/map
Anton Shestakov <engored@ya.ru>
parents:
23744
diff
changeset
|
153 {changesetlink} {ifeq(node, basenode, '(current diff)', '({difffrom})')} |
23740
9e1f4c65f5f5
hgweb: allow viewing diffs against p1 or p2 for merge commits (issue3904)
Anton Shestakov <engored@ya.ru>
parents:
18772
diff
changeset
|
154 </td> |
9e1f4c65f5f5
hgweb: allow viewing diffs against p1 or p2 for merge commits (issue3904)
Anton Shestakov <engored@ya.ru>
parents:
18772
diff
changeset
|
155 </tr>' |
9e1f4c65f5f5
hgweb: allow viewing diffs against p1 or p2 for merge commits (issue3904)
Anton Shestakov <engored@ya.ru>
parents:
18772
diff
changeset
|
156 difffrom = '<a href="{url|urlescape}rev/{node|short}:{originalnode|short}{sessionvars%urlparameter}">diff</a>' |
18526
9409aeaafdc1
hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents:
18258
diff
changeset
|
157 filerevbranch = '<tr><td>branch</td><td>{name|escape}</td></tr>' |
8374
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
158 filerevparent = ' |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
159 <tr> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
160 <td>parent {rev}</td> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
161 <td style="font-family:monospace"> |
18526
9409aeaafdc1
hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents:
18258
diff
changeset
|
162 <a class="list" href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}"> |
8374
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
163 {rename%filerename}{node|short} |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
164 </a> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
165 </td> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
166 </tr>' |
3393
22a106cb5650
hgweb: better file rename links
Brendan Cully <brendan@kublai.com>
parents:
3366
diff
changeset
|
167 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
|
168 filelogrename = '| <a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">base</a>' |
8374
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
169 fileannotateparent = ' |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
170 <tr> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
171 <td>parent {rev}</td> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
172 <td style="font-family:monospace"> |
18526
9409aeaafdc1
hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents:
18258
diff
changeset
|
173 <a class="list" href="{url|urlescape}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}"> |
8374
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
174 {rename%filerename}{node|short} |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
175 </a> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
176 </td> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
177 </tr>' |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
178 changelogchild = ' |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
179 <tr> |
8427
cebdfdcc3e42
git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8374
diff
changeset
|
180 <th class="child">child {rev}:</th> |
18526
9409aeaafdc1
hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents:
18258
diff
changeset
|
181 <td class="child"><a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td> |
8374
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
182 </tr>' |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
183 changesetchild = ' |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
184 <tr> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
185 <td>child {rev}</td> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
186 <td style="font-family:monospace"> |
18526
9409aeaafdc1
hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents:
18258
diff
changeset
|
187 <a class="list" href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a> |
8374
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
188 </td> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
189 </tr>' |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
190 filerevchild = ' |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
191 <tr> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
192 <td>child {rev}</td> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
193 <td style="font-family:monospace"> |
18526
9409aeaafdc1
hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents:
18258
diff
changeset
|
194 <a class="list" href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td> |
8374
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
195 </tr>' |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
196 fileannotatechild = ' |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
197 <tr> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
198 <td>child {rev}</td> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
199 <td style="font-family:monospace"> |
18526
9409aeaafdc1
hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents:
18258
diff
changeset
|
200 <a class="list" href="{url|urlescape}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td> |
8374
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
201 </tr>' |
3277
105253b30239
Moved hgweb map-* files into their style directories and adjusted them.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
3271
diff
changeset
|
202 tags = tags.tmpl |
8374
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
203 tagentry = ' |
8427
cebdfdcc3e42
git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8374
diff
changeset
|
204 <tr class="parity{parity}"> |
15375
fe9d36a6853e
hgweb: fix dynamic date calculation not working under Safari
Brodie Rao <brodie@bitheap.org>
parents:
14046
diff
changeset
|
205 <td class="age"><i class="age">{date|rfc822date}</i></td> |
26390
0f0cda81e9b0
gitweb: provide links to branches, tags and bookmarks by name
Anton Shestakov <av6@dwimlabs.net>
parents:
26363
diff
changeset
|
206 <td><a class="list" href="{url|urlescape}rev/{tag|revescape}{sessionvars%urlparameter}"><b>{tag|escape}</b></a></td> |
8374
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
207 <td class="link"> |
18526
9409aeaafdc1
hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents:
18258
diff
changeset
|
208 <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
|
209 <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
|
210 <a href="{url|urlescape}file/{node|short}{sessionvars%urlparameter}">files</a> |
8374
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
211 </td> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
212 </tr>' |
13864
fd8a6ca3a750
hgweb: add separate bookmarks listing to gitweb theme (based on 38c9837b1f75)
Yuya Nishihara <yuya@tcha.org>
parents:
13863
diff
changeset
|
213 bookmarks = bookmarks.tmpl |
fd8a6ca3a750
hgweb: add separate bookmarks listing to gitweb theme (based on 38c9837b1f75)
Yuya Nishihara <yuya@tcha.org>
parents:
13863
diff
changeset
|
214 bookmarkentry = ' |
fd8a6ca3a750
hgweb: add separate bookmarks listing to gitweb theme (based on 38c9837b1f75)
Yuya Nishihara <yuya@tcha.org>
parents:
13863
diff
changeset
|
215 <tr class="parity{parity}"> |
15375
fe9d36a6853e
hgweb: fix dynamic date calculation not working under Safari
Brodie Rao <brodie@bitheap.org>
parents:
14046
diff
changeset
|
216 <td class="age"><i class="age">{date|rfc822date}</i></td> |
26390
0f0cda81e9b0
gitweb: provide links to branches, tags and bookmarks by name
Anton Shestakov <av6@dwimlabs.net>
parents:
26363
diff
changeset
|
217 <td><a class="list" href="{url|urlescape}rev/{bookmark|revescape}{sessionvars%urlparameter}"><b>{bookmark|escape}</b></a></td> |
13864
fd8a6ca3a750
hgweb: add separate bookmarks listing to gitweb theme (based on 38c9837b1f75)
Yuya Nishihara <yuya@tcha.org>
parents:
13863
diff
changeset
|
218 <td class="link"> |
18526
9409aeaafdc1
hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents:
18258
diff
changeset
|
219 <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
|
220 <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
|
221 <a href="{url|urlescape}file/{node|short}{sessionvars%urlparameter}">files</a> |
13864
fd8a6ca3a750
hgweb: add separate bookmarks listing to gitweb theme (based on 38c9837b1f75)
Yuya Nishihara <yuya@tcha.org>
parents:
13863
diff
changeset
|
222 </td> |
fd8a6ca3a750
hgweb: add separate bookmarks listing to gitweb theme (based on 38c9837b1f75)
Yuya Nishihara <yuya@tcha.org>
parents:
13863
diff
changeset
|
223 </tr>' |
8356
439663cd043a
gitweb: add branches page
Sune Foldager <cryo@cyanite.org>
parents:
8235
diff
changeset
|
224 branches = branches.tmpl |
8374
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
225 branchentry = ' |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
226 <tr class="parity{parity}"> |
15375
fe9d36a6853e
hgweb: fix dynamic date calculation not working under Safari
Brodie Rao <brodie@bitheap.org>
parents:
14046
diff
changeset
|
227 <td class="age"><i class="age">{date|rfc822date}</i></td> |
26390
0f0cda81e9b0
gitweb: provide links to branches, tags and bookmarks by name
Anton Shestakov <av6@dwimlabs.net>
parents:
26363
diff
changeset
|
228 <td class="{status}"><a class="list" href="{url|urlescape}shortlog/{branch|revescape}{sessionvars%urlparameter}"><b>{branch|escape}</b></a></td> |
8374
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
229 <td class="link"> |
18526
9409aeaafdc1
hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents:
18258
diff
changeset
|
230 <a href="{url|urlescape}changeset/{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
|
231 <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
|
232 <a href="{url|urlescape}file/{node|short}{sessionvars%urlparameter}">files</a> |
8374
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
233 </td> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
234 </tr>' |
26288
2239626369f5
gitweb: port code selection without line numbers from paper
Anton Shestakov <av6@dwimlabs.net>
parents:
26275
diff
changeset
|
235 diffblock = '<div class="diffblock"><pre class="sourcelines">{lines}</pre></div>' |
8374
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
236 filediffparent = ' |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
237 <tr> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
238 <td>parent {rev}</td> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
239 <td style="font-family:monospace"> |
18526
9409aeaafdc1
hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents:
18258
diff
changeset
|
240 <a class="list" href="{url|urlescape}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}"> |
8374
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
241 {node|short} |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
242 </a> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
243 </td> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
244 </tr>' |
17202
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
15375
diff
changeset
|
245 filecompparent = ' |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
15375
diff
changeset
|
246 <tr> |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
15375
diff
changeset
|
247 <td>parent {rev}</td> |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
15375
diff
changeset
|
248 <td style="font-family:monospace"> |
18526
9409aeaafdc1
hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents:
18258
diff
changeset
|
249 <a class="list" href="{url|urlescape}comparison/{node|short}/{file|urlescape}{sessionvars%urlparameter}"> |
17202
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
15375
diff
changeset
|
250 {node|short} |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
15375
diff
changeset
|
251 </a> |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
15375
diff
changeset
|
252 </td> |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
15375
diff
changeset
|
253 </tr>' |
8374
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
254 filelogparent = ' |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
255 <tr> |
8427
cebdfdcc3e42
git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8374
diff
changeset
|
256 <td align="right">parent {rev}: </td> |
18526
9409aeaafdc1
hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents:
18258
diff
changeset
|
257 <td><a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td> |
8374
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
258 </tr>' |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
259 filediffchild = ' |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
260 <tr> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
261 <td>child {rev}</td> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
262 <td style="font-family:monospace"> |
18526
9409aeaafdc1
hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents:
18258
diff
changeset
|
263 <a class="list" href="{url|urlescape}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a> |
8374
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
264 </td> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
265 </tr>' |
17202
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
15375
diff
changeset
|
266 filecompchild = ' |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
15375
diff
changeset
|
267 <tr> |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
15375
diff
changeset
|
268 <td>child {rev}</td> |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
15375
diff
changeset
|
269 <td style="font-family:monospace"> |
18526
9409aeaafdc1
hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents:
18258
diff
changeset
|
270 <a class="list" href="{url|urlescape}comparison/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a> |
17202
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
15375
diff
changeset
|
271 </td> |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
15375
diff
changeset
|
272 </tr>' |
8374
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
273 filelogchild = ' |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
274 <tr> |
8427
cebdfdcc3e42
git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8374
diff
changeset
|
275 <td align="right">child {rev}: </td> |
18526
9409aeaafdc1
hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents:
18258
diff
changeset
|
276 <td><a href="{url|urlescape}file{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td> |
8374
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
277 </tr>' |
3277
105253b30239
Moved hgweb map-* files into their style directories and adjusted them.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
3271
diff
changeset
|
278 shortlog = shortlog.tmpl |
6693
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6657
diff
changeset
|
279 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
|
280 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
|
281 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
|
282 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
|
283 bookmarktag = '<span class="bookmarktag" title="{name|escape}">{name|escape}</span> ' |
8374
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
284 shortlogentry = ' |
8427
cebdfdcc3e42
git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8374
diff
changeset
|
285 <tr class="parity{parity}"> |
15375
fe9d36a6853e
hgweb: fix dynamic date calculation not working under Safari
Brodie Rao <brodie@bitheap.org>
parents:
14046
diff
changeset
|
286 <td class="age"><i class="age">{date|rfc822date}</i></td> |
8427
cebdfdcc3e42
git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8374
diff
changeset
|
287 <td><i>{author|person}</i></td> |
8374
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
288 <td> |
18526
9409aeaafdc1
hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents:
18258
diff
changeset
|
289 <a class="list" href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}"> |
8427
cebdfdcc3e42
git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8374
diff
changeset
|
290 <b>{desc|strip|firstline|escape|nonempty}</b> |
13863
b602ac02f1ba
hgweb: add bookmark labels to gitweb theme (based on 270f57d35525)
Yuya Nishihara <yuya@tcha.org>
parents:
12666
diff
changeset
|
291 <span class="logtags">{inbranch%inbranchtag}{branches%branchtag}{tags%tagtag}{bookmarks%bookmarktag}</span> |
8374
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
292 </a> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
293 </td> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
294 <td class="link" nowrap> |
18526
9409aeaafdc1
hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents:
18258
diff
changeset
|
295 <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
|
296 <a href="{url|urlescape}file/{node|short}{sessionvars%urlparameter}">files</a> |
8374
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
297 </td> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
298 </tr>' |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
299 filelogentry = ' |
8427
cebdfdcc3e42
git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8374
diff
changeset
|
300 <tr class="parity{parity}"> |
15375
fe9d36a6853e
hgweb: fix dynamic date calculation not working under Safari
Brodie Rao <brodie@bitheap.org>
parents:
14046
diff
changeset
|
301 <td class="age"><i class="age">{date|rfc822date}</i></td> |
26275
3e9d63820cd2
gitweb: add author to filelogentry
Anton Shestakov <av6@dwimlabs.net>
parents:
25605
diff
changeset
|
302 <td><i>{author|person}</i></td> |
8374
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
303 <td> |
18526
9409aeaafdc1
hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents:
18258
diff
changeset
|
304 <a class="list" href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}"> |
8427
cebdfdcc3e42
git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8374
diff
changeset
|
305 <b>{desc|strip|firstline|escape|nonempty}</b> |
25123
64f403b70a01
hgweb: show changeset branches/tags/bookmarks in file log (style=gitweb)
Anton Shestakov <engored@ya.ru>
parents:
25108
diff
changeset
|
306 <span class="logtags">{inbranch%inbranchtag}{branches%branchtag}{tags%tagtag}{bookmarks%bookmarktag}</span> |
8374
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
307 </a> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
308 </td> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
309 <td class="link"> |
25108
09ec4220a839
hgweb: split some long lines in paper, gitweb and monoblue styles
Anton Shestakov <engored@ya.ru>
parents:
24128
diff
changeset
|
310 <a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file</a> | |
09ec4220a839
hgweb: split some long lines in paper, gitweb and monoblue styles
Anton Shestakov <engored@ya.ru>
parents:
24128
diff
changeset
|
311 <a href="{url|urlescape}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">diff</a> | |
09ec4220a839
hgweb: split some long lines in paper, gitweb and monoblue styles
Anton Shestakov <engored@ya.ru>
parents:
24128
diff
changeset
|
312 <a href="{url|urlescape}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a> |
09ec4220a839
hgweb: split some long lines in paper, gitweb and monoblue styles
Anton Shestakov <engored@ya.ru>
parents:
24128
diff
changeset
|
313 {rename%filelogrename} |
09ec4220a839
hgweb: split some long lines in paper, gitweb and monoblue styles
Anton Shestakov <engored@ya.ru>
parents:
24128
diff
changeset
|
314 </td> |
09ec4220a839
hgweb: split some long lines in paper, gitweb and monoblue styles
Anton Shestakov <engored@ya.ru>
parents:
24128
diff
changeset
|
315 </tr>' |
25605
dd89304687a3
hgweb: don't dereference symbolic revision in gitweb style
Anton Shestakov <av6@dwimlabs.net>
parents:
25123
diff
changeset
|
316 archiveentry = ' | <a href="{url|urlescape}archive/{symrev}{extension}{ifeq(path,'/','',path|urlescape)}">{type|escape}</a> ' |
8374
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
317 indexentry = ' |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
318 <tr class="parity{parity}"> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
319 <td> |
18526
9409aeaafdc1
hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents:
18258
diff
changeset
|
320 <a class="list" href="{url|urlescape}{sessionvars%urlparameter}"> |
8374
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
321 <b>{name|escape}</b> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
322 </a> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
323 </td> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
324 <td>{description}</td> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
325 <td>{contact|obfuscate}</td> |
15375
fe9d36a6853e
hgweb: fix dynamic date calculation not working under Safari
Brodie Rao <brodie@bitheap.org>
parents:
14046
diff
changeset
|
326 <td class="age">{lastchange|rfc822date}</td> |
8374
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
327 <td class="indexlinks">{archives%indexarchiveentry}</td> |
18046
40374059d227
hgwebdir: do not show RSS and Atom links for plain directories
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
17302
diff
changeset
|
328 <td>{if(isdirectory, '', |
40374059d227
hgwebdir: do not show RSS and Atom links for plain directories
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
17302
diff
changeset
|
329 '<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
|
330 <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
|
331 </div>' |
40374059d227
hgwebdir: do not show RSS and Atom links for plain directories
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
17302
diff
changeset
|
332 )} |
40374059d227
hgwebdir: do not show RSS and Atom links for plain directories
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
17302
diff
changeset
|
333 </td> |
8374
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
334 </tr>\n' |
18526
9409aeaafdc1
hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents:
18258
diff
changeset
|
335 indexarchiveentry = ' <a href="{url|urlescape}archive/{node|short}{extension}">{type|escape}</a> ' |
3277
105253b30239
Moved hgweb map-* files into their style directories and adjusted them.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
3271
diff
changeset
|
336 index = index.tmpl |
8427
cebdfdcc3e42
git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8374
diff
changeset
|
337 urlparameter = '{separator}{name}={value|urlescape}' |
cebdfdcc3e42
git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8374
diff
changeset
|
338 hiddenformentry = '<input type="hidden" name="{name}" value="{value|escape}" />' |
18526
9409aeaafdc1
hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents:
18258
diff
changeset
|
339 breadcrumb = '> <a href="{url|urlescape}">{name|escape}</a> ' |