Mercurial > hg-stable
annotate templates/manifest.tmpl @ 6987:d09e813b21e3
highlight: only pygmentize for HTML mimetypes
For non-html mimetypes it doesn't make much sense. This also fixes the
issue that highlight unconditionally adds a <link/> tag for its CSS to
the template's header (which is pointless in text/plain output).
author | Rocco Rutte <pdmef@gmx.net> |
---|---|
date | Fri, 05 Sep 2008 10:39:57 +0200 |
parents | 7f58dec6aeb7 |
children |
rev | line source |
---|---|
142 | 1 #header# |
6177
673d8a6bc709
Renamed "manifest" to "files" in web templates.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
5273
diff
changeset
|
2 <title>#repo|escape#: files for changeset #node|short#</title> |
142 | 3 </head> |
138 | 4 <body> |
5 | |
154
1d5f799ebe1e
fixed problem with head/body tags, added dtd, fixed table attributes
jake@edge2.net
parents:
153
diff
changeset
|
6 <div class="buttons"> |
3363
ce8f31e0b3b8
hgweb: Apply the new method of passing session variables to links.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
3305
diff
changeset
|
7 <a href="#url#log/#rev#{sessionvars%urlparameter}">changelog</a> |
ce8f31e0b3b8
hgweb: Apply the new method of passing session variables to links.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
3305
diff
changeset
|
8 <a href="#url#shortlog/#rev#{sessionvars%urlparameter}">shortlog</a> |
6693
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6177
diff
changeset
|
9 <a href="#url#graph{sessionvars%urlparameter}">graph</a> |
3363
ce8f31e0b3b8
hgweb: Apply the new method of passing session variables to links.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
3305
diff
changeset
|
10 <a href="#url#tags{sessionvars%urlparameter}">tags</a> |
ce8f31e0b3b8
hgweb: Apply the new method of passing session variables to links.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
3305
diff
changeset
|
11 <a href="#url#rev/#node|short#{sessionvars%urlparameter}">changeset</a> |
1498
78590fb4a82b
hgweb: Added archive download buttons to manifest page.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
1410
diff
changeset
|
12 #archives%archiveentry# |
142 | 13 </div> |
138 | 14 |
6177
673d8a6bc709
Renamed "manifest" to "files" in web templates.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
5273
diff
changeset
|
15 <h2>files for changeset #node|short#: #path|escape#</h2> |
138 | 16 |
359 | 17 <table cellpadding="0" cellspacing="0"> |
4458
e19d9b1223ee
hgweb: manifest: pass parity for the '[up]' link
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents:
3363
diff
changeset
|
18 <tr class="parity#upparity#"> |
359 | 19 <td><tt>drwxr-xr-x</tt> |
3305
0708bdb4987a
hgweb: add file sizes to manifest browsing
Matt Mackall <mpm@selenic.com>
parents:
3273
diff
changeset
|
20 <td> |
5273
6e0f05f6f68d
hgweb: Show date of last change for each file in manifest
Thomas Arendsen Hein <thomas@intevation.de>
parents:
4458
diff
changeset
|
21 <td> |
3363
ce8f31e0b3b8
hgweb: Apply the new method of passing session variables to links.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
3305
diff
changeset
|
22 <td><a href="#url#file/#node|short##up|urlescape#{sessionvars%urlparameter}">[up]</a> |
3305
0708bdb4987a
hgweb: add file sizes to manifest browsing
Matt Mackall <mpm@selenic.com>
parents:
3273
diff
changeset
|
23 </tr> |
6177
673d8a6bc709
Renamed "manifest" to "files" in web templates.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
5273
diff
changeset
|
24 #dentries%direntry# |
673d8a6bc709
Renamed "manifest" to "files" in web templates.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
5273
diff
changeset
|
25 #fentries%fileentry# |
359 | 26 </table> |
153
e8a360cd5a9f
changed pos to rev for changelog cmd, changed & to ;
jake@edge2.net
parents:
142
diff
changeset
|
27 #footer# |