diff mercurial/templates/monoblue/map @ 16577:f208a4e20018 stable

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.
author Martin Geisler <mg@aragost.com>
date Fri, 04 May 2012 12:04:07 +0200
parents fe9d36a6853e
children 1ae119269ddc
line wrap: on
line diff
--- a/mercurial/templates/monoblue/map	Thu May 03 16:06:33 2012 -0500
+++ b/mercurial/templates/monoblue/map	Fri May 04 12:04:07 2012 +0200
@@ -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">