annotate templates/map-raw @ 1899:888d298ddb91

many small changes to templater. get string code to parse escapes. uses eval now, should parse strings itself soon. let caller check if fragment is defined using "in". make templatepath take optional file name.
author Vadim Gelfer <vadim.gelfer@gmail.com>
date Sun, 26 Feb 2006 20:53:37 -0800
parents 03cb6bf43a9b
children c64bef3d7043
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
f918a6fa2572 hgweb: add template filters, template style maps, and raw pages
mpm@selenic.com
parents:
diff changeset
2 footer = ""
f918a6fa2572 hgweb: add template filters, template style maps, and raw pages
mpm@selenic.com
parents:
diff changeset
3 changeset = changeset-raw.tmpl
1692
8225bb79649f hgweb/templates: no need to escape the '<' '>' and '&' in raw templates
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents: 1650
diff changeset
4 difflineplus = "#line#"
8225bb79649f hgweb/templates: no need to escape the '<' '>' and '&' in raw templates
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents: 1650
diff changeset
5 difflineminus = "#line#"
8225bb79649f hgweb/templates: no need to escape the '<' '>' and '&' in raw templates
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents: 1650
diff changeset
6 difflineat = "#line#"
8225bb79649f hgweb/templates: no need to escape the '<' '>' and '&' in raw templates
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents: 1650
diff changeset
7 diffline = "#line#"
201
f918a6fa2572 hgweb: add template filters, template style maps, and raw pages
mpm@selenic.com
parents:
diff changeset
8 changesetparent = "# parent: #node#"
1606
ba625c8083d8 - duplicate the parent link logic to show child links
Muli Ben-Yehuda <mulix@mulix.org>
parents: 201
diff changeset
9 changesetchild = "# child: #node#"
1693
74a5cef971aa hgweb/templates: remove unused vars from map-raw
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents: 1692
diff changeset
10 filenodelink = ""
201
f918a6fa2572 hgweb: add template filters, template style maps, and raw pages
mpm@selenic.com
parents:
diff changeset
11 filerevision = filerevision-raw.tmpl
1692
8225bb79649f hgweb/templates: no need to escape the '<' '>' and '&' in raw templates
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents: 1650
diff changeset
12 fileline = "#line#"
201
f918a6fa2572 hgweb: add template filters, template style maps, and raw pages
mpm@selenic.com
parents:
diff changeset
13 diffblock = "#lines#"
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
03cb6bf43a9b Added raw view for file annotate in hgweb.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 1693
diff changeset
16 annotateline = "#author#@#rev#: #line#"