Mercurial > hg-stable
changeset 1574:32b091ce4026
[hgweb] More gitweb style related fixes
Fixed manifest link on tags page
Fixed changeset link on manifest page
author | Josef "Jeff" Sipek <jeffpc@optonline.net> |
---|---|
date | Mon, 05 Dec 2005 05:01:28 -0500 |
parents | 28305666f4c9 |
children | 0a1cca912fda |
files | mercurial/hgweb.py templates/manifest-gitweb.tmpl templates/map-gitweb |
diffstat | 3 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/hgweb.py Mon Dec 05 04:49:37 2005 -0500 +++ b/mercurial/hgweb.py Mon Dec 05 05:01:28 2005 -0500 @@ -632,6 +632,7 @@ for k,n in i: yield {"parity": parity, "tag": k, + "manifest": hex(cl.read(n)[0]), "date": cl.read(n)[2], "node": hex(n)} parity = 1 - parity
--- a/templates/manifest-gitweb.tmpl Mon Dec 05 04:49:37 2005 -0500 +++ b/templates/manifest-gitweb.tmpl Mon Dec 05 05:01:28 2005 -0500 @@ -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="http://FIXME">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><br/> </div> <div class="title" >#path|escape#</div>
--- a/templates/map-gitweb Mon Dec 05 04:49:37 2005 -0500 +++ b/templates/map-gitweb Mon Dec 05 05:01:28 2005 -0500 @@ -32,7 +32,7 @@ filerevparent = "<tr><td class="metatag">parent:</td><td><a href="?cmd=file;file=#file#;filenode=#node#;style=gitweb">#node|short#</a></td></tr>" fileannotateparent = "<tr><td class="metatag">parent:</td><td><a href="?cmd=annotate;file=#file#;filenode=#node#;style=gitweb">#node|short#</a></td></tr>" tags = tags-gitweb.tmpl -tagentry = "<tr class="parity#parity#"><td><i>#date|age# ago</i></td><td><a class="list" href="?cmd=changeset;node=#node|short#;style=gitweb"><b>#tag#</b></a></td><td class="link"><a href="?cmd=changeset;node=#node|short#;style=gitweb">changeset</a> | <a href="?cmd=changelog;rev=#node|short#;style=gitweb">changelog</a> | <a href="?cmd=manifest;manifest=#manifest|short#;path=/;style=gitweb">manifest</a></td></tr>" +tagentry = "<tr class="parity#parity#"><td><i>#date|age# ago</i></td><td><a class="list" href="?cmd=changeset;node=#node|short#;style=gitweb"><b>#tag#</b></a></td><td class="link"><a href="?cmd=changeset;node=#node|short#;style=gitweb">changeset</a> | <a href="?cmd=changelog;rev=#node|short#;style=gitweb">changelog</a> | <a href="?mf=#manifest|short#;path=/;style=gitweb">manifest</a></td></tr>" diffblock = "#lines#" changelogtag = "<tr><th class="tag">tag:</th><td class="tag">#tag#</td></tr>" changesettag = "<tr><td>tag</td><td>#tag#</td></tr>"