Mercurial > hg
diff mercurial/templates/paper/map @ 29525:d8f2c718deec
hgweb: add a link on node id in annotate hover-box
The link pointing the annotate view at this revision, just like the one in the
left-column but accessible from anywhere.
author | Denis Laxalde <denis.laxalde@logilab.fr> |
---|---|
date | Tue, 12 Jul 2016 15:09:07 +0200 |
parents | 19f96077c61b |
children | d86b54d9bb0c |
line wrap: on
line diff
--- a/mercurial/templates/paper/map Tue Jul 12 15:07:37 2016 +0200 +++ b/mercurial/templates/paper/map Tue Jul 12 15:09:07 2016 +0200 @@ -83,7 +83,11 @@ {rev} </a>')} <div class="annotate-info"> - <div>{node|short}: {desc|escape|firstline}</div> + <div> + <a href="{url|urlescape}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}#l{targetline}"> + {node|short}</a> + {desc|escape|firstline} + </div> <div><em>{author|obfuscate}</em></div> <div>parents: {parents%annotateparent}</div> <a href="{url|urlescape}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">diff</a>