author | Martin von Zweigbergk <martinvonz@google.com> |
Fri, 13 Nov 2020 09:41:49 -0800 | |
changeset 45856 | 8357e0e81bb7 |
parent 38206 | 273ce823ba5c |
permissions | -rw-r--r-- |
7338
fecfe4392e94
hgweb: move old style to spartan/
Matt Mackall <mpm@selenic.com>
parents:
diff
changeset
|
1 |
default = 'shortlog' |
fecfe4392e94
hgweb: move old style to spartan/
Matt Mackall <mpm@selenic.com>
parents:
diff
changeset
|
2 |
mimetype = 'text/html; charset={encoding}' |
fecfe4392e94
hgweb: move old style to spartan/
Matt Mackall <mpm@selenic.com>
parents:
diff
changeset
|
3 |
header = header.tmpl |
fecfe4392e94
hgweb: move old style to spartan/
Matt Mackall <mpm@selenic.com>
parents:
diff
changeset
|
4 |
footer = footer.tmpl |
fecfe4392e94
hgweb: move old style to spartan/
Matt Mackall <mpm@selenic.com>
parents:
diff
changeset
|
5 |
search = search.tmpl |
fecfe4392e94
hgweb: move old style to spartan/
Matt Mackall <mpm@selenic.com>
parents:
diff
changeset
|
6 |
changelog = changelog.tmpl |
fecfe4392e94
hgweb: move old style to spartan/
Matt Mackall <mpm@selenic.com>
parents:
diff
changeset
|
7 |
shortlog = shortlog.tmpl |
fecfe4392e94
hgweb: move old style to spartan/
Matt Mackall <mpm@selenic.com>
parents:
diff
changeset
|
8 |
shortlogentry = shortlogentry.tmpl |
fecfe4392e94
hgweb: move old style to spartan/
Matt Mackall <mpm@selenic.com>
parents:
diff
changeset
|
9 |
graph = graph.tmpl |
35222
66c11a66ad1a
spartan: render changesets server-side on /graph page
Anton Shestakov <av6@dwimlabs.net>
parents:
29993
diff
changeset
|
10 |
graphentry = graphentry.tmpl |
18526
9409aeaafdc1
hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents:
18258
diff
changeset
|
11 |
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
|
12 |
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
|
13 |
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
|
14 |
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
|
15 |
filedifflink = '<a href="{url|urlescape}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}</a> ' |
9409aeaafdc1
hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents:
18258
diff
changeset
|
16 |
filenodelink = '<a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}</a> ' |
7338
fecfe4392e94
hgweb: move old style to spartan/
Matt Mackall <mpm@selenic.com>
parents:
diff
changeset
|
17 |
filenolink = '{file|escape} ' |
fecfe4392e94
hgweb: move old style to spartan/
Matt Mackall <mpm@selenic.com>
parents:
diff
changeset
|
18 |
fileellipses = '...' |
fecfe4392e94
hgweb: move old style to spartan/
Matt Mackall <mpm@selenic.com>
parents:
diff
changeset
|
19 |
changelogentry = changelogentry.tmpl |
fecfe4392e94
hgweb: move old style to spartan/
Matt Mackall <mpm@selenic.com>
parents:
diff
changeset
|
20 |
changeset = changeset.tmpl |
fecfe4392e94
hgweb: move old style to spartan/
Matt Mackall <mpm@selenic.com>
parents:
diff
changeset
|
21 |
manifest = manifest.tmpl |
8376
04f9253906bb
spartan: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8357
diff
changeset
|
22 |
|
10254
8d5de52431f2
hgweb: changenav: separate pages before and after the current position
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
9999
diff
changeset
|
23 |
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
|
24 |
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
|
25 |
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
|
26 |
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
|
27 |
|
38206
273ce823ba5c
spartan: don't show '[up]' in file view when in root directory already
Anton Shestakov <av6@dwimlabs.net>
parents:
38202
diff
changeset
|
28 |
updirentry = ' |
273ce823ba5c
spartan: don't show '[up]' in file view when in root directory already
Anton Shestakov <av6@dwimlabs.net>
parents:
38202
diff
changeset
|
29 |
<tr class="parity{upparity}"> |
273ce823ba5c
spartan: don't show '[up]' in file view when in root directory already
Anton Shestakov <av6@dwimlabs.net>
parents:
38202
diff
changeset
|
30 |
<td><tt>drwxr-xr-x</tt> </td> |
273ce823ba5c
spartan: don't show '[up]' in file view when in root directory already
Anton Shestakov <av6@dwimlabs.net>
parents:
38202
diff
changeset
|
31 |
<td> </td> |
273ce823ba5c
spartan: don't show '[up]' in file view when in root directory already
Anton Shestakov <av6@dwimlabs.net>
parents:
38202
diff
changeset
|
32 |
<td> </td> |
273ce823ba5c
spartan: don't show '[up]' in file view when in root directory already
Anton Shestakov <av6@dwimlabs.net>
parents:
38202
diff
changeset
|
33 |
<td> |
273ce823ba5c
spartan: don't show '[up]' in file view when in root directory already
Anton Shestakov <av6@dwimlabs.net>
parents:
38202
diff
changeset
|
34 |
<a href="{url|urlescape}file/{symrev}{up|urlescape}{sessionvars%urlparameter}">[up]</a> |
273ce823ba5c
spartan: don't show '[up]' in file view when in root directory already
Anton Shestakov <av6@dwimlabs.net>
parents:
38202
diff
changeset
|
35 |
</td> |
273ce823ba5c
spartan: don't show '[up]' in file view when in root directory already
Anton Shestakov <av6@dwimlabs.net>
parents:
38202
diff
changeset
|
36 |
</tr> ' |
273ce823ba5c
spartan: don't show '[up]' in file view when in root directory already
Anton Shestakov <av6@dwimlabs.net>
parents:
38202
diff
changeset
|
37 |
|
8376
04f9253906bb
spartan: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8357
diff
changeset
|
38 |
direntry = ' |
8431
5c1aabc58004
spartan: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8376
diff
changeset
|
39 |
<tr class="parity{parity}"> |
38202
45765264ae3a
spartan: add missing closing tags
Anton Shestakov <av6@dwimlabs.net>
parents:
37400
diff
changeset
|
40 |
<td><tt>drwxr-xr-x</tt> </td> |
45765264ae3a
spartan: add missing closing tags
Anton Shestakov <av6@dwimlabs.net>
parents:
37400
diff
changeset
|
41 |
<td> </td> |
45765264ae3a
spartan: add missing closing tags
Anton Shestakov <av6@dwimlabs.net>
parents:
37400
diff
changeset
|
42 |
<td> </td> |
8376
04f9253906bb
spartan: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8357
diff
changeset
|
43 |
<td> |
25603
1cac419ab831
hgweb: don't dereference symbolic revision in spartan style
Anton Shestakov <av6@dwimlabs.net>
parents:
23740
diff
changeset
|
44 |
<a href="{url|urlescape}file/{symrev}{path|urlescape}{sessionvars%urlparameter}">{basename|escape}/</a> |
1cac419ab831
hgweb: don't dereference symbolic revision in spartan style
Anton Shestakov <av6@dwimlabs.net>
parents:
23740
diff
changeset
|
45 |
<a href="{url|urlescape}file/{symrev}{path|urlescape}/{emptydirs|urlescape}{sessionvars%urlparameter}"> |
8431
5c1aabc58004
spartan: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8376
diff
changeset
|
46 |
{emptydirs|urlescape} |
38202
45765264ae3a
spartan: add missing closing tags
Anton Shestakov <av6@dwimlabs.net>
parents:
37400
diff
changeset
|
47 |
</a> |
45765264ae3a
spartan: add missing closing tags
Anton Shestakov <av6@dwimlabs.net>
parents:
37400
diff
changeset
|
48 |
</td> |
45765264ae3a
spartan: add missing closing tags
Anton Shestakov <av6@dwimlabs.net>
parents:
37400
diff
changeset
|
49 |
</tr>' |
8376
04f9253906bb
spartan: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8357
diff
changeset
|
50 |
|
04f9253906bb
spartan: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8357
diff
changeset
|
51 |
fileentry = ' |
8431
5c1aabc58004
spartan: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8376
diff
changeset
|
52 |
<tr class="parity{parity}"> |
38202
45765264ae3a
spartan: add missing closing tags
Anton Shestakov <av6@dwimlabs.net>
parents:
37400
diff
changeset
|
53 |
<td><tt>{permissions|permissions}</tt> </td> |
45765264ae3a
spartan: add missing closing tags
Anton Shestakov <av6@dwimlabs.net>
parents:
37400
diff
changeset
|
54 |
<td align=right><tt class="date">{date|isodate}</tt> </td> |
45765264ae3a
spartan: add missing closing tags
Anton Shestakov <av6@dwimlabs.net>
parents:
37400
diff
changeset
|
55 |
<td align=right><tt>{size}</tt> </td> |
45765264ae3a
spartan: add missing closing tags
Anton Shestakov <av6@dwimlabs.net>
parents:
37400
diff
changeset
|
56 |
<td><a href="{url|urlescape}file/{symrev}/{file|urlescape}{sessionvars%urlparameter}">{basename|escape}</a></td> |
45765264ae3a
spartan: add missing closing tags
Anton Shestakov <av6@dwimlabs.net>
parents:
37400
diff
changeset
|
57 |
</tr>' |
8376
04f9253906bb
spartan: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8357
diff
changeset
|
58 |
|
7338
fecfe4392e94
hgweb: move old style to spartan/
Matt Mackall <mpm@selenic.com>
parents:
diff
changeset
|
59 |
filerevision = filerevision.tmpl |
fecfe4392e94
hgweb: move old style to spartan/
Matt Mackall <mpm@selenic.com>
parents:
diff
changeset
|
60 |
fileannotate = fileannotate.tmpl |
fecfe4392e94
hgweb: move old style to spartan/
Matt Mackall <mpm@selenic.com>
parents:
diff
changeset
|
61 |
filediff = filediff.tmpl |
fecfe4392e94
hgweb: move old style to spartan/
Matt Mackall <mpm@selenic.com>
parents:
diff
changeset
|
62 |
filelog = filelog.tmpl |
8507
decf329f00cb
spartan: ensure equal heights for file and annotate views
Martin Geisler <mg@lazybytes.net>
parents:
8431
diff
changeset
|
63 |
fileline = '<div class="parity{parity}"><a class="lineno" href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}</div>' |
7338
fecfe4392e94
hgweb: move old style to spartan/
Matt Mackall <mpm@selenic.com>
parents:
diff
changeset
|
64 |
filelogentry = filelogentry.tmpl |
8507
decf329f00cb
spartan: ensure equal heights for file and annotate views
Martin Geisler <mg@lazybytes.net>
parents:
8431
diff
changeset
|
65 |
|
decf329f00cb
spartan: ensure equal heights for file and annotate views
Martin Geisler <mg@lazybytes.net>
parents:
8431
diff
changeset
|
66 |
# The ensures that all table cells have content (even if there |
decf329f00cb
spartan: ensure equal heights for file and annotate views
Martin Geisler <mg@lazybytes.net>
parents:
8431
diff
changeset
|
67 |
# is an empty line in the annotated file), which in turn ensures that |
decf329f00cb
spartan: ensure equal heights for file and annotate views
Martin Geisler <mg@lazybytes.net>
parents:
8431
diff
changeset
|
68 |
# all table rows have equal height. |
8376
04f9253906bb
spartan: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8357
diff
changeset
|
69 |
annotateline = ' |
29387
6b77adc2c7b5
hgweb: highlight data of the current revision in annotate view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
25603
diff
changeset
|
70 |
<tr class="parity{parity}{ifeq(node, originalnode, ' thisrev')}"> |
29575
1cc5a918b7d8
spartan: make different blocks of annotated lines have different colors
Anton Shestakov <av6@dwimlabs.net>
parents:
29525
diff
changeset
|
71 |
<td class="annotate parity{blockparity}"> |
29388
f694e20193f2
hgweb: display blamed revision once per block in annotate view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
29387
diff
changeset
|
72 |
{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
|
73 |
'<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
|
74 |
{rev} |
29522
9c37df347485
hgweb: add link to parents of annotated revision in annotate view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
29388
diff
changeset
|
75 |
</a>')} |
9c37df347485
hgweb: add link to parents of annotated revision in annotate view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
29388
diff
changeset
|
76 |
<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
|
77 |
<div> |
d8f2c718deec
hgweb: add a link on node id in annotate hover-box
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
29524
diff
changeset
|
78 |
<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
|
79 |
{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
|
80 |
{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
|
81 |
</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
|
82 |
<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
|
83 |
<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
|
84 |
<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
|
85 |
<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
|
86 |
</div> |
8376
04f9253906bb
spartan: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8357
diff
changeset
|
87 |
</td> |
04f9253906bb
spartan: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8357
diff
changeset
|
88 |
<td> |
8431
5c1aabc58004
spartan: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8376
diff
changeset
|
89 |
<a class="lineno" href="#{lineid}" id="{lineid}">{linenumber}</a> |
8376
04f9253906bb
spartan: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8357
diff
changeset
|
90 |
</td> |
8507
decf329f00cb
spartan: ensure equal heights for file and annotate views
Martin Geisler <mg@lazybytes.net>
parents:
8431
diff
changeset
|
91 |
<td><pre> {line|escape}</pre></td> |
8376
04f9253906bb
spartan: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8357
diff
changeset
|
92 |
</tr>' |
29522
9c37df347485
hgweb: add link to parents of annotated revision in annotate view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
29388
diff
changeset
|
93 |
annotateparent = ' |
9c37df347485
hgweb: add link to parents of annotated revision in annotate view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
29388
diff
changeset
|
94 |
<a href="{url|urlescape}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{rev}</a>' |
8431
5c1aabc58004
spartan: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8376
diff
changeset
|
95 |
difflineplus = '<span class="plusline"><a class="lineno" href="#{lineid}" id="{lineid}">{linenumber}</a>{line|escape}</span>' |
5c1aabc58004
spartan: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8376
diff
changeset
|
96 |
difflineminus = '<span class="minusline"><a class="lineno" href="#{lineid}" id="{lineid}">{linenumber}</a>{line|escape}</span>' |
5c1aabc58004
spartan: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8376
diff
changeset
|
97 |
difflineat = '<span class="atline"><a class="lineno" href="#{lineid}" id="{lineid}">{linenumber}</a>{line|escape}</span>' |
5c1aabc58004
spartan: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8376
diff
changeset
|
98 |
diffline = '<a class="lineno" href="#{lineid}" id="{lineid}">{linenumber}</a>{line|escape}' |
23740
9e1f4c65f5f5
hgweb: allow viewing diffs against p1 or p2 for merge commits (issue3904)
Anton Shestakov <engored@ya.ru>
parents:
18526
diff
changeset
|
99 |
changesetlink = '<a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a>' |
8376
04f9253906bb
spartan: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8357
diff
changeset
|
100 |
changelogparent = ' |
04f9253906bb
spartan: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8357
diff
changeset
|
101 |
<tr> |
8431
5c1aabc58004
spartan: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8376
diff
changeset
|
102 |
<th class="parent">parent {rev}:</th> |
8376
04f9253906bb
spartan: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8357
diff
changeset
|
103 |
<td class="parent"> |
23740
9e1f4c65f5f5
hgweb: allow viewing diffs against p1 or p2 for merge commits (issue3904)
Anton Shestakov <engored@ya.ru>
parents:
18526
diff
changeset
|
104 |
{changesetlink} |
8376
04f9253906bb
spartan: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8357
diff
changeset
|
105 |
</td> |
04f9253906bb
spartan: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8357
diff
changeset
|
106 |
</tr>' |
04f9253906bb
spartan: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8357
diff
changeset
|
107 |
changesetparent = ' |
04f9253906bb
spartan: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8357
diff
changeset
|
108 |
<tr> |
8431
5c1aabc58004
spartan: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8376
diff
changeset
|
109 |
<th class="parent">parent {rev}:</th> |
23740
9e1f4c65f5f5
hgweb: allow viewing diffs against p1 or p2 for merge commits (issue3904)
Anton Shestakov <engored@ya.ru>
parents:
18526
diff
changeset
|
110 |
<td class="parent">{changesetlink}</td> |
8376
04f9253906bb
spartan: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8357
diff
changeset
|
111 |
</tr>' |
23740
9e1f4c65f5f5
hgweb: allow viewing diffs against p1 or p2 for merge commits (issue3904)
Anton Shestakov <engored@ya.ru>
parents:
18526
diff
changeset
|
112 |
changesetparentdiff = ' |
9e1f4c65f5f5
hgweb: allow viewing diffs against p1 or p2 for merge commits (issue3904)
Anton Shestakov <engored@ya.ru>
parents:
18526
diff
changeset
|
113 |
<tr> |
9e1f4c65f5f5
hgweb: allow viewing diffs against p1 or p2 for merge commits (issue3904)
Anton Shestakov <engored@ya.ru>
parents:
18526
diff
changeset
|
114 |
<th class="parent">parent {rev}:</th> |
9e1f4c65f5f5
hgweb: allow viewing diffs against p1 or p2 for merge commits (issue3904)
Anton Shestakov <engored@ya.ru>
parents:
18526
diff
changeset
|
115 |
<td class="parent">{changesetlink} {ifeq(node, basenode, '(current diff)', '({difffrom})')}</td> |
9e1f4c65f5f5
hgweb: allow viewing diffs against p1 or p2 for merge commits (issue3904)
Anton Shestakov <engored@ya.ru>
parents:
18526
diff
changeset
|
116 |
</tr>' |
9e1f4c65f5f5
hgweb: allow viewing diffs against p1 or p2 for merge commits (issue3904)
Anton Shestakov <engored@ya.ru>
parents:
18526
diff
changeset
|
117 |
difffrom = '<a href="{url|urlescape}rev/{node|short}:{originalnode|short}{sessionvars%urlparameter}">diff</a>' |
8376
04f9253906bb
spartan: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8357
diff
changeset
|
118 |
filerevparent = ' |
04f9253906bb
spartan: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8357
diff
changeset
|
119 |
<tr> |
04f9253906bb
spartan: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8357
diff
changeset
|
120 |
<td class="metatag">parent:</td> |
04f9253906bb
spartan: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8357
diff
changeset
|
121 |
<td> |
18526
9409aeaafdc1
hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents:
18258
diff
changeset
|
122 |
<a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}"> |
8376
04f9253906bb
spartan: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8357
diff
changeset
|
123 |
{rename%filerename}{node|short} |
04f9253906bb
spartan: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8357
diff
changeset
|
124 |
</a> |
04f9253906bb
spartan: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8357
diff
changeset
|
125 |
</td> |
04f9253906bb
spartan: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8357
diff
changeset
|
126 |
</tr>' |
7338
fecfe4392e94
hgweb: move old style to spartan/
Matt Mackall <mpm@selenic.com>
parents:
diff
changeset
|
127 |
filerename = '{file|escape}@' |
8376
04f9253906bb
spartan: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8357
diff
changeset
|
128 |
filelogrename = ' |
04f9253906bb
spartan: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8357
diff
changeset
|
129 |
<tr> |
04f9253906bb
spartan: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8357
diff
changeset
|
130 |
<th>base:</th> |
04f9253906bb
spartan: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8357
diff
changeset
|
131 |
<td> |
18526
9409aeaafdc1
hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents:
18258
diff
changeset
|
132 |
<a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}"> |
8431
5c1aabc58004
spartan: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8376
diff
changeset
|
133 |
{file|escape}@{node|short} |
8376
04f9253906bb
spartan: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8357
diff
changeset
|
134 |
</a> |
04f9253906bb
spartan: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8357
diff
changeset
|
135 |
</td> |
04f9253906bb
spartan: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8357
diff
changeset
|
136 |
</tr>' |
04f9253906bb
spartan: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8357
diff
changeset
|
137 |
fileannotateparent = ' |
04f9253906bb
spartan: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8357
diff
changeset
|
138 |
<tr> |
04f9253906bb
spartan: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8357
diff
changeset
|
139 |
<td class="metatag">parent:</td> |
04f9253906bb
spartan: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8357
diff
changeset
|
140 |
<td> |
18526
9409aeaafdc1
hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents:
18258
diff
changeset
|
141 |
<a href="{url|urlescape}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}"> |
8376
04f9253906bb
spartan: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8357
diff
changeset
|
142 |
{rename%filerename}{node|short} |
04f9253906bb
spartan: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8357
diff
changeset
|
143 |
</a> |
04f9253906bb
spartan: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8357
diff
changeset
|
144 |
</td> |
04f9253906bb
spartan: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8357
diff
changeset
|
145 |
</tr>' |
04f9253906bb
spartan: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8357
diff
changeset
|
146 |
changesetchild = ' |
04f9253906bb
spartan: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8357
diff
changeset
|
147 |
<tr> |
8431
5c1aabc58004
spartan: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8376
diff
changeset
|
148 |
<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
|
149 |
<td class="child"><a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td> |
8376
04f9253906bb
spartan: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8357
diff
changeset
|
150 |
</tr>' |
04f9253906bb
spartan: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8357
diff
changeset
|
151 |
changelogchild = ' |
04f9253906bb
spartan: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8357
diff
changeset
|
152 |
<tr> |
8431
5c1aabc58004
spartan: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8376
diff
changeset
|
153 |
<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
|
154 |
<td class="child"><a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td> |
8376
04f9253906bb
spartan: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8357
diff
changeset
|
155 |
</tr>' |
04f9253906bb
spartan: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8357
diff
changeset
|
156 |
filerevchild = ' |
04f9253906bb
spartan: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8357
diff
changeset
|
157 |
<tr> |
04f9253906bb
spartan: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8357
diff
changeset
|
158 |
<td class="metatag">child:</td> |
18526
9409aeaafdc1
hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents:
18258
diff
changeset
|
159 |
<td><a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td> |
8376
04f9253906bb
spartan: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8357
diff
changeset
|
160 |
</tr>' |
04f9253906bb
spartan: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8357
diff
changeset
|
161 |
fileannotatechild = ' |
04f9253906bb
spartan: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8357
diff
changeset
|
162 |
<tr> |
04f9253906bb
spartan: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8357
diff
changeset
|
163 |
<td class="metatag">child:</td> |
18526
9409aeaafdc1
hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents:
18258
diff
changeset
|
164 |
<td><a href="{url|urlescape}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td> |
8376
04f9253906bb
spartan: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8357
diff
changeset
|
165 |
</tr>' |
7338
fecfe4392e94
hgweb: move old style to spartan/
Matt Mackall <mpm@selenic.com>
parents:
diff
changeset
|
166 |
tags = tags.tmpl |
8376
04f9253906bb
spartan: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8357
diff
changeset
|
167 |
tagentry = ' |
8431
5c1aabc58004
spartan: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8376
diff
changeset
|
168 |
<li class="tagEntry parity{parity}"> |
5c1aabc58004
spartan: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8376
diff
changeset
|
169 |
<tt class="node">{node}</tt> |
18526
9409aeaafdc1
hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents:
18258
diff
changeset
|
170 |
<a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{tag|escape}</a> |
8376
04f9253906bb
spartan: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8357
diff
changeset
|
171 |
</li>' |
8357
d974a32b59dc
spartan: add branches page
Sune Foldager <cryo@cyanite.org>
parents:
7338
diff
changeset
|
172 |
branches = branches.tmpl |
8376
04f9253906bb
spartan: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8357
diff
changeset
|
173 |
branchentry = ' |
8431
5c1aabc58004
spartan: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8376
diff
changeset
|
174 |
<li class="tagEntry parity{parity}"> |
5c1aabc58004
spartan: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8376
diff
changeset
|
175 |
<tt class="node">{node}</tt> |
18526
9409aeaafdc1
hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents:
18258
diff
changeset
|
176 |
<a href="{url|urlescape}shortlog/{node|short}{sessionvars%urlparameter}" class="{status}">{branch|escape}</a> |
8376
04f9253906bb
spartan: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8357
diff
changeset
|
177 |
</li>' |
8431
5c1aabc58004
spartan: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8376
diff
changeset
|
178 |
diffblock = '<pre class="parity{parity}">{lines}</pre>' |
5c1aabc58004
spartan: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8376
diff
changeset
|
179 |
changelogtag = '<tr><th class="tag">tag:</th><td class="tag">{tag|escape}</td></tr>' |
5c1aabc58004
spartan: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8376
diff
changeset
|
180 |
changesettag = '<tr><th class="tag">tag:</th><td class="tag">{tag|escape}</td></tr>' |
35486
4c7ae95e1c71
hgweb: link to successors of obsoleted changesets
Anton Shestakov <av6@dwimlabs.net>
parents:
35485
diff
changeset
|
181 |
successorlink = '<a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a> ' |
4c7ae95e1c71
hgweb: link to successors of obsoleted changesets
Anton Shestakov <av6@dwimlabs.net>
parents:
35485
diff
changeset
|
182 |
obsfatesuccessors = '{if(successors, ' as ')}{successors%successorlink}' |
35485
1721ce06100a
hgweb: display fate of obsolete changesets
Anton Shestakov <av6@dwimlabs.net>
parents:
35222
diff
changeset
|
183 |
obsfateverb = '{obsfateverb(successors, markers)}' |
1721ce06100a
hgweb: display fate of obsolete changesets
Anton Shestakov <av6@dwimlabs.net>
parents:
35222
diff
changeset
|
184 |
obsfateoperations = '{if(obsfateoperations(markers), ' using {join(obsfateoperations(markers), ', ')}')}' |
36195
513d268eddfe
hgweb: show users recorded in obsolescence markers
Anton Shestakov <av6@dwimlabs.net>
parents:
35486
diff
changeset
|
185 |
obsfateusers = '{if(obsfateusers(markers), ' by {join(obsfateusers(markers)%'{user|obfuscate}', ', ')}')}' |
36233
7ec5925c971e
hgweb: show dates recorded in obsolescence markers
Anton Shestakov <av6@dwimlabs.net>
parents:
36195
diff
changeset
|
186 |
obsfatedate = '{if(obsfatedate(markers), ' {ifeq(min(obsfatedate(markers)), max(obsfatedate(markers)), '<span class="age">{min(obsfatedate(markers))|rfc822date}</span>', 'between <span class="age">{min(obsfatedate(markers))|rfc822date}</span> and <span class="age">{max(obsfatedate(markers))|rfc822date}</span>')}')}' |
36322
f3fd4fe0506f
hgweb: show each obsfateentry on its own line
Anton Shestakov <av6@dwimlabs.net>
parents:
36233
diff
changeset
|
187 |
obsfateentry = ' |
f3fd4fe0506f
hgweb: show each obsfateentry on its own line
Anton Shestakov <av6@dwimlabs.net>
parents:
36233
diff
changeset
|
188 |
<tr> |
f3fd4fe0506f
hgweb: show each obsfateentry on its own line
Anton Shestakov <av6@dwimlabs.net>
parents:
36233
diff
changeset
|
189 |
<th class="obsolete">obsolete:</th> |
f3fd4fe0506f
hgweb: show each obsfateentry on its own line
Anton Shestakov <av6@dwimlabs.net>
parents:
36233
diff
changeset
|
190 |
<td class="obsolete">{obsfateverb}{obsfateoperations}{obsfatesuccessors}{obsfateusers}{obsfatedate}</td> |
f3fd4fe0506f
hgweb: show each obsfateentry on its own line
Anton Shestakov <av6@dwimlabs.net>
parents:
36233
diff
changeset
|
191 |
</tr>' |
37024
7c18798fc24d
hgweb: explain instabilities of unstable changesets (the rest of the themes)
Anton Shestakov <av6@dwimlabs.net>
parents:
36322
diff
changeset
|
192 |
instabilitychangesetlink = '<a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a>' |
7c18798fc24d
hgweb: explain instabilities of unstable changesets (the rest of the themes)
Anton Shestakov <av6@dwimlabs.net>
parents:
36322
diff
changeset
|
193 |
divergentnode = '{instabilitychangesetlink} ({phase})' |
7c18798fc24d
hgweb: explain instabilities of unstable changesets (the rest of the themes)
Anton Shestakov <av6@dwimlabs.net>
parents:
36322
diff
changeset
|
194 |
whyunstableentry = ' |
7c18798fc24d
hgweb: explain instabilities of unstable changesets (the rest of the themes)
Anton Shestakov <av6@dwimlabs.net>
parents:
36322
diff
changeset
|
195 |
<tr> |
7c18798fc24d
hgweb: explain instabilities of unstable changesets (the rest of the themes)
Anton Shestakov <av6@dwimlabs.net>
parents:
36322
diff
changeset
|
196 |
<th class="unstable">unstable:</th> |
7c18798fc24d
hgweb: explain instabilities of unstable changesets (the rest of the themes)
Anton Shestakov <av6@dwimlabs.net>
parents:
36322
diff
changeset
|
197 |
<td class="unstable">{instability}: {if(divergentnodes, divergentnodes%divergentnode)} {reason} {instabilitychangesetlink}</td> |
7c18798fc24d
hgweb: explain instabilities of unstable changesets (the rest of the themes)
Anton Shestakov <av6@dwimlabs.net>
parents:
36322
diff
changeset
|
198 |
</tr>' |
8376
04f9253906bb
spartan: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8357
diff
changeset
|
199 |
filediffparent = ' |
04f9253906bb
spartan: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8357
diff
changeset
|
200 |
<tr> |
8431
5c1aabc58004
spartan: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8376
diff
changeset
|
201 |
<th class="parent">parent {rev}:</th> |
18526
9409aeaafdc1
hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents:
18258
diff
changeset
|
202 |
<td class="parent"><a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td> |
8376
04f9253906bb
spartan: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8357
diff
changeset
|
203 |
</tr>' |
04f9253906bb
spartan: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8357
diff
changeset
|
204 |
filediffchild = ' |
04f9253906bb
spartan: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8357
diff
changeset
|
205 |
<tr> |
8431
5c1aabc58004
spartan: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8376
diff
changeset
|
206 |
<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
|
207 |
<td class="child"><a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td> |
8376
04f9253906bb
spartan: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8357
diff
changeset
|
208 |
</tr>' |
04f9253906bb
spartan: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8357
diff
changeset
|
209 |
indexentry = ' |
8431
5c1aabc58004
spartan: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8376
diff
changeset
|
210 |
<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
|
211 |
<td><a href="{url|urlescape}{sessionvars%urlparameter}">{name|escape}</a></td> |
8431
5c1aabc58004
spartan: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8376
diff
changeset
|
212 |
<td>{description}</td> |
5c1aabc58004
spartan: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8376
diff
changeset
|
213 |
<td>{contact|obfuscate}</td> |
15375
fe9d36a6853e
hgweb: fix dynamic date calculation not working under Safari
Brodie Rao <brodie@bitheap.org>
parents:
14046
diff
changeset
|
214 |
<td class="age">{lastchange|rfc822date}</td> |
8376
04f9253906bb
spartan: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8357
diff
changeset
|
215 |
<td class="indexlinks"> |
18526
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}rss-log">RSS</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}atom-log">Atom</a> |
8431
5c1aabc58004
spartan: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8376
diff
changeset
|
218 |
{archives%archiveentry} |
8376
04f9253906bb
spartan: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8357
diff
changeset
|
219 |
</td> |
04f9253906bb
spartan: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8357
diff
changeset
|
220 |
</tr>' |
7338
fecfe4392e94
hgweb: move old style to spartan/
Matt Mackall <mpm@selenic.com>
parents:
diff
changeset
|
221 |
index = index.tmpl |
25603
1cac419ab831
hgweb: don't dereference symbolic revision in spartan style
Anton Shestakov <av6@dwimlabs.net>
parents:
23740
diff
changeset
|
222 |
archiveentry = '<a href="{url|urlescape}archive/{symrev}{extension|urlescape}">{type|escape}</a> ' |
7338
fecfe4392e94
hgweb: move old style to spartan/
Matt Mackall <mpm@selenic.com>
parents:
diff
changeset
|
223 |
notfound = notfound.tmpl |
fecfe4392e94
hgweb: move old style to spartan/
Matt Mackall <mpm@selenic.com>
parents:
diff
changeset
|
224 |
error = error.tmpl |
8431
5c1aabc58004
spartan: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8376
diff
changeset
|
225 |
urlparameter = '{separator}{name}={value|urlescape}' |
5c1aabc58004
spartan: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8376
diff
changeset
|
226 |
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
|
227 |
breadcrumb = '> <a href="{url|urlescape}">{name|escape}</a> ' |