# HG changeset patch # User Thomas Arendsen Hein <thomas@intevation.de> # Date 2006-10-12 15:48:09 # Node ID dca067d751a9ffe0bf3d368a3f113f5e18e6497b # Parent cf680c9ab1dd6c27cceb01c2181bcce41406d953 gitweb: Fixed parent/child links when viewing a file revision. diff --git a/templates/gitweb/filerevision.tmpl b/templates/gitweb/filerevision.tmpl --- a/templates/gitweb/filerevision.tmpl +++ b/templates/gitweb/filerevision.tmpl @@ -30,8 +30,8 @@ file | <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> diff --git a/templates/gitweb/map b/templates/gitweb/map --- a/templates/gitweb/map +++ b/templates/gitweb/map @@ -34,7 +34,7 @@ filelogrename = '| <a href="{url}file/#n 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>'