Mercurial > hg
annotate mercurial/templates/gitweb/map @ 18046:40374059d227
hgwebdir: do not show RSS and Atom links for plain directories
Up until now the templates that show RSS and Atom feeds on the "repository
lists" (i.e. gitweb and monoblue) showed them for all entries, including regular
folders. Clicking on those "folder RSS" links would result in an error page
being shown.
This patch hides those links for regular folders.
author | Angel Ezquerra <angel.ezquerra@gmail.com> |
---|---|
date | Tue, 27 Nov 2012 22:24:02 +0100 |
parents | 5c64ce6168da |
children | bebb05a7e249 |
rev | line source |
---|---|
1901
c64bef3d7043
use safer string parser for template engine.
Vadim Gelfer <vadim.gelfer@gmail.com>
parents:
1668
diff
changeset
|
1 default = 'summary' |
5928
3340aa5a64f7
hgweb: move HTTP content types out of header templates
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
5834
diff
changeset
|
2 mimetype = 'text/html; charset={encoding}' |
3277
105253b30239
Moved hgweb map-* files into their style directories and adjusted them.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
3271
diff
changeset
|
3 header = header.tmpl |
105253b30239
Moved hgweb map-* files into their style directories and adjusted them.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
3271
diff
changeset
|
4 footer = footer.tmpl |
105253b30239
Moved hgweb map-* files into their style directories and adjusted them.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
3271
diff
changeset
|
5 search = search.tmpl |
105253b30239
Moved hgweb map-* files into their style directories and adjusted them.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
3271
diff
changeset
|
6 changelog = changelog.tmpl |
105253b30239
Moved hgweb map-* files into their style directories and adjusted them.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
3271
diff
changeset
|
7 summary = summary.tmpl |
105253b30239
Moved hgweb map-* files into their style directories and adjusted them.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
3271
diff
changeset
|
8 error = error.tmpl |
4842
d39776752a1f
gitweb: add notfound template
Brendan Cully <brendan@kublai.com>
parents:
4705
diff
changeset
|
9 notfound = notfound.tmpl |
12666
ead4e21f49f1
web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents:
10254
diff
changeset
|
10 |
ead4e21f49f1
web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents:
10254
diff
changeset
|
11 help = help.tmpl |
ead4e21f49f1
web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents:
10254
diff
changeset
|
12 helptopics = helptopics.tmpl |
ead4e21f49f1
web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents:
10254
diff
changeset
|
13 |
ead4e21f49f1
web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents:
10254
diff
changeset
|
14 helpentry = '<tr><td><a href="{url}help/{topic|escape}{sessionvars%urlparameter}">{topic|escape}</a></td><td>{summary|escape}</td></tr>' |
ead4e21f49f1
web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents:
10254
diff
changeset
|
15 |
3422
0eba7e76cd02
Convert changenav bar from revisions to hashes (closes issue189)
Brendan Cully <brendan@kublai.com>
parents:
3407
diff
changeset
|
16 naventry = '<a href="{url}log/{node|short}{sessionvars%urlparameter}">{label|escape}</a> ' |
0eba7e76cd02
Convert changenav bar from revisions to hashes (closes issue189)
Brendan Cully <brendan@kublai.com>
parents:
3407
diff
changeset
|
17 navshortentry = '<a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">{label|escape}</a> ' |
6701
bf72e756c98b
templates: fix navigation links for graph entries
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
6693
diff
changeset
|
18 navgraphentry = '<a href="{url}graph/{node|short}{sessionvars%urlparameter}">{label|escape}</a> ' |
3422
0eba7e76cd02
Convert changenav bar from revisions to hashes (closes issue189)
Brendan Cully <brendan@kublai.com>
parents:
3407
diff
changeset
|
19 filenaventry = '<a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{label|escape}</a> ' |
8427
cebdfdcc3e42
git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8374
diff
changeset
|
20 filedifflink = '<a href="{url}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
|
21 filenodelink = ' |
8427
cebdfdcc3e42
git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8374
diff
changeset
|
22 <tr class="parity{parity}"> |
cebdfdcc3e42
git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8374
diff
changeset
|
23 <td><a class="list" href="{url}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
|
24 <td></td> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
25 <td class="link"> |
8427
cebdfdcc3e42
git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8374
diff
changeset
|
26 <a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file</a> | |
cebdfdcc3e42
git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8374
diff
changeset
|
27 <a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a> | |
cebdfdcc3e42
git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8374
diff
changeset
|
28 <a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">diff</a> | |
17202
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
15375
diff
changeset
|
29 <a href="{url}comparison/{node|short}/{file|urlescape}{sessionvars%urlparameter}">comparison</a> | |
8427
cebdfdcc3e42
git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8374
diff
changeset
|
30 <a href="{url}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
|
31 </td> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
32 </tr>' |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
33 filenolink = ' |
8427
cebdfdcc3e42
git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8374
diff
changeset
|
34 <tr class="parity{parity}"> |
cebdfdcc3e42
git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8374
diff
changeset
|
35 <td><a class="list" href="{url}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
|
36 <td></td> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
37 <td class="link"> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
38 file | |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
39 annotate | |
8427
cebdfdcc3e42
git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8374
diff
changeset
|
40 <a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">diff</a> | |
17202
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
15375
diff
changeset
|
41 <a href="{url}comparison/{node|short}/{file|urlescape}{sessionvars%urlparameter}">comparison</a> | |
8427
cebdfdcc3e42
git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8374
diff
changeset
|
42 <a href="{url}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
|
43 </td> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
44 </tr>' |
10254
8d5de52431f2
hgweb: changenav: separate pages before and after the current position
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
9999
diff
changeset
|
45 |
8d5de52431f2
hgweb: changenav: separate pages before and after the current position
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
9999
diff
changeset
|
46 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
|
47 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
|
48 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
|
49 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
|
50 |
1901
c64bef3d7043
use safer string parser for template engine.
Vadim Gelfer <vadim.gelfer@gmail.com>
parents:
1668
diff
changeset
|
51 fileellipses = '...' |
3277
105253b30239
Moved hgweb map-* files into their style directories and adjusted them.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
3271
diff
changeset
|
52 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
|
53 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
|
54 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
|
55 manifest = manifest.tmpl |
8374
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
56 direntry = ' |
8427
cebdfdcc3e42
git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8374
diff
changeset
|
57 <tr class="parity{parity}"> |
8374
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
58 <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
|
59 <td style="font-family:monospace"></td> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
60 <td style="font-family:monospace"></td> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
61 <td> |
8427
cebdfdcc3e42
git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8374
diff
changeset
|
62 <a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">{basename|escape}</a> |
cebdfdcc3e42
git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8374
diff
changeset
|
63 <a href="{url}file/{node|short}{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
|
64 </td> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
65 <td class="link"> |
8427
cebdfdcc3e42
git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8374
diff
changeset
|
66 <a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">files</a> |
8374
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
67 </td> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
68 </tr>' |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
69 fileentry = ' |
8427
cebdfdcc3e42
git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8374
diff
changeset
|
70 <tr class="parity{parity}"> |
cebdfdcc3e42
git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8374
diff
changeset
|
71 <td style="font-family:monospace">{permissions|permissions}</td> |
cebdfdcc3e42
git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8374
diff
changeset
|
72 <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
|
73 <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
|
74 <td class="list"> |
8427
cebdfdcc3e42
git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8374
diff
changeset
|
75 <a class="list" href="{url}file/{node|short}/{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
|
76 </td> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
77 <td class="link"> |
8427
cebdfdcc3e42
git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8374
diff
changeset
|
78 <a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file</a> | |
cebdfdcc3e42
git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8374
diff
changeset
|
79 <a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">revisions</a> | |
cebdfdcc3e42
git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8374
diff
changeset
|
80 <a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a> |
8374
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
81 </td> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
82 </tr>' |
3277
105253b30239
Moved hgweb map-* files into their style directories and adjusted them.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
3271
diff
changeset
|
83 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
|
84 fileannotate = fileannotate.tmpl |
3353
2edf53386d86
gitweb: add file diff view
Brendan Cully <brendan@kublai.com>
parents:
3305
diff
changeset
|
85 filediff = filediff.tmpl |
17202
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
15375
diff
changeset
|
86 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
|
87 filelog = filelog.tmpl |
8487
338412820a57
gitweb, monoblue: break long line in map file
Martin Geisler <mg@lazybytes.net>
parents:
8427
diff
changeset
|
88 fileline = ' |
338412820a57
gitweb, monoblue: break long line in map file
Martin Geisler <mg@lazybytes.net>
parents:
8427
diff
changeset
|
89 <div style="font-family:monospace" class="parity{parity}"> |
9113
f439d82f018c
gitweb, monoblue: fix double-spacing in file view (issue1733)
Martin Geisler <mg@lazybytes.net>
parents:
8713
diff
changeset
|
90 <pre><a class="linenr" href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}</pre> |
8487
338412820a57
gitweb, monoblue: break long line in map file
Martin Geisler <mg@lazybytes.net>
parents:
8427
diff
changeset
|
91 </div>' |
8374
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
92 annotateline = ' |
8427
cebdfdcc3e42
git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8374
diff
changeset
|
93 <tr style="font-family:monospace" class="parity{parity}"> |
8374
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
94 <td class="linenr" style="text-align: right;"> |
8427
cebdfdcc3e42
git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8374
diff
changeset
|
95 <a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}#l{targetline}" |
cebdfdcc3e42
git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8374
diff
changeset
|
96 title="{node|short}: {desc|escape|firstline}">{author|user}@{rev}</a> |
8374
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
97 </td> |
8427
cebdfdcc3e42
git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8374
diff
changeset
|
98 <td><pre><a class="linenr" href="#{lineid}" id="{lineid}">{linenumber}</a></pre></td> |
cebdfdcc3e42
git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8374
diff
changeset
|
99 <td><pre>{line|escape}</pre></td> |
8374
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
100 </tr>' |
8427
cebdfdcc3e42
git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8374
diff
changeset
|
101 difflineplus = '<span style="color:#008800;"><a class="linenr" href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}</span>' |
cebdfdcc3e42
git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8374
diff
changeset
|
102 difflineminus = '<span style="color:#cc0000;"><a class="linenr" href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}</span>' |
cebdfdcc3e42
git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8374
diff
changeset
|
103 difflineat = '<span style="color:#990099;"><a class="linenr" href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}</span>' |
cebdfdcc3e42
git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8374
diff
changeset
|
104 diffline = '<span><a class="linenr" href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}</span>' |
17202
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
15375
diff
changeset
|
105 |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
15375
diff
changeset
|
106 comparisonblock =' |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
15375
diff
changeset
|
107 <tbody class="block"> |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
15375
diff
changeset
|
108 {lines} |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
15375
diff
changeset
|
109 </tbody>' |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
15375
diff
changeset
|
110 comparisonline = ' |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
15375
diff
changeset
|
111 <tr style="font-family:monospace"> |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
15375
diff
changeset
|
112 <td class="{type}"><pre><a class="linenr" href="#{lineid}" id="{lineid}">{leftlinenumber}</a> {leftline|escape}</pre></td> |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
15375
diff
changeset
|
113 <td class="{type}"><pre><a class="linenr" href="#{lineid}" id="{lineid}">{rightlinenumber}</a> {rightline|escape}</pre></td> |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
15375
diff
changeset
|
114 </tr>' |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
15375
diff
changeset
|
115 |
8374
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
116 changelogparent = ' |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
117 <tr> |
8427
cebdfdcc3e42
git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8374
diff
changeset
|
118 <th class="parent">parent {rev}:</th> |
8374
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
119 <td class="parent"> |
8427
cebdfdcc3e42
git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8374
diff
changeset
|
120 <a href="{url}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
|
121 </td> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
122 </tr>' |
6250
bf0dd23f55fa
gitweb: show branches in most of the templates
Florent Guillaume <fg@nuxeo.com>
parents:
6218
diff
changeset
|
123 changesetbranch = '<tr><td>branch</td><td>{name}</td></tr>' |
8374
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
124 changesetparent = ' |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
125 <tr> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
126 <td>parent {rev}</td> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
127 <td style="font-family:monospace"> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
128 <a class="list" href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
129 </td> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
130 </tr>' |
6250
bf0dd23f55fa
gitweb: show branches in most of the templates
Florent Guillaume <fg@nuxeo.com>
parents:
6218
diff
changeset
|
131 filerevbranch = '<tr><td>branch</td><td>{name}</td></tr>' |
8374
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
132 filerevparent = ' |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
133 <tr> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
134 <td>parent {rev}</td> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
135 <td style="font-family:monospace"> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
136 <a class="list" href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}"> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
137 {rename%filerename}{node|short} |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
138 </a> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
139 </td> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
140 </tr>' |
3393
22a106cb5650
hgweb: better file rename links
Brendan Cully <brendan@kublai.com>
parents:
3366
diff
changeset
|
141 filerename = '{file|escape}@' |
8427
cebdfdcc3e42
git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8374
diff
changeset
|
142 filelogrename = '| <a href="{url}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
|
143 fileannotateparent = ' |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
144 <tr> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
145 <td>parent {rev}</td> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
146 <td style="font-family:monospace"> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
147 <a class="list" href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}"> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
148 {rename%filerename}{node|short} |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
149 </a> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
150 </td> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
151 </tr>' |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
152 changelogchild = ' |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
153 <tr> |
8427
cebdfdcc3e42
git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8374
diff
changeset
|
154 <th class="child">child {rev}:</th> |
cebdfdcc3e42
git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8374
diff
changeset
|
155 <td class="child"><a href="{url}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
|
156 </tr>' |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
157 changesetchild = ' |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
158 <tr> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
159 <td>child {rev}</td> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
160 <td style="font-family:monospace"> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
161 <a class="list" href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
162 </td> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
163 </tr>' |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
164 filerevchild = ' |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
165 <tr> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
166 <td>child {rev}</td> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
167 <td style="font-family:monospace"> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
168 <a class="list" href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
169 </tr>' |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
170 fileannotatechild = ' |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
171 <tr> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
172 <td>child {rev}</td> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
173 <td style="font-family:monospace"> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
174 <a class="list" href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
175 </tr>' |
3277
105253b30239
Moved hgweb map-* files into their style directories and adjusted them.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
3271
diff
changeset
|
176 tags = tags.tmpl |
8374
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
177 tagentry = ' |
8427
cebdfdcc3e42
git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8374
diff
changeset
|
178 <tr class="parity{parity}"> |
15375
fe9d36a6853e
hgweb: fix dynamic date calculation not working under Safari
Brodie Rao <brodie@bitheap.org>
parents:
14046
diff
changeset
|
179 <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
|
180 <td><a class="list" href="{url}rev/{node|short}{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
|
181 <td class="link"> |
8427
cebdfdcc3e42
git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8374
diff
changeset
|
182 <a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a> | |
cebdfdcc3e42
git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8374
diff
changeset
|
183 <a href="{url}log/{node|short}{sessionvars%urlparameter}">changelog</a> | |
cebdfdcc3e42
git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8374
diff
changeset
|
184 <a href="{url}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
|
185 </td> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
186 </tr>' |
13864
fd8a6ca3a750
hgweb: add separate bookmarks listing to gitweb theme (based on 38c9837b1f75)
Yuya Nishihara <yuya@tcha.org>
parents:
13863
diff
changeset
|
187 bookmarks = bookmarks.tmpl |
fd8a6ca3a750
hgweb: add separate bookmarks listing to gitweb theme (based on 38c9837b1f75)
Yuya Nishihara <yuya@tcha.org>
parents:
13863
diff
changeset
|
188 bookmarkentry = ' |
fd8a6ca3a750
hgweb: add separate bookmarks listing to gitweb theme (based on 38c9837b1f75)
Yuya Nishihara <yuya@tcha.org>
parents:
13863
diff
changeset
|
189 <tr class="parity{parity}"> |
15375
fe9d36a6853e
hgweb: fix dynamic date calculation not working under Safari
Brodie Rao <brodie@bitheap.org>
parents:
14046
diff
changeset
|
190 <td class="age"><i class="age">{date|rfc822date}</i></td> |
13864
fd8a6ca3a750
hgweb: add separate bookmarks listing to gitweb theme (based on 38c9837b1f75)
Yuya Nishihara <yuya@tcha.org>
parents:
13863
diff
changeset
|
191 <td><a class="list" href="{url}rev/{node|short}{sessionvars%urlparameter}"><b>{bookmark|escape}</b></a></td> |
fd8a6ca3a750
hgweb: add separate bookmarks listing to gitweb theme (based on 38c9837b1f75)
Yuya Nishihara <yuya@tcha.org>
parents:
13863
diff
changeset
|
192 <td class="link"> |
fd8a6ca3a750
hgweb: add separate bookmarks listing to gitweb theme (based on 38c9837b1f75)
Yuya Nishihara <yuya@tcha.org>
parents:
13863
diff
changeset
|
193 <a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a> | |
fd8a6ca3a750
hgweb: add separate bookmarks listing to gitweb theme (based on 38c9837b1f75)
Yuya Nishihara <yuya@tcha.org>
parents:
13863
diff
changeset
|
194 <a href="{url}log/{node|short}{sessionvars%urlparameter}">changelog</a> | |
fd8a6ca3a750
hgweb: add separate bookmarks listing to gitweb theme (based on 38c9837b1f75)
Yuya Nishihara <yuya@tcha.org>
parents:
13863
diff
changeset
|
195 <a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a> |
fd8a6ca3a750
hgweb: add separate bookmarks listing to gitweb theme (based on 38c9837b1f75)
Yuya Nishihara <yuya@tcha.org>
parents:
13863
diff
changeset
|
196 </td> |
fd8a6ca3a750
hgweb: add separate bookmarks listing to gitweb theme (based on 38c9837b1f75)
Yuya Nishihara <yuya@tcha.org>
parents:
13863
diff
changeset
|
197 </tr>' |
8356
439663cd043a
gitweb: add branches page
Sune Foldager <cryo@cyanite.org>
parents:
8235
diff
changeset
|
198 branches = branches.tmpl |
8374
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
199 branchentry = ' |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
200 <tr class="parity{parity}"> |
15375
fe9d36a6853e
hgweb: fix dynamic date calculation not working under Safari
Brodie Rao <brodie@bitheap.org>
parents:
14046
diff
changeset
|
201 <td class="age"><i class="age">{date|rfc822date}</i></td> |
8374
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
202 <td><a class="list" href="{url}shortlog/{node|short}{sessionvars%urlparameter}"><b>{node|short}</b></a></td> |
8713
de6bb29e208a
hgweb: allow distinction between open/closed branches on branches page
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8487
diff
changeset
|
203 <td class="{status}">{branch|escape}</td> |
8374
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
204 <td class="link"> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
205 <a href="{url}changeset/{node|short}{sessionvars%urlparameter}">changeset</a> | |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
206 <a href="{url}log/{node|short}{sessionvars%urlparameter}">changelog</a> | |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
207 <a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
208 </td> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
209 </tr>' |
8427
cebdfdcc3e42
git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8374
diff
changeset
|
210 diffblock = '<pre>{lines}</pre>' |
8374
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
211 filediffparent = ' |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
212 <tr> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
213 <td>parent {rev}</td> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
214 <td style="font-family:monospace"> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
215 <a class="list" href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}"> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
216 {node|short} |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
217 </a> |
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>' |
17202
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
15375
diff
changeset
|
220 filecompparent = ' |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
15375
diff
changeset
|
221 <tr> |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
15375
diff
changeset
|
222 <td>parent {rev}</td> |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
15375
diff
changeset
|
223 <td style="font-family:monospace"> |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
15375
diff
changeset
|
224 <a class="list" href="{url}comparison/{node|short}/{file|urlescape}{sessionvars%urlparameter}"> |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
15375
diff
changeset
|
225 {node|short} |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
15375
diff
changeset
|
226 </a> |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
15375
diff
changeset
|
227 </td> |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
15375
diff
changeset
|
228 </tr>' |
8374
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
229 filelogparent = ' |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
230 <tr> |
8427
cebdfdcc3e42
git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8374
diff
changeset
|
231 <td align="right">parent {rev}: </td> |
cebdfdcc3e42
git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8374
diff
changeset
|
232 <td><a href="{url}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
|
233 </tr>' |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
234 filediffchild = ' |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
235 <tr> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
236 <td>child {rev}</td> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
237 <td style="font-family:monospace"> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
238 <a class="list" href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
239 </td> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
240 </tr>' |
17202
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
15375
diff
changeset
|
241 filecompchild = ' |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
15375
diff
changeset
|
242 <tr> |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
15375
diff
changeset
|
243 <td>child {rev}</td> |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
15375
diff
changeset
|
244 <td style="font-family:monospace"> |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
15375
diff
changeset
|
245 <a class="list" href="{url}comparison/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a> |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
15375
diff
changeset
|
246 </td> |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
15375
diff
changeset
|
247 </tr>' |
8374
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
248 filelogchild = ' |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
249 <tr> |
8427
cebdfdcc3e42
git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8374
diff
changeset
|
250 <td align="right">child {rev}: </td> |
cebdfdcc3e42
git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8374
diff
changeset
|
251 <td><a href="{url}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
|
252 </tr>' |
3277
105253b30239
Moved hgweb map-* files into their style directories and adjusted them.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
3271
diff
changeset
|
253 shortlog = shortlog.tmpl |
6693
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6657
diff
changeset
|
254 graph = graph.tmpl |
4538
4272ae760bb1
gitweb: Display branch and tag labels
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents:
4500
diff
changeset
|
255 tagtag = '<span class="tagtag" title="{name}">{name}</span> ' |
4272ae760bb1
gitweb: Display branch and tag labels
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents:
4500
diff
changeset
|
256 branchtag = '<span class="branchtag" title="{name}">{name}</span> ' |
6250
bf0dd23f55fa
gitweb: show branches in most of the templates
Florent Guillaume <fg@nuxeo.com>
parents:
6218
diff
changeset
|
257 inbranchtag = '<span class="inbranchtag" title="{name}">{name}</span> ' |
13863
b602ac02f1ba
hgweb: add bookmark labels to gitweb theme (based on 270f57d35525)
Yuya Nishihara <yuya@tcha.org>
parents:
12666
diff
changeset
|
258 bookmarktag = '<span class="bookmarktag" title="{name}">{name}</span> ' |
8374
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
259 shortlogentry = ' |
8427
cebdfdcc3e42
git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8374
diff
changeset
|
260 <tr class="parity{parity}"> |
15375
fe9d36a6853e
hgweb: fix dynamic date calculation not working under Safari
Brodie Rao <brodie@bitheap.org>
parents:
14046
diff
changeset
|
261 <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
|
262 <td><i>{author|person}</i></td> |
8374
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
263 <td> |
8427
cebdfdcc3e42
git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8374
diff
changeset
|
264 <a class="list" href="{url}rev/{node|short}{sessionvars%urlparameter}"> |
cebdfdcc3e42
git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8374
diff
changeset
|
265 <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
|
266 <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
|
267 </a> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
268 </td> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
269 <td class="link" nowrap> |
8427
cebdfdcc3e42
git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8374
diff
changeset
|
270 <a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a> | |
cebdfdcc3e42
git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8374
diff
changeset
|
271 <a href="{url}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
|
272 </td> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
273 </tr>' |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
274 filelogentry = ' |
8427
cebdfdcc3e42
git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8374
diff
changeset
|
275 <tr class="parity{parity}"> |
15375
fe9d36a6853e
hgweb: fix dynamic date calculation not working under Safari
Brodie Rao <brodie@bitheap.org>
parents:
14046
diff
changeset
|
276 <td class="age"><i class="age">{date|rfc822date}</i></td> |
8374
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
277 <td> |
8427
cebdfdcc3e42
git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8374
diff
changeset
|
278 <a class="list" href="{url}rev/{node|short}{sessionvars%urlparameter}"> |
cebdfdcc3e42
git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8374
diff
changeset
|
279 <b>{desc|strip|firstline|escape|nonempty}</b> |
8374
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
280 </a> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
281 </td> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
282 <td class="link"> |
8427
cebdfdcc3e42
git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8374
diff
changeset
|
283 <a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file</a> | <a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">diff</a> | <a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a> {rename%filelogrename}</td> |
8374
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
284 </tr>' |
8427
cebdfdcc3e42
git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8374
diff
changeset
|
285 archiveentry = ' | <a href="{url}archive/{node|short}{extension}">{type|escape}</a> ' |
8374
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
286 indexentry = ' |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
287 <tr class="parity{parity}"> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
288 <td> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
289 <a class="list" href="{url}{sessionvars%urlparameter}"> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
290 <b>{name|escape}</b> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
291 </a> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
292 </td> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
293 <td>{description}</td> |
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
294 <td>{contact|obfuscate}</td> |
15375
fe9d36a6853e
hgweb: fix dynamic date calculation not working under Safari
Brodie Rao <brodie@bitheap.org>
parents:
14046
diff
changeset
|
295 <td class="age">{lastchange|rfc822date}</td> |
8374
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
296 <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
|
297 <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
|
298 '<div class="rss_logo"> |
40374059d227
hgwebdir: do not show RSS and Atom links for plain directories
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
17302
diff
changeset
|
299 <a href="{url}rss-log">RSS</a> <a href="{url}atom-log">Atom</a> |
40374059d227
hgwebdir: do not show RSS and Atom links for plain directories
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
17302
diff
changeset
|
300 </div>' |
40374059d227
hgwebdir: do not show RSS and Atom links for plain directories
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
17302
diff
changeset
|
301 )} |
40374059d227
hgwebdir: do not show RSS and Atom links for plain directories
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
17302
diff
changeset
|
302 </td> |
8374
a3c8b41fcc9d
gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8356
diff
changeset
|
303 </tr>\n' |
6218
345a23eca8f6
gitweb: remove some line breaks in archive and rss columns.
Brendan Cully <brendan@kublai.com>
parents:
6177
diff
changeset
|
304 indexarchiveentry = ' <a href="{url}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
|
305 index = index.tmpl |
8427
cebdfdcc3e42
git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8374
diff
changeset
|
306 urlparameter = '{separator}{name}={value|urlescape}' |
cebdfdcc3e42
git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8374
diff
changeset
|
307 hiddenformentry = '<input type="hidden" name="{name}" value="{value|escape}" />' |