templates: fix navigation links for graph entries
authorDirkjan Ochtman <dirkjan@ochtman.nl>
Wed, 18 Jun 2008 12:55:05 +0200
changeset 6701 bf72e756c98b
parent 6700 9080f7031f69
child 6702 af7b26b0f884
templates: fix navigation links for graph entries
templates/coal/graph.tmpl
templates/coal/map
templates/gitweb/graph.tmpl
templates/gitweb/map
templates/graph.tmpl
templates/map
templates/paper/map
--- a/templates/coal/graph.tmpl	Wed Jun 18 12:48:04 2008 +0200
+++ b/templates/coal/graph.tmpl	Wed Jun 18 12:55:05 2008 +0200
@@ -37,7 +37,7 @@
 <div class="navigate">
 <a href="{url}graph/{uprev}{sessionvars%urlparameter}?revcount={revcountless}">less</a>
 <a href="{url}graph/{uprev}{sessionvars%urlparameter}?revcount={revcountmore}">more</a>
-| {changenav%navshortentry}
+| {changenav%navgraphentry}
 </div>
 
 <div id="noscript">The revision graph only works with JavaScript-enabled browsers.</div>
@@ -105,7 +105,7 @@
 <div class="navigate">
 <a href="{url}graph/{uprev}{sessionvars%urlparameter}?revcount={revcountless}">less</a>
 <a href="{url}graph/{uprev}{sessionvars%urlparameter}?revcount={revcountmore}">more</a>
-| {changenav%navshortentry}
+| {changenav%navgraphentry}
 </div>
 
 </div>
--- a/templates/coal/map	Wed Jun 18 12:48:04 2008 +0200
+++ b/templates/coal/map	Wed Jun 18 12:55:05 2008 +0200
@@ -12,6 +12,7 @@
 
 naventry = '<a href="{url}log/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
 navshortentry = '<a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
+navgraphentry = '<a href="{url}graph/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
 filenaventry = '<a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{label|escape}</a> '
 filedifflink = '<a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}</a> '
 filenodelink = '<a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}</a> '
--- a/templates/gitweb/graph.tmpl	Wed Jun 18 12:48:04 2008 +0200
+++ b/templates/gitweb/graph.tmpl	Wed Jun 18 12:55:05 2008 +0200
@@ -27,7 +27,7 @@
 <br/>
 <a href="{url}graph/{uprev}{sessionvars%urlparameter}?revcount={revcountless}">less</a>
 <a href="{url}graph/{uprev}{sessionvars%urlparameter}?revcount={revcountmore}">more</a>
-| #changenav%navshortentry#<br/>
+| #changenav%navgraphentry#<br/>
 </div>
 
 <div class="title">&nbsp;</div>
@@ -107,7 +107,7 @@
 <div class="page_nav">
 <a href="{url}graph/{uprev}{sessionvars%urlparameter}?revcount={revcountless}">less</a>
 <a href="{url}graph/{uprev}{sessionvars%urlparameter}?revcount={revcountmore}">more</a>
-| {changenav%navshortentry}
+| {changenav%navgraphentry}
 </div>
 
 #footer#
--- a/templates/gitweb/map	Wed Jun 18 12:48:04 2008 +0200
+++ b/templates/gitweb/map	Wed Jun 18 12:55:05 2008 +0200
@@ -9,6 +9,7 @@
 notfound = notfound.tmpl
 naventry = '<a href="{url}log/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
 navshortentry = '<a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
+navgraphentry = '<a href="{url}graph/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
 filenaventry = '<a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{label|escape}</a> '
 filedifflink = '<a href="#url#diff/#node|short#/#file|urlescape#{sessionvars%urlparameter}">#file|escape#</a> '
 filenodelink = '<tr class="parity#parity#"><td><a class="list" href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">#file|escape#</a></td><td></td><td class="link"><a href="#url#file/#node|short#/#file|urlescape#{sessionvars%urlparameter}">file</a> | <a href="#url#annotate/#node|short#/#file|urlescape#{sessionvars%urlparameter}">annotate</a> | <a href="#url#diff/#node|short#/#file|urlescape#{sessionvars%urlparameter}">diff</a> | <a href="#url#log/#node|short#/#file|urlescape#{sessionvars%urlparameter}">revisions</a></td></tr>'
--- a/templates/graph.tmpl	Wed Jun 18 12:48:04 2008 +0200
+++ b/templates/graph.tmpl	Wed Jun 18 12:55:05 2008 +0200
@@ -21,7 +21,7 @@
 <p>
 <label for="search1">search:</label>
 <input name="rev" id="search1" type="text" size="30">
-navigate: <small class="navigate">#changenav%navshortentry#</small>
+navigate: <small class="navigate">#changenav%navgraphentry#</small>
 </p>
 </form>
 
@@ -89,7 +89,7 @@
 <small class="navigate">
 <a href="{url}graph/{uprev}{sessionvars%urlparameter}?revcount={revcountless}">less</a>
 <a href="{url}graph/{uprev}{sessionvars%urlparameter}?revcount={revcountmore}">more</a>
-| {changenav%navshortentry}
+| {changenav%navgraphentry}
 </small>
 
 #footer#
--- a/templates/map	Wed Jun 18 12:48:04 2008 +0200
+++ b/templates/map	Wed Jun 18 12:55:05 2008 +0200
@@ -9,6 +9,7 @@
 graph = graph.tmpl
 naventry = '<a href="{url}log/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
 navshortentry = '<a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
+navgraphentry = '<a href="{url}graph/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
 filenaventry = '<a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{label|escape}</a> '
 filedifflink = '<a href="#url#diff/#node|short#/#file|urlescape#{sessionvars%urlparameter}">#file|escape#</a> '
 filenodelink = '<a href="#url#file/#node|short#/#file|urlescape#{sessionvars%urlparameter}">#file|escape#</a> '
--- a/templates/paper/map	Wed Jun 18 12:48:04 2008 +0200
+++ b/templates/paper/map	Wed Jun 18 12:55:05 2008 +0200
@@ -12,6 +12,7 @@
 
 naventry = '<a href="{url}log/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
 navshortentry = '<a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
+navgraphentry = '<a href="{url}graph/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
 filenaventry = '<a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{label|escape}</a> '
 filedifflink = '<a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}</a> '
 filenodelink = '<a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}</a> '