diff templates/manifest.tmpl @ 3363:ce8f31e0b3b8

hgweb: Apply the new method of passing session variables to links.
author Thomas Arendsen Hein <thomas@intevation.de>
date Wed, 11 Oct 2006 22:01:24 +0200
parents 0708bdb4987a
children e19d9b1223ee
line wrap: on
line diff
--- a/templates/manifest.tmpl	Wed Oct 11 20:59:37 2006 +0200
+++ b/templates/manifest.tmpl	Wed Oct 11 22:01:24 2006 +0200
@@ -4,10 +4,10 @@
 <body>
 
 <div class="buttons">
-<a href="#url#log/#rev#{getentries}">changelog</a>
-<a href="#url#shortlog/#rev#{getentries}">shortlog</a>
-<a href="#url#tags{getentries}">tags</a>
-<a href="#url#rev/#node|short#{getentries}">changeset</a>
+<a href="#url#log/#rev#{sessionvars%urlparameter}">changelog</a>
+<a href="#url#shortlog/#rev#{sessionvars%urlparameter}">shortlog</a>
+<a href="#url#tags{sessionvars%urlparameter}">tags</a>
+<a href="#url#rev/#node|short#{sessionvars%urlparameter}">changeset</a>
 #archives%archiveentry#
 </div>
 
@@ -17,7 +17,7 @@
 <tr class="parity1">
   <td><tt>drwxr-xr-x</tt>&nbsp;
   <td>&nbsp;
-  <td><a href="#url#file/#node|short##up|urlescape#{getentries}">[up]</a>
+  <td><a href="#url#file/#node|short##up|urlescape#{sessionvars%urlparameter}">[up]</a>
 </tr>
 #dentries%manifestdirentry#
 #fentries%manifestfileentry#