Archives links in gitweb template
Guy Brand
gb at isis.u-strasbg.fr
Mon Jan 2 22:28:21 UTC 2006
Hi,
zip/gz/bz2 links were missing when using gitweb template, the
following patch adds them.
Happy new year all
gb
# HG changeset patch
# User Guy Brand <gb at isis.u-strasbg.fr>
# Node ID 8bd014c8debbefdbcab46c557ebb1cebfa43776a
# Parent d72d27ee72b9032694e2abf3bfa60c8010d82375
Added archives links to gitweb template
diff -r d72d27ee72b9 -r 8bd014c8debb templates/changeset-gitweb.tmpl
--- a/templates/changeset-gitweb.tmpl Thu Dec 29 14:59:19 2005 -0600
+++ b/templates/changeset-gitweb.tmpl Mon Jan 2 23:24:04 2006 +0100
@@ -10,7 +10,7 @@
</div>
<div class="page_nav">
-<a href="?cmd=summary;style=gitweb">summary</a> | <a href="?cmd=changelog;rev=#rev#;style=gitweb">changelog</a> | <a href="?cmd=tags;style=gitweb">tags</a> | <a href="?cmd=manifest;manifest=#manifest#;path=/;style=gitweb">manifest</a> | changeset | <a href="?cmd=changeset;node=#node#;style=raw">raw</a><br/>
+<a href="?cmd=summary;style=gitweb">summary</a> | <a href="?cmd=changelog;rev=#rev#;style=gitweb">changelog</a> | <a href="?cmd=tags;style=gitweb">tags</a> | <a href="?cmd=manifest;manifest=#manifest#;path=/;style=gitweb">manifest</a> | changeset | <a href="?cmd=changeset;node=#node#;style=raw">raw</a> #archives%archiveentry#<br/>
</div>
<div>
diff -r d72d27ee72b9 -r 8bd014c8debb templates/manifest-gitweb.tmpl
--- a/templates/manifest-gitweb.tmpl Thu Dec 29 14:59:19 2005 -0600
+++ b/templates/manifest-gitweb.tmpl Mon Jan 2 23:24:04 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> | manifest | <a href="?cs=#node|short#;style=gitweb">changeset</a><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> | manifest | <a href="?cs=#node|short#;style=gitweb">changeset</a> #archives%archiveentry#<br/>
</div>
<div class="title" >#path|escape#</div>
diff -r d72d27ee72b9 -r 8bd014c8debb templates/map-gitweb
--- a/templates/map-gitweb Thu Dec 29 14:59:19 2005 -0600
+++ b/templates/map-gitweb Mon Jan 2 23:24:04 2006 +0100
@@ -46,3 +46,4 @@
shortlog = shortlog-gitweb.tmpl
shortlogentry = "<tr class="parity#parity#"><td><i>#date|age# ago</i></td><td><a class="list" href="?cmd=changeset;node=#node|short#;style=gitweb"><b>#desc|firstline|escape#</b></a></td><td class="link"><a href="?cmd=changeset;node=#node|short#;style=gitweb">changeset</a> | <a href="?cmd=manifest;manifest=#manifest|short#;path=/;style=gitweb">manifest</a></td></tr>"
filelogentry = "<tr class="parity#parity#"><td><i>#date|age# ago</i></td><td><a class="list" href="?cmd=changeset;node=#node|short#;style=gitweb"><b>#desc|firstline|escape#</b></a></td><td class="link"><!-- FIXME: <a href="?fd=#node|short#;file=#file#;style=gitweb">diff</a> | --> <a href="?fa=#filenode|short#;file=#file#;style=gitweb">annotate</a></td></tr>"
+archiveentry = " | <a href="?ca=#node|short#;type=#type#">#type#</a> "
More information about the Mercurial
mailing list