Mercurial > hg
comparison mercurial/templates/gitweb/map @ 9999:f91e5630ce7e
setup: install translation files as package data
Remove the `install_package_data' subclass of `install_data' and use
the `package_data' functionality provided by distutils instead. As
package data must be located within the package directory, the data
files are now generated in the build directory.
To simplify the functionality of this change, the top-level `doc' and
`templates' directories have been moved into the `mercurial' package
directory.
author | Dan Villiom Podlaski Christiansen <danchr@gmail.com> |
---|---|
date | Tue, 01 Dec 2009 16:06:10 +0100 |
parents | templates/gitweb/map@1d75c683ada1 |
children | 8d5de52431f2 |
comparison
equal
deleted
inserted
replaced
9998:4a3c388f8c69 | 9999:f91e5630ce7e |
---|---|
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 | |
10 naventry = '<a href="{url}log/{node|short}{sessionvars%urlparameter}">{label|escape}</a> ' | |
11 navshortentry = '<a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">{label|escape}</a> ' | |
12 navgraphentry = '<a href="{url}graph/{node|short}{sessionvars%urlparameter}">{label|escape}</a> ' | |
13 filenaventry = '<a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{label|escape}</a> ' | |
14 filedifflink = '<a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}</a> ' | |
15 filenodelink = ' | |
16 <tr class="parity{parity}"> | |
17 <td><a class="list" href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}</a></td> | |
18 <td></td> | |
19 <td class="link"> | |
20 <a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file</a> | | |
21 <a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a> | | |
22 <a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">diff</a> | | |
23 <a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">revisions</a> | |
24 </td> | |
25 </tr>' | |
26 filenolink = ' | |
27 <tr class="parity{parity}"> | |
28 <td><a class="list" href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}</a></td> | |
29 <td></td> | |
30 <td class="link"> | |
31 file | | |
32 annotate | | |
33 <a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">diff</a> | | |
34 <a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">revisions</a> | |
35 </td> | |
36 </tr>' | |
37 fileellipses = '...' | |
38 changelogentry = changelogentry.tmpl | |
39 searchentry = changelogentry.tmpl | |
40 changeset = changeset.tmpl | |
41 manifest = manifest.tmpl | |
42 direntry = ' | |
43 <tr class="parity{parity}"> | |
44 <td style="font-family:monospace">drwxr-xr-x</td> | |
45 <td style="font-family:monospace"></td> | |
46 <td style="font-family:monospace"></td> | |
47 <td> | |
48 <a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">{basename|escape}</a> | |
49 <a href="{url}file/{node|short}{path|urlescape}/{emptydirs|urlescape}{sessionvars%urlparameter}">{emptydirs|escape}</a> | |
50 </td> | |
51 <td class="link"> | |
52 <a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">files</a> | |
53 </td> | |
54 </tr>' | |
55 fileentry = ' | |
56 <tr class="parity{parity}"> | |
57 <td style="font-family:monospace">{permissions|permissions}</td> | |
58 <td style="font-family:monospace" align=right>{date|isodate}</td> | |
59 <td style="font-family:monospace" align=right>{size}</td> | |
60 <td class="list"> | |
61 <a class="list" href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{basename|escape}</a> | |
62 </td> | |
63 <td class="link"> | |
64 <a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file</a> | | |
65 <a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">revisions</a> | | |
66 <a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a> | |
67 </td> | |
68 </tr>' | |
69 filerevision = filerevision.tmpl | |
70 fileannotate = fileannotate.tmpl | |
71 filediff = filediff.tmpl | |
72 filelog = filelog.tmpl | |
73 fileline = ' | |
74 <div style="font-family:monospace" class="parity{parity}"> | |
75 <pre><a class="linenr" href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}</pre> | |
76 </div>' | |
77 annotateline = ' | |
78 <tr style="font-family:monospace" class="parity{parity}"> | |
79 <td class="linenr" style="text-align: right;"> | |
80 <a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}#l{targetline}" | |
81 title="{node|short}: {desc|escape|firstline}">{author|user}@{rev}</a> | |
82 </td> | |
83 <td><pre><a class="linenr" href="#{lineid}" id="{lineid}">{linenumber}</a></pre></td> | |
84 <td><pre>{line|escape}</pre></td> | |
85 </tr>' | |
86 difflineplus = '<span style="color:#008800;"><a class="linenr" href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}</span>' | |
87 difflineminus = '<span style="color:#cc0000;"><a class="linenr" href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}</span>' | |
88 difflineat = '<span style="color:#990099;"><a class="linenr" href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}</span>' | |
89 diffline = '<span><a class="linenr" href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}</span>' | |
90 changelogparent = ' | |
91 <tr> | |
92 <th class="parent">parent {rev}:</th> | |
93 <td class="parent"> | |
94 <a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a> | |
95 </td> | |
96 </tr>' | |
97 changesetbranch = '<tr><td>branch</td><td>{name}</td></tr>' | |
98 changesetparent = ' | |
99 <tr> | |
100 <td>parent {rev}</td> | |
101 <td style="font-family:monospace"> | |
102 <a class="list" href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a> | |
103 </td> | |
104 </tr>' | |
105 filerevbranch = '<tr><td>branch</td><td>{name}</td></tr>' | |
106 filerevparent = ' | |
107 <tr> | |
108 <td>parent {rev}</td> | |
109 <td style="font-family:monospace"> | |
110 <a class="list" href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}"> | |
111 {rename%filerename}{node|short} | |
112 </a> | |
113 </td> | |
114 </tr>' | |
115 filerename = '{file|escape}@' | |
116 filelogrename = '| <a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">base</a>' | |
117 fileannotateparent = ' | |
118 <tr> | |
119 <td>parent {rev}</td> | |
120 <td style="font-family:monospace"> | |
121 <a class="list" href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}"> | |
122 {rename%filerename}{node|short} | |
123 </a> | |
124 </td> | |
125 </tr>' | |
126 changelogchild = ' | |
127 <tr> | |
128 <th class="child">child {rev}:</th> | |
129 <td class="child"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td> | |
130 </tr>' | |
131 changesetchild = ' | |
132 <tr> | |
133 <td>child {rev}</td> | |
134 <td style="font-family:monospace"> | |
135 <a class="list" href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a> | |
136 </td> | |
137 </tr>' | |
138 filerevchild = ' | |
139 <tr> | |
140 <td>child {rev}</td> | |
141 <td style="font-family:monospace"> | |
142 <a class="list" href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td> | |
143 </tr>' | |
144 fileannotatechild = ' | |
145 <tr> | |
146 <td>child {rev}</td> | |
147 <td style="font-family:monospace"> | |
148 <a class="list" href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td> | |
149 </tr>' | |
150 tags = tags.tmpl | |
151 tagentry = ' | |
152 <tr class="parity{parity}"> | |
153 <td class="age"><i>{date|age}</i></td> | |
154 <td><a class="list" href="{url}rev/{node|short}{sessionvars%urlparameter}"><b>{tag|escape}</b></a></td> | |
155 <td class="link"> | |
156 <a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a> | | |
157 <a href="{url}log/{node|short}{sessionvars%urlparameter}">changelog</a> | | |
158 <a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a> | |
159 </td> | |
160 </tr>' | |
161 branches = branches.tmpl | |
162 branchentry = ' | |
163 <tr class="parity{parity}"> | |
164 <td class="age"><i>{date|age}</i></td> | |
165 <td><a class="list" href="{url}shortlog/{node|short}{sessionvars%urlparameter}"><b>{node|short}</b></a></td> | |
166 <td class="{status}">{branch|escape}</td> | |
167 <td class="link"> | |
168 <a href="{url}changeset/{node|short}{sessionvars%urlparameter}">changeset</a> | | |
169 <a href="{url}log/{node|short}{sessionvars%urlparameter}">changelog</a> | | |
170 <a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a> | |
171 </td> | |
172 </tr>' | |
173 diffblock = '<pre>{lines}</pre>' | |
174 filediffparent = ' | |
175 <tr> | |
176 <td>parent {rev}</td> | |
177 <td style="font-family:monospace"> | |
178 <a class="list" href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}"> | |
179 {node|short} | |
180 </a> | |
181 </td> | |
182 </tr>' | |
183 filelogparent = ' | |
184 <tr> | |
185 <td align="right">parent {rev}: </td> | |
186 <td><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td> | |
187 </tr>' | |
188 filediffchild = ' | |
189 <tr> | |
190 <td>child {rev}</td> | |
191 <td style="font-family:monospace"> | |
192 <a class="list" href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a> | |
193 </td> | |
194 </tr>' | |
195 filelogchild = ' | |
196 <tr> | |
197 <td align="right">child {rev}: </td> | |
198 <td><a href="{url}file{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td> | |
199 </tr>' | |
200 shortlog = shortlog.tmpl | |
201 graph = graph.tmpl | |
202 tagtag = '<span class="tagtag" title="{name}">{name}</span> ' | |
203 branchtag = '<span class="branchtag" title="{name}">{name}</span> ' | |
204 inbranchtag = '<span class="inbranchtag" title="{name}">{name}</span> ' | |
205 shortlogentry = ' | |
206 <tr class="parity{parity}"> | |
207 <td class="age"><i>{date|age}</i></td> | |
208 <td><i>{author|person}</i></td> | |
209 <td> | |
210 <a class="list" href="{url}rev/{node|short}{sessionvars%urlparameter}"> | |
211 <b>{desc|strip|firstline|escape|nonempty}</b> | |
212 <span class="logtags">{inbranch%inbranchtag}{branches%branchtag}{tags%tagtag}</span> | |
213 </a> | |
214 </td> | |
215 <td class="link" nowrap> | |
216 <a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a> | | |
217 <a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a> | |
218 </td> | |
219 </tr>' | |
220 filelogentry = ' | |
221 <tr class="parity{parity}"> | |
222 <td class="age"><i>{date|age}</i></td> | |
223 <td> | |
224 <a class="list" href="{url}rev/{node|short}{sessionvars%urlparameter}"> | |
225 <b>{desc|strip|firstline|escape|nonempty}</b> | |
226 </a> | |
227 </td> | |
228 <td class="link"> | |
229 <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> | |
230 </tr>' | |
231 archiveentry = ' | <a href="{url}archive/{node|short}{extension}">{type|escape}</a> ' | |
232 indexentry = ' | |
233 <tr class="parity{parity}"> | |
234 <td> | |
235 <a class="list" href="{url}{sessionvars%urlparameter}"> | |
236 <b>{name|escape}</b> | |
237 </a> | |
238 </td> | |
239 <td>{description}</td> | |
240 <td>{contact|obfuscate}</td> | |
241 <td class="age">{lastchange|age}</td> | |
242 <td class="indexlinks">{archives%indexarchiveentry}</td> | |
243 <td><div class="rss_logo"><a href="{url}rss-log">RSS</a> <a href="{url}atom-log">Atom</a></div></td> | |
244 </tr>\n' | |
245 indexarchiveentry = ' <a href="{url}archive/{node|short}{extension}">{type|escape}</a> ' | |
246 index = index.tmpl | |
247 urlparameter = '{separator}{name}={value|urlescape}' | |
248 hiddenformentry = '<input type="hidden" name="{name}" value="{value|escape}" />' |