Mercurial > hg
annotate templates/map-raw @ 2094:c067ee483d2e
Fix filerevision-raw.tmpl
Two bugs:
- conteXt-type instead of conteNt-type
- trailing newline
The easiest way to fix the second one (and keep it fixed) is to put
everything inline in map-raw.
author | Alexis S. L. Carvalho <alexis@cecm.usp.br> |
---|---|
date | Wed, 19 Apr 2006 11:39:34 -0700 |
parents | c64bef3d7043 |
children | e30f425a4b2c d5a3cc6520d5 |
rev | line source |
---|---|
201
f918a6fa2572
hgweb: add template filters, template style maps, and raw pages
mpm@selenic.com
parents:
diff
changeset
|
1 header = header-raw.tmpl |
1901
c64bef3d7043
use safer string parser for template engine.
Vadim Gelfer <vadim.gelfer@gmail.com>
parents:
1694
diff
changeset
|
2 footer = '' |
201
f918a6fa2572
hgweb: add template filters, template style maps, and raw pages
mpm@selenic.com
parents:
diff
changeset
|
3 changeset = changeset-raw.tmpl |
1901
c64bef3d7043
use safer string parser for template engine.
Vadim Gelfer <vadim.gelfer@gmail.com>
parents:
1694
diff
changeset
|
4 difflineplus = '#line#' |
c64bef3d7043
use safer string parser for template engine.
Vadim Gelfer <vadim.gelfer@gmail.com>
parents:
1694
diff
changeset
|
5 difflineminus = '#line#' |
c64bef3d7043
use safer string parser for template engine.
Vadim Gelfer <vadim.gelfer@gmail.com>
parents:
1694
diff
changeset
|
6 difflineat = '#line#' |
c64bef3d7043
use safer string parser for template engine.
Vadim Gelfer <vadim.gelfer@gmail.com>
parents:
1694
diff
changeset
|
7 diffline = '#line#' |
c64bef3d7043
use safer string parser for template engine.
Vadim Gelfer <vadim.gelfer@gmail.com>
parents:
1694
diff
changeset
|
8 changesetparent = '# parent: #node#' |
c64bef3d7043
use safer string parser for template engine.
Vadim Gelfer <vadim.gelfer@gmail.com>
parents:
1694
diff
changeset
|
9 changesetchild = '# child: #node#' |
c64bef3d7043
use safer string parser for template engine.
Vadim Gelfer <vadim.gelfer@gmail.com>
parents:
1694
diff
changeset
|
10 filenodelink = '' |
2094
c067ee483d2e
Fix filerevision-raw.tmpl
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents:
1901
diff
changeset
|
11 filerevision = 'Content-Type: #mimetype#\nContent-Disposition: filename=#file#\n\n#raw#' |
1901
c64bef3d7043
use safer string parser for template engine.
Vadim Gelfer <vadim.gelfer@gmail.com>
parents:
1694
diff
changeset
|
12 fileline = '#line#' |
c64bef3d7043
use safer string parser for template engine.
Vadim Gelfer <vadim.gelfer@gmail.com>
parents:
1694
diff
changeset
|
13 diffblock = '#lines#' |
201
f918a6fa2572
hgweb: add template filters, template style maps, and raw pages
mpm@selenic.com
parents:
diff
changeset
|
14 filediff = filediff-raw.tmpl |
1694
03cb6bf43a9b
Added raw view for file annotate in hgweb.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
1693
diff
changeset
|
15 fileannotate = fileannotate-raw.tmpl |
1901
c64bef3d7043
use safer string parser for template engine.
Vadim Gelfer <vadim.gelfer@gmail.com>
parents:
1694
diff
changeset
|
16 annotateline = '#author#@#rev#: #line#' |