Mercurial > hg
diff templates/filediff.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 | 46188b9528ca |
children | 7f58dec6aeb7 |
line wrap: on
line diff
--- a/templates/filediff.tmpl Wed Oct 11 20:59:37 2006 +0200 +++ b/templates/filediff.tmpl Wed Oct 11 22:01:24 2006 +0200 @@ -4,13 +4,13 @@ <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#file/#node|short#/#file|urlescape#{getentries}">file</a> -<a href="#url#log/#node|short#/#file|urlescape#{getentries}">revisions</a> -<a href="#url#annotate/#node|short#/#file|urlescape#{getentries}">annotate</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> +<a href="#url#file/#node|short#/#file|urlescape#{sessionvars%urlparameter}">file</a> +<a href="#url#log/#node|short#/#file|urlescape#{sessionvars%urlparameter}">revisions</a> +<a href="#url#annotate/#node|short#/#file|urlescape#{sessionvars%urlparameter}">annotate</a> <a href="#url#raw-diff/#node|short#/#file|urlescape#">raw</a> </div> @@ -19,7 +19,7 @@ <table id="filediffEntry"> <tr> <th class="revision">revision #rev#:</th> - <td class="revision"><a href="#url#rev/#node|short#{getentries}">#node|short#</a></td> + <td class="revision"><a href="#url#rev/#node|short#{sessionvars%urlparameter}">#node|short#</a></td> </tr> #parent%filediffparent# #child%filediffchild#