Skip to content
Snippets Groups Projects
Commit f208a4e20018 authored by Martin Geisler's avatar Martin Geisler
Browse files

paper, monoblue: link correctly to lines in annotate view

The links were to "foo#123" instead of "foo#l123". The gitweb and
spartan templates were already producing the correct links.
parent 91323a78aac2
No related branches found
No related tags found
No related merge requests found
......@@ -82,7 +82,7 @@
annotateline = '
<tr class="parity{parity}">
<td class="linenr">
<a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}#{targetline}"
<a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}#l{targetline}"
title="{node|short}: {desc|escape|firstline}">{author|user}@{rev}</a>
</td>
<td class="lineno">
......
......@@ -70,7 +70,7 @@
annotateline = '
<tr class="parity{parity}">
<td class="annotate">
<a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}#{targetline}"
<a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}#l{targetline}"
title="{node|short}: {desc|escape|firstline}">{author|user}@{rev}</a>
</td>
<td class="source"><a href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}</td>
......
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment