changeset 3356:fddb0ab6d307

gitweb: fix link on file name in filenodelink
author Brendan Cully <brendan@kublai.com>
date Wed, 11 Oct 2006 16:39:42 -0700
parents c10eacad7171
children 7cc0f49d8e5c
files templates/gitweb/map
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/templates/gitweb/map	Wed Oct 11 16:32:06 2006 -0700
+++ b/templates/gitweb/map	Wed Oct 11 16:39:42 2006 -0700
@@ -8,7 +8,7 @@
 naventry = '<a href="#url#log/#rev#{getentries}">#label|escape#</a> '
 navshortentry = '<a href="#url#shortlog/#rev#{getentries}">#label|escape#</a> '
 filedifflink = '<a href="#url#diff/#node|short#/#file|urlescape#{getentries}">#file|escape#</a> '
-filenodelink = '<tr class="parity#parity#"><td><a class="list" href="">#file|escape#</a></td><td></td><td class="link"><a href="#url#file/#node|short#/#file|urlescape#{getentries}">file</a> | <a href="#url#annotate/#node|short#/#file|urlescape#{getentries}">annotate</a> | <a href="#url#diff/#node|short#/#file|urlescape#{getentries}">diff</a> | <a href="#url#log/#node|short#/#file|urlescape#{getentries}">revisions</a></td></tr>'
+filenodelink = '<tr class="parity#parity#"><td><a class="list" href="{url}diff/{node|short}/{file|urlescape}{getentries}">#file|escape#</a></td><td></td><td class="link"><a href="#url#file/#node|short#/#file|urlescape#{getentries}">file</a> | <a href="#url#annotate/#node|short#/#file|urlescape#{getentries}">annotate</a> | <a href="#url#diff/#node|short#/#file|urlescape#{getentries}">diff</a> | <a href="#url#log/#node|short#/#file|urlescape#{getentries}">revisions</a></td></tr>'
 fileellipses = '...'
 changelogentry = changelogentry.tmpl
 searchentry = changelogentry.tmpl