Mercurial > hg-stable
annotate mercurial/templates/monoblue/map @ 18258:bebb05a7e249
hgweb: add a "URL breadcrumb" to the index and repository pages
The purpose of this change is to make it much easier to navigate up the
repository tree when the hg web server is used to serve more than one
repository.
A "URL breadcrumb" is a path where each of the path items can be clicked to go
to the corresponding path page.
This lets you go up the folder hierarchy very quickly. For example, when showing
the list of repositories in http://myserver/myteams/myprojects, the following
"breadcrumb" will be shown:
Mercurial > myteams > myprojects
Clicking on "myprojects" reloads the page. Clicking on "myteams" goes up one
folder. Clicking on the leftmost "Mercurial" goes to the server root.
This "breadcrumb" also appears on all repository pages. For example on the
summary page of the repository at http://myserver/myteams/myprojects/myrepo the
following will be shown:
Mercurial > myteams > myprojects > myrepo / summary
This change has been applied to all templates that already had a link to the
main repository page (i.e. gitweb, monoblue, paper and coal) plus to the index
page of the spartan template.
In order to make the breadcumb links stand out the some of the template styles
have been customized.
author | Angel Ezquerra <angel.ezquerra at gmail.com> |
---|---|
date | Wed, 28 Nov 2012 20:21:26 +0100 |
parents | 40374059d227 |
children | 9409aeaafdc1 |
rev | line source |
---|---|
7111 | 1 default = 'summary' |
2 mimetype = 'text/html; charset={encoding}' | |
3 header = header.tmpl | |
4 footer = footer.tmpl | |
5 search = search.tmpl | |
6 changelog = changelog.tmpl | |
7 summary = summary.tmpl | |
8 error = error.tmpl | |
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 |
7111 | 16 naventry = '<a href="{url}log/{node|short}{sessionvars%urlparameter}">{label|escape}</a> ' |
17 navshortentry = '<a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">{label|escape}</a> ' | |
18 navgraphentry = '<a href="{url}graph/{node|short}{sessionvars%urlparameter}">{label|escape}</a> ' | |
19 filenaventry = '<a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{label|escape}</a>' | |
8430
8b47efdf40ee
monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8375
diff
changeset
|
20 filedifflink = '<a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}</a> ' |
8375
7c28949d1d1e
monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8355
diff
changeset
|
21 filenodelink = ' |
8430
8b47efdf40ee
monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8375
diff
changeset
|
22 <tr class="parity{parity}"> |
8b47efdf40ee
monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8375
diff
changeset
|
23 <td><a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}</a></td> |
8375
7c28949d1d1e
monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8355
diff
changeset
|
24 <td></td> |
7c28949d1d1e
monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8355
diff
changeset
|
25 <td> |
8430
8b47efdf40ee
monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8375
diff
changeset
|
26 <a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file</a> | |
8b47efdf40ee
monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8375
diff
changeset
|
27 <a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a> | |
8b47efdf40ee
monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8375
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:
16577
diff
changeset
|
29 <a href="{url}comparison/{node|short}/{file|urlescape}{sessionvars%urlparameter}">comparison</a> | |
8430
8b47efdf40ee
monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8375
diff
changeset
|
30 <a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">revisions</a> |
8375
7c28949d1d1e
monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8355
diff
changeset
|
31 </td> |
7c28949d1d1e
monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8355
diff
changeset
|
32 </tr>' |
7c28949d1d1e
monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8355
diff
changeset
|
33 filenolink = ' |
8430
8b47efdf40ee
monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8375
diff
changeset
|
34 <tr class="parity{parity}"> |
14307
d5a65e3ee6b1
monoblue: improve readability of the filenolink template
Steven Brown <StevenGBrown@gmail.com>
parents:
14046
diff
changeset
|
35 <td><a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}</a></td> |
d5a65e3ee6b1
monoblue: improve readability of the filenolink template
Steven Brown <StevenGBrown@gmail.com>
parents:
14046
diff
changeset
|
36 <td></td> |
8375
7c28949d1d1e
monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8355
diff
changeset
|
37 <td> |
14307
d5a65e3ee6b1
monoblue: improve readability of the filenolink template
Steven Brown <StevenGBrown@gmail.com>
parents:
14046
diff
changeset
|
38 file | |
8375
7c28949d1d1e
monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8355
diff
changeset
|
39 annotate | |
8430
8b47efdf40ee
monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8375
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:
16577
diff
changeset
|
41 <a href="{url}comparison/{node|short}/{file|urlescape}{sessionvars%urlparameter}">comparison</a> | |
8430
8b47efdf40ee
monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8375
diff
changeset
|
42 <a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">revisions</a> |
8375
7c28949d1d1e
monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8355
diff
changeset
|
43 </td> |
7c28949d1d1e
monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8355
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 |
7111 | 51 fileellipses = '...' |
52 changelogentry = changelogentry.tmpl | |
53 searchentry = changelogentry.tmpl | |
54 changeset = changeset.tmpl | |
55 manifest = manifest.tmpl | |
8375
7c28949d1d1e
monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8355
diff
changeset
|
56 direntry = ' |
8430
8b47efdf40ee
monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8375
diff
changeset
|
57 <tr class="parity{parity}"> |
8375
7c28949d1d1e
monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8355
diff
changeset
|
58 <td>drwxr-xr-x</td> |
7c28949d1d1e
monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8355
diff
changeset
|
59 <td></td> |
7c28949d1d1e
monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8355
diff
changeset
|
60 <td></td> |
8430
8b47efdf40ee
monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8375
diff
changeset
|
61 <td><a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">{basename|escape}</a></td> |
8b47efdf40ee
monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8375
diff
changeset
|
62 <td><a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">files</a></td> |
8375
7c28949d1d1e
monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8355
diff
changeset
|
63 </tr>' |
7c28949d1d1e
monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8355
diff
changeset
|
64 fileentry = ' |
8430
8b47efdf40ee
monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8375
diff
changeset
|
65 <tr class="parity{parity}"> |
8b47efdf40ee
monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8375
diff
changeset
|
66 <td>{permissions|permissions}</td> |
8b47efdf40ee
monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8375
diff
changeset
|
67 <td>{date|isodate}</td> |
8b47efdf40ee
monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8375
diff
changeset
|
68 <td>{size}</td> |
8b47efdf40ee
monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8375
diff
changeset
|
69 <td><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{basename|escape}</a></td> |
8375
7c28949d1d1e
monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8355
diff
changeset
|
70 <td> |
8430
8b47efdf40ee
monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8375
diff
changeset
|
71 <a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file</a> | |
8b47efdf40ee
monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8375
diff
changeset
|
72 <a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">revisions</a> | |
8b47efdf40ee
monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8375
diff
changeset
|
73 <a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a> |
8375
7c28949d1d1e
monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8355
diff
changeset
|
74 </td> |
7c28949d1d1e
monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8355
diff
changeset
|
75 </tr>' |
7111 | 76 filerevision = filerevision.tmpl |
77 fileannotate = fileannotate.tmpl | |
78 filediff = filediff.tmpl | |
17202
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
16577
diff
changeset
|
79 filecomparison = filecomparison.tmpl |
7111 | 80 filelog = filelog.tmpl |
8487
338412820a57
gitweb, monoblue: break long line in map file
Martin Geisler <mg@lazybytes.net>
parents:
8430
diff
changeset
|
81 fileline = ' |
338412820a57
gitweb, monoblue: break long line in map file
Martin Geisler <mg@lazybytes.net>
parents:
8430
diff
changeset
|
82 <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
|
83 <pre><a class="linenr" href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}</pre> |
8487
338412820a57
gitweb, monoblue: break long line in map file
Martin Geisler <mg@lazybytes.net>
parents:
8430
diff
changeset
|
84 </div>' |
8375
7c28949d1d1e
monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8355
diff
changeset
|
85 annotateline = ' |
7c28949d1d1e
monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8355
diff
changeset
|
86 <tr class="parity{parity}"> |
7c28949d1d1e
monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8355
diff
changeset
|
87 <td class="linenr"> |
16577
f208a4e20018
paper, monoblue: link correctly to lines in annotate view
Martin Geisler <mg@aragost.com>
parents:
15375
diff
changeset
|
88 <a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}#l{targetline}" |
12666
ead4e21f49f1
web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents:
10254
diff
changeset
|
89 title="{node|short}: {desc|escape|firstline}">{author|user}@{rev}</a> |
8375
7c28949d1d1e
monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8355
diff
changeset
|
90 </td> |
7c28949d1d1e
monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8355
diff
changeset
|
91 <td class="lineno"> |
7c28949d1d1e
monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8355
diff
changeset
|
92 <a href="#{lineid}" id="{lineid}">{linenumber}</a> |
7c28949d1d1e
monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8355
diff
changeset
|
93 </td> |
7c28949d1d1e
monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8355
diff
changeset
|
94 <td class="source">{line|escape}</td> |
7c28949d1d1e
monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8355
diff
changeset
|
95 </tr>' |
8430
8b47efdf40ee
monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8375
diff
changeset
|
96 difflineplus = '<span style="color:#008800;"><a class="linenr" href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}</span>' |
8b47efdf40ee
monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8375
diff
changeset
|
97 difflineminus = '<span style="color:#cc0000;"><a class="linenr" href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}</span>' |
8b47efdf40ee
monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8375
diff
changeset
|
98 difflineat = '<span style="color:#990099;"><a class="linenr" href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}</span>' |
8b47efdf40ee
monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8375
diff
changeset
|
99 diffline = '<span><a class="linenr" href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}</span>' |
17202
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
16577
diff
changeset
|
100 |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
16577
diff
changeset
|
101 comparisonblock =' |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
16577
diff
changeset
|
102 <tbody class="block"> |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
16577
diff
changeset
|
103 {lines} |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
16577
diff
changeset
|
104 </tbody>' |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
16577
diff
changeset
|
105 comparisonline = ' |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
16577
diff
changeset
|
106 <tr> |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
16577
diff
changeset
|
107 <td class="source {type}"><a class="linenr" href="#{lineid}" id="{lineid}">{leftlinenumber}</a> {leftline|escape}</td> |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
16577
diff
changeset
|
108 <td class="source {type}"><a class="linenr" href="#{lineid}" id="{lineid}">{rightlinenumber}</a> {rightline|escape}</td> |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
16577
diff
changeset
|
109 </tr>' |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
16577
diff
changeset
|
110 |
8375
7c28949d1d1e
monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8355
diff
changeset
|
111 changelogparent = ' |
7c28949d1d1e
monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8355
diff
changeset
|
112 <tr> |
8430
8b47efdf40ee
monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8375
diff
changeset
|
113 <th class="parent">parent {rev}:</th> |
8375
7c28949d1d1e
monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8355
diff
changeset
|
114 <td class="parent"> |
8430
8b47efdf40ee
monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8375
diff
changeset
|
115 <a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a> |
8375
7c28949d1d1e
monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8355
diff
changeset
|
116 </td> |
7c28949d1d1e
monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8355
diff
changeset
|
117 </tr>' |
7111 | 118 changesetbranch = '<dt>branch</dt><dd>{name}</dd>' |
8375
7c28949d1d1e
monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8355
diff
changeset
|
119 changesetparent = ' |
7c28949d1d1e
monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8355
diff
changeset
|
120 <dt>parent {rev}</dt> |
7c28949d1d1e
monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8355
diff
changeset
|
121 <dd><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></dd>' |
7111 | 122 filerevbranch = '<dt>branch</dt><dd>{name}</dd>' |
8375
7c28949d1d1e
monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8355
diff
changeset
|
123 filerevparent = ' |
7c28949d1d1e
monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8355
diff
changeset
|
124 <dt>parent {rev}</dt> |
7c28949d1d1e
monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8355
diff
changeset
|
125 <dd> |
7c28949d1d1e
monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8355
diff
changeset
|
126 <a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}"> |
7c28949d1d1e
monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8355
diff
changeset
|
127 {rename%filerename}{node|short} |
7c28949d1d1e
monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8355
diff
changeset
|
128 </a> |
7c28949d1d1e
monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8355
diff
changeset
|
129 </dd>' |
7111 | 130 filerename = '{file|escape}@' |
8430
8b47efdf40ee
monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8375
diff
changeset
|
131 filelogrename = '| <a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">base</a>' |
8375
7c28949d1d1e
monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8355
diff
changeset
|
132 fileannotateparent = ' |
7c28949d1d1e
monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8355
diff
changeset
|
133 <dt>parent {rev}</dt> |
7c28949d1d1e
monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8355
diff
changeset
|
134 <dd> |
7c28949d1d1e
monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8355
diff
changeset
|
135 <a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}"> |
7c28949d1d1e
monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8355
diff
changeset
|
136 {rename%filerename}{node|short} |
7c28949d1d1e
monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8355
diff
changeset
|
137 </a> |
7c28949d1d1e
monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8355
diff
changeset
|
138 </dd>' |
7c28949d1d1e
monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8355
diff
changeset
|
139 changelogchild = ' |
8430
8b47efdf40ee
monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8375
diff
changeset
|
140 <dt>child {rev}:</dt> |
8b47efdf40ee
monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8375
diff
changeset
|
141 <dd><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></dd>' |
8375
7c28949d1d1e
monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8355
diff
changeset
|
142 changesetchild = ' |
7c28949d1d1e
monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8355
diff
changeset
|
143 <dt>child {rev}</dt> |
7c28949d1d1e
monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8355
diff
changeset
|
144 <dd><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></dd>' |
7c28949d1d1e
monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8355
diff
changeset
|
145 filerevchild = ' |
7c28949d1d1e
monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8355
diff
changeset
|
146 <dt>child {rev}</dt> |
7c28949d1d1e
monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8355
diff
changeset
|
147 <dd> |
7c28949d1d1e
monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8355
diff
changeset
|
148 <a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a> |
7c28949d1d1e
monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8355
diff
changeset
|
149 </dd>' |
7c28949d1d1e
monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8355
diff
changeset
|
150 fileannotatechild = ' |
7c28949d1d1e
monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8355
diff
changeset
|
151 <dt>child {rev}</dt> |
7c28949d1d1e
monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8355
diff
changeset
|
152 <dd> |
7c28949d1d1e
monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8355
diff
changeset
|
153 <a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a> |
7c28949d1d1e
monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8355
diff
changeset
|
154 </dd>' |
7111 | 155 tags = tags.tmpl |
8375
7c28949d1d1e
monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8355
diff
changeset
|
156 tagentry = ' |
8430
8b47efdf40ee
monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8375
diff
changeset
|
157 <tr class="parity{parity}"> |
15375
fe9d36a6853e
hgweb: fix dynamic date calculation not working under Safari
Brodie Rao <brodie@bitheap.org>
parents:
14307
diff
changeset
|
158 <td class="nowrap age">{date|rfc822date}</td> |
8430
8b47efdf40ee
monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8375
diff
changeset
|
159 <td><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{tag|escape}</a></td> |
8375
7c28949d1d1e
monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8355
diff
changeset
|
160 <td class="nowrap"> |
8430
8b47efdf40ee
monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8375
diff
changeset
|
161 <a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a> | |
8b47efdf40ee
monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8375
diff
changeset
|
162 <a href="{url}log/{node|short}{sessionvars%urlparameter}">changelog</a> | |
8b47efdf40ee
monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8375
diff
changeset
|
163 <a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a> |
8375
7c28949d1d1e
monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8355
diff
changeset
|
164 </td> |
7c28949d1d1e
monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8355
diff
changeset
|
165 </tr>' |
13860
b5b84dd43613
hgweb: add separate bookmarks listing to monoblue theme (based on 38c9837b1f75)
Yuya Nishihara <yuya@tcha.org>
parents:
13794
diff
changeset
|
166 bookmarks = bookmarks.tmpl |
b5b84dd43613
hgweb: add separate bookmarks listing to monoblue theme (based on 38c9837b1f75)
Yuya Nishihara <yuya@tcha.org>
parents:
13794
diff
changeset
|
167 bookmarkentry = ' |
b5b84dd43613
hgweb: add separate bookmarks listing to monoblue theme (based on 38c9837b1f75)
Yuya Nishihara <yuya@tcha.org>
parents:
13794
diff
changeset
|
168 <tr class="parity{parity}"> |
15375
fe9d36a6853e
hgweb: fix dynamic date calculation not working under Safari
Brodie Rao <brodie@bitheap.org>
parents:
14307
diff
changeset
|
169 <td class="nowrap date">{date|rfc822date}</td> |
13860
b5b84dd43613
hgweb: add separate bookmarks listing to monoblue theme (based on 38c9837b1f75)
Yuya Nishihara <yuya@tcha.org>
parents:
13794
diff
changeset
|
170 <td><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{bookmark|escape}</a></td> |
b5b84dd43613
hgweb: add separate bookmarks listing to monoblue theme (based on 38c9837b1f75)
Yuya Nishihara <yuya@tcha.org>
parents:
13794
diff
changeset
|
171 <td class="nowrap"> |
b5b84dd43613
hgweb: add separate bookmarks listing to monoblue theme (based on 38c9837b1f75)
Yuya Nishihara <yuya@tcha.org>
parents:
13794
diff
changeset
|
172 <a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a> | |
b5b84dd43613
hgweb: add separate bookmarks listing to monoblue theme (based on 38c9837b1f75)
Yuya Nishihara <yuya@tcha.org>
parents:
13794
diff
changeset
|
173 <a href="{url}log/{node|short}{sessionvars%urlparameter}">changelog</a> | |
b5b84dd43613
hgweb: add separate bookmarks listing to monoblue theme (based on 38c9837b1f75)
Yuya Nishihara <yuya@tcha.org>
parents:
13794
diff
changeset
|
174 <a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a> |
b5b84dd43613
hgweb: add separate bookmarks listing to monoblue theme (based on 38c9837b1f75)
Yuya Nishihara <yuya@tcha.org>
parents:
13794
diff
changeset
|
175 </td> |
b5b84dd43613
hgweb: add separate bookmarks listing to monoblue theme (based on 38c9837b1f75)
Yuya Nishihara <yuya@tcha.org>
parents:
13794
diff
changeset
|
176 </tr>' |
8355
5ba798f339c8
monoblue: add branches page
Sune Foldager <cryo@cyanite.org>
parents:
8235
diff
changeset
|
177 branches = branches.tmpl |
8375
7c28949d1d1e
monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8355
diff
changeset
|
178 branchentry = ' |
7c28949d1d1e
monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8355
diff
changeset
|
179 <tr class="parity{parity}"> |
15375
fe9d36a6853e
hgweb: fix dynamic date calculation not working under Safari
Brodie Rao <brodie@bitheap.org>
parents:
14307
diff
changeset
|
180 <td class="nowrap age">{date|rfc822date}</td> |
8375
7c28949d1d1e
monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8355
diff
changeset
|
181 <td><a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">{node|short}</a></td> |
8713
de6bb29e208a
hgweb: allow distinction between open/closed branches on branches page
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8487
diff
changeset
|
182 <td class="{status}">{branch|escape}</td> |
8375
7c28949d1d1e
monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8355
diff
changeset
|
183 <td class="nowrap"> |
7c28949d1d1e
monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8355
diff
changeset
|
184 <a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a> | |
7c28949d1d1e
monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8355
diff
changeset
|
185 <a href="{url}log/{node|short}{sessionvars%urlparameter}">changelog</a> | |
7c28949d1d1e
monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8355
diff
changeset
|
186 <a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a> |
7c28949d1d1e
monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8355
diff
changeset
|
187 </td> |
7c28949d1d1e
monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8355
diff
changeset
|
188 </tr>' |
8430
8b47efdf40ee
monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8375
diff
changeset
|
189 diffblock = '<pre>{lines}</pre>' |
8375
7c28949d1d1e
monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8355
diff
changeset
|
190 filediffparent = ' |
7c28949d1d1e
monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8355
diff
changeset
|
191 <dt>parent {rev}</dt> |
7c28949d1d1e
monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8355
diff
changeset
|
192 <dd><a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></dd>' |
17202
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
16577
diff
changeset
|
193 filecompparent = ' |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
16577
diff
changeset
|
194 <dt>parent {rev}</dt> |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
16577
diff
changeset
|
195 <dd><a href="{url}comparison/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></dd>' |
8375
7c28949d1d1e
monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8355
diff
changeset
|
196 filelogparent = ' |
7c28949d1d1e
monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8355
diff
changeset
|
197 <tr> |
8430
8b47efdf40ee
monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8375
diff
changeset
|
198 <td align="right">parent {rev}: </td> |
8b47efdf40ee
monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8375
diff
changeset
|
199 <td><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td> |
8375
7c28949d1d1e
monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8355
diff
changeset
|
200 </tr>' |
7c28949d1d1e
monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8355
diff
changeset
|
201 filediffchild = ' |
7c28949d1d1e
monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8355
diff
changeset
|
202 <dt>child {rev}</dt> |
7c28949d1d1e
monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8355
diff
changeset
|
203 <dd><a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></dd>' |
17202
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
16577
diff
changeset
|
204 filecompchild = ' |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
16577
diff
changeset
|
205 <dt>child {rev}</dt> |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
16577
diff
changeset
|
206 <dd><a href="{url}comparison/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></dd>' |
8375
7c28949d1d1e
monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8355
diff
changeset
|
207 filelogchild = ' |
7c28949d1d1e
monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8355
diff
changeset
|
208 <tr> |
8430
8b47efdf40ee
monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8375
diff
changeset
|
209 <td align="right">child {rev}: </td> |
8b47efdf40ee
monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8375
diff
changeset
|
210 <td><a href="{url}file{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td> |
8375
7c28949d1d1e
monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8355
diff
changeset
|
211 </tr>' |
7111 | 212 shortlog = shortlog.tmpl |
213 tagtag = '<span class="tagtag" title="{name}">{name}</span> ' | |
214 branchtag = '<span class="branchtag" title="{name}">{name}</span> ' | |
215 inbranchtag = '<span class="inbranchtag" title="{name}">{name}</span> ' | |
13794
5c18a0bca26f
hgweb: add bookmark labels to monoblue theme (based on 270f57d35525)
Yuya Nishihara <yuya@tcha.org>
parents:
12666
diff
changeset
|
216 bookmarktag = '<span class="bookmarktag" title="{name}">{name}</span> ' |
8375
7c28949d1d1e
monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8355
diff
changeset
|
217 shortlogentry = ' |
8430
8b47efdf40ee
monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8375
diff
changeset
|
218 <tr class="parity{parity}"> |
15375
fe9d36a6853e
hgweb: fix dynamic date calculation not working under Safari
Brodie Rao <brodie@bitheap.org>
parents:
14307
diff
changeset
|
219 <td class="nowrap age">{date|rfc822date}</td> |
8430
8b47efdf40ee
monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8375
diff
changeset
|
220 <td>{author|person}</td> |
8375
7c28949d1d1e
monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8355
diff
changeset
|
221 <td> |
8430
8b47efdf40ee
monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8375
diff
changeset
|
222 <a href="{url}rev/{node|short}{sessionvars%urlparameter}"> |
8b47efdf40ee
monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8375
diff
changeset
|
223 {desc|strip|firstline|escape|nonempty} |
13794
5c18a0bca26f
hgweb: add bookmark labels to monoblue theme (based on 270f57d35525)
Yuya Nishihara <yuya@tcha.org>
parents:
12666
diff
changeset
|
224 <span class="logtags">{inbranch%inbranchtag}{branches%branchtag}{tags%tagtag}{bookmarks%bookmarktag}</span> |
8375
7c28949d1d1e
monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8355
diff
changeset
|
225 </a> |
7c28949d1d1e
monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8355
diff
changeset
|
226 </td> |
7c28949d1d1e
monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8355
diff
changeset
|
227 <td class="nowrap"> |
8430
8b47efdf40ee
monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8375
diff
changeset
|
228 <a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a> | |
8b47efdf40ee
monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8375
diff
changeset
|
229 <a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a> |
8375
7c28949d1d1e
monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8355
diff
changeset
|
230 </td> |
7c28949d1d1e
monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8355
diff
changeset
|
231 </tr>' |
7c28949d1d1e
monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8355
diff
changeset
|
232 filelogentry = ' |
8430
8b47efdf40ee
monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8375
diff
changeset
|
233 <tr class="parity{parity}"> |
15375
fe9d36a6853e
hgweb: fix dynamic date calculation not working under Safari
Brodie Rao <brodie@bitheap.org>
parents:
14307
diff
changeset
|
234 <td class="nowrap age">{date|rfc822date}</td> |
8430
8b47efdf40ee
monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8375
diff
changeset
|
235 <td><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{desc|strip|firstline|escape|nonempty}</a></td> |
8375
7c28949d1d1e
monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8355
diff
changeset
|
236 <td class="nowrap"> |
8430
8b47efdf40ee
monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8375
diff
changeset
|
237 <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> |
8b47efdf40ee
monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8375
diff
changeset
|
238 {rename%filelogrename} |
8375
7c28949d1d1e
monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8355
diff
changeset
|
239 </td> |
7c28949d1d1e
monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8355
diff
changeset
|
240 </tr>' |
8430
8b47efdf40ee
monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8375
diff
changeset
|
241 archiveentry = '<li><a href="{url}archive/{node|short}{extension}">{type|escape}</a></li>' |
8375
7c28949d1d1e
monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8355
diff
changeset
|
242 indexentry = ' |
7c28949d1d1e
monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8355
diff
changeset
|
243 <tr class="parity{parity}"> |
7c28949d1d1e
monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8355
diff
changeset
|
244 <td><a href="{url}{sessionvars%urlparameter}">{name|escape}</a></td> |
7c28949d1d1e
monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8355
diff
changeset
|
245 <td>{description}</td> |
7c28949d1d1e
monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8355
diff
changeset
|
246 <td>{contact|obfuscate}</td> |
15375
fe9d36a6853e
hgweb: fix dynamic date calculation not working under Safari
Brodie Rao <brodie@bitheap.org>
parents:
14307
diff
changeset
|
247 <td class="age">{lastchange|rfc822date}</td> |
8375
7c28949d1d1e
monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8355
diff
changeset
|
248 <td class="indexlinks">{archives%indexarchiveentry}</td> |
7c28949d1d1e
monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8355
diff
changeset
|
249 <td> |
18046
40374059d227
hgwebdir: do not show RSS and Atom links for plain directories
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
17302
diff
changeset
|
250 {if(isdirectory, '', |
40374059d227
hgwebdir: do not show RSS and Atom links for plain directories
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
17302
diff
changeset
|
251 '<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
|
252 <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
|
253 </div>' |
40374059d227
hgwebdir: do not show RSS and Atom links for plain directories
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
17302
diff
changeset
|
254 )} |
8375
7c28949d1d1e
monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8355
diff
changeset
|
255 </td> |
7c28949d1d1e
monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents:
8355
diff
changeset
|
256 </tr>\n' |
7111 | 257 indexarchiveentry = '<a href="{url}archive/{node|short}{extension}">{type|escape}</a> ' |
258 index = index.tmpl | |
8430
8b47efdf40ee
monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8375
diff
changeset
|
259 urlparameter = '{separator}{name}={value|urlescape}' |
8b47efdf40ee
monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8375
diff
changeset
|
260 hiddenformentry = '<input type="hidden" name="{name}" value="{value|escape}" />' |
7111 | 261 graph = graph.tmpl |
18258
bebb05a7e249
hgweb: add a "URL breadcrumb" to the index and repository pages
Angel Ezquerra <angel.ezquerra at gmail.com>
parents:
18046
diff
changeset
|
262 breadcrumb = '> <a href="{url}">{name}</a> ' |