Mercurial > hg-stable
changeset 3366:dca067d751a9
gitweb: Fixed parent/child links when viewing a file revision.
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Thu, 12 Oct 2006 17:48:09 +0200 |
parents | cf680c9ab1dd |
children | 7f486971d263 |
files | templates/gitweb/filerevision.tmpl templates/gitweb/map |
diffstat | 2 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/templates/gitweb/filerevision.tmpl Thu Oct 12 17:06:51 2006 +0200 +++ b/templates/gitweb/filerevision.tmpl Thu Oct 12 17:48:09 2006 +0200 @@ -30,8 +30,8 @@ <td class="metatag">changeset #rev#:</td> <td><a href="{url}rev/#node|short#{sessionvars%urlparameter}">#node|short#</a></td></tr> #rename%filerename# -#parent%fileannotateparent# -#child%fileannotatechild# +#parent%filerevparent# +#child%filerevchild# <tr> <td class="metatag">manifest:</td> <td><a href="{url}file/#node|short#{sessionvars%urlparameter}">#node|short#</a></td></tr>
--- a/templates/gitweb/map Thu Oct 12 17:06:51 2006 +0200 +++ b/templates/gitweb/map Thu Oct 12 17:48:09 2006 +0200 @@ -34,7 +34,7 @@ fileannotateparent = '<tr><td class="metatag">parent:</td><td><a href="{url}annotate/{node|short}/#file|urlescape#{sessionvars%urlparameter}">#node|short#</a></td></tr>' changelogchild = '<tr><th class="child">child #rev#:</th><td class="child"><a href="{url}rev/#node|short#{sessionvars%urlparameter}">#node|short#</a></td></tr>' changesetchild = '<tr><td>child</td><td style="font-family:monospace"><a class="list" href="{url}rev/#node|short#{sessionvars%urlparameter}">#node|short#</a></td></tr>' -filerevchild = '<tr><td class="metatag">child:</td><td><a href="{url}file/{node|short}#file|urlescape#{sessionvars%urlparameter}">#node|short#</a></td></tr>' +filerevchild = '<tr><td class="metatag">child:</td><td><a href="{url}file/{node|short}/#file|urlescape#{sessionvars%urlparameter}">#node|short#</a></td></tr>' fileannotatechild = '<tr><td class="metatag">child:</td><td><a href="{url}annotate/{node|short}/#file|urlescape#{sessionvars%urlparameter}">#node|short#</a></td></tr>' tags = tags.tmpl tagentry = '<tr class="parity#parity#"><td class="age"><i>#date|age# ago</i></td><td><a class="list" href="{url}rev/{node|short}{sessionvars%urlparameter}"><b>#tag|escape#</b></a></td><td class="link"><a href="{url}rev/#node|short#{sessionvars%urlparameter}">changeset</a> | <a href="{url}log/#node|short#{sessionvars%urlparameter}">changelog</a> | <a href="{url}file/#node|short#{sessionvars%urlparameter}">manifest</a></td></tr>'