Mercurial > hg
comparison mercurial/templates/monoblue/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 | 0484dfa1e972 |
comparison
equal
deleted
inserted
replaced
29524:19f96077c61b | 29525:d8f2c718deec |
---|---|
96 {if(blockhead, | 96 {if(blockhead, |
97 '<a href="{url|urlescape}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}#l{targetline}"> | 97 '<a href="{url|urlescape}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}#l{targetline}"> |
98 {rev} | 98 {rev} |
99 </a>')} | 99 </a>')} |
100 <div class="annotate-info"> | 100 <div class="annotate-info"> |
101 <div>{node|short}: {desc|escape|firstline}</div> | 101 <div> |
102 <a href="{url|urlescape}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}#l{targetline}"> | |
103 {node|short}</a> | |
104 {desc|escape|firstline} | |
105 </div> | |
102 <div><em>{author|obfuscate}</em></div> | 106 <div><em>{author|obfuscate}</em></div> |
103 <div>parents: {parents%annotateparent}</div> | 107 <div>parents: {parents%annotateparent}</div> |
104 <a href="{url|urlescape}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">diff</a> | 108 <a href="{url|urlescape}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">diff</a> |
105 <a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">changeset</a> | 109 <a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">changeset</a> |
106 </div> | 110 </div> |