gitweb: fix link on file name in filenodelink
authorBrendan Cully <brendan@kublai.com>
Wed, 11 Oct 2006 16:39:42 -0700
changeset 3356 fddb0ab6d307
parent 3355 c10eacad7171
child 3357 7cc0f49d8e5c
gitweb: fix link on file name in filenodelink
templates/gitweb/map
--- 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