Added raw view for file annotate in hgweb.
authorThomas Arendsen Hein <thomas@intevation.de>
Fri, 03 Feb 2006 12:50:02 +0100
changeset 1694 03cb6bf43a9b
parent 1693 74a5cef971aa
child 1696 4a3d4843a1bc
Added raw view for file annotate in hgweb.
templates/fileannotate-gitweb.tmpl
templates/fileannotate-raw.tmpl
templates/fileannotate.tmpl
templates/map-raw
--- a/templates/fileannotate-gitweb.tmpl	Fri Feb 03 11:54:16 2006 +0100
+++ b/templates/fileannotate-gitweb.tmpl	Fri Feb 03 12:50:02 2006 +0100
@@ -10,7 +10,7 @@
 </div>
 
 <div class="page_nav">
-<a href="?cmd=summary;style=gitweb">summary</a> | <a href="?cmd=changelog;style=gitweb">changelog</a> | <a href="?cmd=tags;style=gitweb">tags</a> | <a href="?cmd=manifest;manifest=#manifest#;path=#path|urlescape#;style=gitweb">manifest</a> | <a href="?cmd=changeset;node=#node#;style=gitweb">changeset</a> | <a href="?cmd=file;file=#file|urlescape#;filenode=#filenode#;style=gitweb">file</a> | <a href="?cmd=filelog;file=#file|urlescape#;filenode=#filenode#;style=gitweb">revisions</a> | annotate<br/>
+<a href="?cmd=summary;style=gitweb">summary</a> | <a href="?cmd=changelog;style=gitweb">changelog</a> | <a href="?cmd=tags;style=gitweb">tags</a> | <a href="?cmd=manifest;manifest=#manifest#;path=#path|urlescape#;style=gitweb">manifest</a> | <a href="?cmd=changeset;node=#node#;style=gitweb">changeset</a> | <a href="?cmd=file;file=#file|urlescape#;filenode=#filenode#;style=gitweb">file</a> | <a href="?cmd=filelog;file=#file|urlescape#;filenode=#filenode#;style=gitweb">revisions</a> | annotate | <a href="?cmd=annotate;file=#file|urlescape#;filenode=#filenode#;style=raw">raw</a><br/>
 </div>
 
 <div class="title">#file|escape#</div>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/templates/fileannotate-raw.tmpl	Fri Feb 03 12:50:02 2006 +0100
@@ -0,0 +1,5 @@
+#header#
+#annotate%annotateline#
+#footer#
+
+
--- a/templates/fileannotate.tmpl	Fri Feb 03 11:54:16 2006 +0100
+++ b/templates/fileannotate.tmpl	Fri Feb 03 12:50:02 2006 +0100
@@ -10,6 +10,7 @@
 <a href="?mf=#manifest|short#;path=#path|urlescape#">manifest</a>
 <a href="?f=#filenode|short#;file=#file|urlescape#">file</a>
 <a href="?fl=#filenode|short#;file=#file|urlescape#">revisions</a>
+<a href="?fa=#filenode|short#;file=#file|urlescape#;style=raw">raw</a>
 </div>
 
 <h2>Annotate #file|escape#</h2>
--- a/templates/map-raw	Fri Feb 03 11:54:16 2006 +0100
+++ b/templates/map-raw	Fri Feb 03 12:50:02 2006 +0100
@@ -12,3 +12,5 @@
 fileline = "#line#"
 diffblock = "#lines#"
 filediff = filediff-raw.tmpl
+fileannotate = fileannotate-raw.tmpl
+annotateline = "#author#@#rev#: #line#"