author | Anton Shestakov <av6@dwimlabs.net> |
Sat, 16 Jul 2016 15:00:36 +0800 | |
changeset 29573 | 2b42fa1810c4 |
parent 29525 | d8f2c718deec |
child 29984 | 10d27ee97032 |
permissions | -rw-r--r-- |
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')}"> |
29573
2b42fa1810c4
gitweb: make different blocks of annotated lines have different colors
Anton Shestakov <av6@dwimlabs.net>
parents:
29525
diff
changeset
|
99 |
<td class="annotate linenr parity{blockparity}" 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}"> |
29524
19f96077c61b
hgweb: move author information from left-column to hover-box in annotate view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
29523
diff
changeset
|
102 |
{rev} |
29522
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"> |
29525
d8f2c718deec
hgweb: add a link on node id in annotate hover-box
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
29524
diff
changeset
|
105 |
<div> |
d8f2c718deec
hgweb: add a link on node id in annotate hover-box
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
29524
diff
changeset
|
106 |
<a href="{url|urlescape}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}#l{targetline}"> |
d8f2c718deec
hgweb: add a link on node id in annotate hover-box
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
29524
diff
changeset
|
107 |
{node|short}</a> |
d8f2c718deec
hgweb: add a link on node id in annotate hover-box
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
29524
diff
changeset
|
108 |
{desc|escape|firstline} |
d8f2c718deec
hgweb: add a link on node id in annotate hover-box
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
29524
diff
changeset
|
109 |
</div> |
29524
19f96077c61b
hgweb: move author information from left-column to hover-box in annotate view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
29523
diff
changeset
|
110 |
<div><em>{author|obfuscate}</em></div> |
29522
9c37df347485
hgweb: add link to parents of annotated revision in annotate view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
29388
diff
changeset
|
111 |
<div>parents: {parents%annotateparent}</div> |
29523
4b6afd1b445a
hgweb: add links to diff and changeset in hover-box on annotate view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
29522
diff
changeset
|
112 |
<a href="{url|urlescape}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">diff</a> |
4b6afd1b445a
hgweb: add links to diff and changeset in hover-box on annotate view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
29522
diff
changeset
|
113 |
<a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">changeset</a> |
29522
9c37df347485
hgweb: add link to parents of annotated revision in annotate view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
29388
diff
changeset
|
114 |
</div> |
8374
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
115 |
</td> |
26363
f29ee23bf361
gitweb, monoblue: port highlighting linked lines from paper
Anton Shestakov <av6@dwimlabs.net>
parents:
26288
diff
changeset
|
116 |
<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
|
117 |
<td><pre>{line|escape}</pre></td> |
8374
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
118 |
</tr>' |
29522
9c37df347485
hgweb: add link to parents of annotated revision in annotate view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
29388
diff
changeset
|
119 |
annotateparent = ' |
9c37df347485
hgweb: add link to parents of annotated revision in annotate view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
29388
diff
changeset
|
120 |
<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
|
121 |
difflineplus = ' |
26670
ab2cd800f1b0
gitweb: visually highlight source lines when hovering over line numbers
Anton Shestakov <av6@dwimlabs.net>
parents:
26390
diff
changeset
|
122 |
<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
|
123 |
difflineminus = ' |
26670
ab2cd800f1b0
gitweb: visually highlight source lines when hovering over line numbers
Anton Shestakov <av6@dwimlabs.net>
parents:
26390
diff
changeset
|
124 |
<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
|
125 |
difflineat = ' |
26670
ab2cd800f1b0
gitweb: visually highlight source lines when hovering over line numbers
Anton Shestakov <av6@dwimlabs.net>
parents:
26390
diff
changeset
|
126 |
<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
|
127 |
diffline = ' |
26670
ab2cd800f1b0
gitweb: visually highlight source lines when hovering over line numbers
Anton Shestakov <av6@dwimlabs.net>
parents:
26390
diff
changeset
|
128 |
<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
|
129 |
|
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
15375
diff
changeset
|
130 |
comparisonblock =' |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
15375
diff
changeset
|
131 |
<tbody class="block"> |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
15375
diff
changeset
|
132 |
{lines} |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
15375
diff
changeset
|
133 |
</tbody>' |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
15375
diff
changeset
|
134 |
comparisonline = ' |
26363
f29ee23bf361
gitweb, monoblue: port highlighting linked lines from paper
Anton Shestakov <av6@dwimlabs.net>
parents:
26288
diff
changeset
|
135 |
<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
|
136 |
<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
|
137 |
<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
|
138 |
</tr>' |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
15375
diff
changeset
|
139 |
|
8374
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
140 |
changelogparent = ' |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
141 |
<tr> |
8427
cebdfdcc3e42
git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8374
diff
changeset
|
142 |
<th class="parent">parent {rev}:</th> |
8374
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
143 |
<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
|
144 |
<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
|
145 |
</td> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
146 |
</tr>' |
23740
9e1f4c65f5f5
hgweb: allow viewing diffs against p1 or p2 for merge commits (issue3904)
Anton Shestakov <engored@ya.ru>
parents:
18772
diff
changeset
|
147 |
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
|
148 |
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
|
149 |
changesetparent = ' |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
150 |
<tr> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
151 |
<td>parent {rev}</td> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
152 |
<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
|
153 |
{changesetlink} |
8374
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
154 |
</td> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
155 |
</tr>' |
23740
9e1f4c65f5f5
hgweb: allow viewing diffs against p1 or p2 for merge commits (issue3904)
Anton Shestakov <engored@ya.ru>
parents:
18772
diff
changeset
|
156 |
changesetparentdiff = ' |
9e1f4c65f5f5
hgweb: allow viewing diffs against p1 or p2 for merge commits (issue3904)
Anton Shestakov <engored@ya.ru>
parents:
18772
diff
changeset
|
157 |
<tr> |
9e1f4c65f5f5
hgweb: allow viewing diffs against p1 or p2 for merge commits (issue3904)
Anton Shestakov <engored@ya.ru>
parents:
18772
diff
changeset
|
158 |
<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
|
159 |
<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
|
160 |
{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
|
161 |
</td> |
9e1f4c65f5f5
hgweb: allow viewing diffs against p1 or p2 for merge commits (issue3904)
Anton Shestakov <engored@ya.ru>
parents:
18772
diff
changeset
|
162 |
</tr>' |
9e1f4c65f5f5
hgweb: allow viewing diffs against p1 or p2 for merge commits (issue3904)
Anton Shestakov <engored@ya.ru>
parents:
18772
diff
changeset
|
163 |
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
|
164 |
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
|
165 |
filerevparent = ' |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
166 |
<tr> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
167 |
<td>parent {rev}</td> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
168 |
<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
|
169 |
<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
|
170 |
{rename%filerename}{node|short} |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
171 |
</a> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
172 |
</td> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
173 |
</tr>' |
3393
22a106cb5650
hgweb: better file rename links
Brendan Cully <brendan@kublai.com>
parents:
3366
diff
changeset
|
174 |
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
|
175 |
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
|
176 |
fileannotateparent = ' |
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 |
<td>parent {rev}</td> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
179 |
<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
|
180 |
<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
|
181 |
{rename%filerename}{node|short} |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
182 |
</a> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
183 |
</td> |
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 |
changelogchild = ' |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
186 |
<tr> |
8427
cebdfdcc3e42
git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8374
diff
changeset
|
187 |
<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
|
188 |
<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
|
189 |
</tr>' |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
190 |
changesetchild = ' |
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}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
|
195 |
</td> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
196 |
</tr>' |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
197 |
filerevchild = ' |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
198 |
<tr> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
199 |
<td>child {rev}</td> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
200 |
<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
|
201 |
<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
|
202 |
</tr>' |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
203 |
fileannotatechild = ' |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
204 |
<tr> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
205 |
<td>child {rev}</td> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
206 |
<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
|
207 |
<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
|
208 |
</tr>' |
3277
105253b30239
Moved hgweb map-* files into their style directories and adjusted them.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
3271
diff
changeset
|
209 |
tags = tags.tmpl |
8374
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
210 |
tagentry = ' |
8427
cebdfdcc3e42
git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8374
diff
changeset
|
211 |
<tr class="parity{parity}"> |
15375
fe9d36a6853e
hgweb: fix dynamic date calculation not working under Safari
Brodie Rao <brodie@bitheap.org>
parents:
14046
diff
changeset
|
212 |
<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
|
213 |
<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
|
214 |
<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
|
215 |
<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
|
216 |
<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
|
217 |
<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
|
218 |
</td> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
219 |
</tr>' |
13864
fd8a6ca3a750
hgweb: add separate bookmarks listing to gitweb theme (based on 38c9837b1f75)
Yuya Nishihara <yuya@tcha.org>
parents:
13863
diff
changeset
|
220 |
bookmarks = bookmarks.tmpl |
fd8a6ca3a750
hgweb: add separate bookmarks listing to gitweb theme (based on 38c9837b1f75)
Yuya Nishihara <yuya@tcha.org>
parents:
13863
diff
changeset
|
221 |
bookmarkentry = ' |
fd8a6ca3a750
hgweb: add separate bookmarks listing to gitweb theme (based on 38c9837b1f75)
Yuya Nishihara <yuya@tcha.org>
parents:
13863
diff
changeset
|
222 |
<tr class="parity{parity}"> |
15375
fe9d36a6853e
hgweb: fix dynamic date calculation not working under Safari
Brodie Rao <brodie@bitheap.org>
parents:
14046
diff
changeset
|
223 |
<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
|
224 |
<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
|
225 |
<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
|
226 |
<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
|
227 |
<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
|
228 |
<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
|
229 |
</td> |
fd8a6ca3a750
hgweb: add separate bookmarks listing to gitweb theme (based on 38c9837b1f75)
Yuya Nishihara <yuya@tcha.org>
parents:
13863
diff
changeset
|
230 |
</tr>' |
8356
439663cd043a
gitweb: add branches page
Sune Foldager <cryo@cyanite.org>
parents:
8235
diff
changeset
|
231 |
branches = branches.tmpl |
8374
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
232 |
branchentry = ' |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
233 |
<tr class="parity{parity}"> |
15375
fe9d36a6853e
hgweb: fix dynamic date calculation not working under Safari
Brodie Rao <brodie@bitheap.org>
parents:
14046
diff
changeset
|
234 |
<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
|
235 |
<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
|
236 |
<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
|
237 |
<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
|
238 |
<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
|
239 |
<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
|
240 |
</td> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
241 |
</tr>' |
26288
2239626369f5
gitweb: port code selection without line numbers from paper
Anton Shestakov <av6@dwimlabs.net>
parents:
26275
diff
changeset
|
242 |
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
|
243 |
filediffparent = ' |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
244 |
<tr> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
245 |
<td>parent {rev}</td> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
246 |
<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
|
247 |
<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
|
248 |
{node|short} |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
249 |
</a> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
250 |
</td> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
251 |
</tr>' |
17202
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
15375
diff
changeset
|
252 |
filecompparent = ' |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
15375
diff
changeset
|
253 |
<tr> |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
15375
diff
changeset
|
254 |
<td>parent {rev}</td> |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
15375
diff
changeset
|
255 |
<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
|
256 |
<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
|
257 |
{node|short} |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
15375
diff
changeset
|
258 |
</a> |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
15375
diff
changeset
|
259 |
</td> |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
15375
diff
changeset
|
260 |
</tr>' |
8374
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
261 |
filelogparent = ' |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
262 |
<tr> |
8427
cebdfdcc3e42
git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8374
diff
changeset
|
263 |
<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
|
264 |
<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
|
265 |
</tr>' |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
266 |
filediffchild = ' |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
267 |
<tr> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
268 |
<td>child {rev}</td> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
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}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
|
271 |
</td> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
272 |
</tr>' |
17202
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
15375
diff
changeset
|
273 |
filecompchild = ' |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
15375
diff
changeset
|
274 |
<tr> |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
15375
diff
changeset
|
275 |
<td>child {rev}</td> |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
15375
diff
changeset
|
276 |
<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
|
277 |
<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
|
278 |
</td> |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
15375
diff
changeset
|
279 |
</tr>' |
8374
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
280 |
filelogchild = ' |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
281 |
<tr> |
8427
cebdfdcc3e42
git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8374
diff
changeset
|
282 |
<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
|
283 |
<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
|
284 |
</tr>' |
3277
105253b30239
Moved hgweb map-* files into their style directories and adjusted them.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
3271
diff
changeset
|
285 |
shortlog = shortlog.tmpl |
6693
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6657
diff
changeset
|
286 |
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
|
287 |
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
|
288 |
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
|
289 |
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
|
290 |
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
|
291 |
shortlogentry = ' |
8427
cebdfdcc3e42
git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8374
diff
changeset
|
292 |
<tr class="parity{parity}"> |
15375
fe9d36a6853e
hgweb: fix dynamic date calculation not working under Safari
Brodie Rao <brodie@bitheap.org>
parents:
14046
diff
changeset
|
293 |
<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
|
294 |
<td><i>{author|person}</i></td> |
8374
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
295 |
<td> |
18526
9409aeaafdc1
hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents:
18258
diff
changeset
|
296 |
<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
|
297 |
<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
|
298 |
<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
|
299 |
</a> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
300 |
</td> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
301 |
<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
|
302 |
<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
|
303 |
<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
|
304 |
</td> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
305 |
</tr>' |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
306 |
filelogentry = ' |
8427
cebdfdcc3e42
git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8374
diff
changeset
|
307 |
<tr class="parity{parity}"> |
15375
fe9d36a6853e
hgweb: fix dynamic date calculation not working under Safari
Brodie Rao <brodie@bitheap.org>
parents:
14046
diff
changeset
|
308 |
<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
|
309 |
<td><i>{author|person}</i></td> |
8374
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
310 |
<td> |
18526
9409aeaafdc1
hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents:
18258
diff
changeset
|
311 |
<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
|
312 |
<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
|
313 |
<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
|
314 |
</a> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
315 |
</td> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
316 |
<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
|
317 |
<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
|
318 |
<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
|
319 |
<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
|
320 |
{rename%filelogrename} |
09ec4220a839
hgweb: split some long lines in paper, gitweb and monoblue styles
Anton Shestakov <engored@ya.ru>
parents:
24128
diff
changeset
|
321 |
</td> |
09ec4220a839
hgweb: split some long lines in paper, gitweb and monoblue styles
Anton Shestakov <engored@ya.ru>
parents:
24128
diff
changeset
|
322 |
</tr>' |
25605
dd89304687a3
hgweb: don't dereference symbolic revision in gitweb style
Anton Shestakov <av6@dwimlabs.net>
parents:
25123
diff
changeset
|
323 |
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
|
324 |
indexentry = ' |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
325 |
<tr class="parity{parity}"> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
326 |
<td> |
18526
9409aeaafdc1
hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents:
18258
diff
changeset
|
327 |
<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
|
328 |
<b>{name|escape}</b> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
329 |
</a> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
330 |
</td> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
331 |
<td>{description}</td> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
332 |
<td>{contact|obfuscate}</td> |
15375
fe9d36a6853e
hgweb: fix dynamic date calculation not working under Safari
Brodie Rao <brodie@bitheap.org>
parents:
14046
diff
changeset
|
333 |
<td class="age">{lastchange|rfc822date}</td> |
8374
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
334 |
<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
|
335 |
<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
|
336 |
'<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
|
337 |
<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
|
338 |
</div>' |
40374059d227
hgwebdir: do not show RSS and Atom links for plain directories
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
17302
diff
changeset
|
339 |
)} |
40374059d227
hgwebdir: do not show RSS and Atom links for plain directories
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
17302
diff
changeset
|
340 |
</td> |
8374
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
341 |
</tr>\n' |
18526
9409aeaafdc1
hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents:
18258
diff
changeset
|
342 |
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
|
343 |
index = index.tmpl |
8427
cebdfdcc3e42
git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8374
diff
changeset
|
344 |
urlparameter = '{separator}{name}={value|urlescape}' |
cebdfdcc3e42
git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8374
diff
changeset
|
345 |
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
|
346 |
breadcrumb = '> <a href="{url|urlescape}">{name|escape}</a> ' |