changeset 6775:54ccf41761c9

coal: include current node in log, graph menu links
author Brendan Cully <brendan@kublai.com>
date Thu, 26 Jun 2008 13:37:47 -0700
parents 0dbb56e90a71
children 39319a457dda
files templates/coal/changeset.tmpl templates/coal/fileannotate.tmpl templates/coal/filediff.tmpl templates/coal/filelog.tmpl templates/coal/filerevision.tmpl templates/coal/graph.tmpl templates/coal/manifest.tmpl templates/coal/shortlog.tmpl
diffstat 8 files changed, 14 insertions(+), 14 deletions(-) [+]
line wrap: on
line diff
--- a/templates/coal/changeset.tmpl	Thu Jun 26 13:45:39 2008 +0200
+++ b/templates/coal/changeset.tmpl	Thu Jun 26 13:37:47 2008 -0700
@@ -9,8 +9,8 @@
 <img src="{staticurl}hglogo.png" width=75 height=90 border=0 alt="mercurial"></a>
 </div>
 <ul>
- <li><a href="{url}shortlog{sessionvars%urlparameter}">log</a></li>
- <li><a href="{url}graph{sessionvars%urlparameter}">graph</a></li>
+ <li><a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">log</a></li>
+ <li><a href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li>
  <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li>
 </ul>
 <ul>
--- a/templates/coal/fileannotate.tmpl	Thu Jun 26 13:45:39 2008 +0200
+++ b/templates/coal/fileannotate.tmpl	Thu Jun 26 13:37:47 2008 -0700
@@ -10,8 +10,8 @@
 <img src="{staticurl}hglogo.png" width=75 height=90 border=0 alt="mercurial"></a>
 </div>
 <ul>
-<li><a href="{url}shortlog/{sessionvars%urlparameter}">log</a></li>
-<li><a href="{url}graph/{sessionvars%urlparameter}">graph</a></li>
+<li><a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">log</a></li>
+<li><a href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li>
 <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li>
 </ul>
 
--- a/templates/coal/filediff.tmpl	Thu Jun 26 13:45:39 2008 +0200
+++ b/templates/coal/filediff.tmpl	Thu Jun 26 13:37:47 2008 -0700
@@ -10,8 +10,8 @@
 <img src="{staticurl}hglogo.png" width=75 height=90 border=0 alt="mercurial"></a>
 </div>
 <ul>
-<li><a href="{url}shortlog/{sessionvars%urlparameter}">log</a></li>
-<li><a href="{url}graph/{sessionvars%urlparameter}">graph</a></li>
+<li><a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">log</a></li>
+<li><a href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li>
 <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li>
 </ul>
 <ul>
--- a/templates/coal/filelog.tmpl	Thu Jun 26 13:45:39 2008 +0200
+++ b/templates/coal/filelog.tmpl	Thu Jun 26 13:37:47 2008 -0700
@@ -15,8 +15,8 @@
 <img src="{staticurl}hglogo.png" width=75 height=90 border=0 alt="mercurial"></a>
 </div>
 <ul>
-<li><a href="{url}shortlog/{sessionvars%urlparameter}">log</a></li>
-<li><a href="{url}graph/{sessionvars%urlparameter}">graph</a></li>
+<li><a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">log</a></li>
+<li><a href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li>
 <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li>
 </ul>
 <ul>
--- a/templates/coal/filerevision.tmpl	Thu Jun 26 13:45:39 2008 +0200
+++ b/templates/coal/filerevision.tmpl	Thu Jun 26 13:37:47 2008 -0700
@@ -10,8 +10,8 @@
 <img src="{staticurl}hglogo.png" width=75 height=90 border=0 alt="mercurial"></a>
 </div>
 <ul>
-<li><a href="{url}shortlog/{sessionvars%urlparameter}">log</a></li>
-<li><a href="{url}graph/{sessionvars%urlparameter}">graph</a></li>
+<li><a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">log</a></li>
+<li><a href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li>
 <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li>
 </ul>
 <ul>
--- a/templates/coal/graph.tmpl	Thu Jun 26 13:45:39 2008 +0200
+++ b/templates/coal/graph.tmpl	Thu Jun 26 13:37:47 2008 -0700
@@ -15,7 +15,7 @@
 <img src="{staticurl}hglogo.png" width=75 height=90 border=0 alt="mercurial"></a>
 </div>
 <ul>
-<li><a href="{url}shortlog{sessionvars%urlparameter}">log</a></li>
+<li><a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">log</a></li>
 <li class="active">graph</li>
 <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li>
 </ul>
--- a/templates/coal/manifest.tmpl	Thu Jun 26 13:45:39 2008 +0200
+++ b/templates/coal/manifest.tmpl	Thu Jun 26 13:37:47 2008 -0700
@@ -10,8 +10,8 @@
 <img src="{staticurl}hglogo.png" width=75 height=90 border=0 alt="mercurial"></a>
 </div>
 <ul>
-<li><a href="{url}shortlog/{sessionvars%urlparameter}">log</a></li>
-<li><a href="{url}graph/{sessionvars%urlparameter}">graph</a></li>
+<li><a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">log</a></li>
+<li><a href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li>
 <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li>
 </ul>
 <ul>
--- a/templates/coal/shortlog.tmpl	Thu Jun 26 13:45:39 2008 +0200
+++ b/templates/coal/shortlog.tmpl	Thu Jun 26 13:37:47 2008 -0700
@@ -15,7 +15,7 @@
 </div>
 <ul>
 <li class="active">log</li>
-<li><a href="{url}graph{sessionvars%urlparameter}">graph</a></li>
+<li><a href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li>
 <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li>
 </ul>
 <ul>