Mercurial > hg
view mercurial/templates/gitweb/changelogentry.tmpl @ 26666:e901df65b108
gitweb: don't drop current revision context on graph page
In hgweb, some pages have a context of current revision; e.g. changelog and
shortlog show changesets starting from this current revision. However, some
gitweb templates were dropping current revision from some urls _to_ /graph page
and _on_ that page. This patch fixes it.
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Sat, 26 Sep 2015 18:16:49 +0800 |
parents | 52305554fd6e |
children | c208bc65318a |
line wrap: on
line source
<div> <a class="title" href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}"><span class="age">{date|rfc822date}</span>{desc|strip|firstline|escape|nonempty}<span class="logtags"> {inbranch%inbranchtag}{branches%branchtag}{tags%tagtag}{bookmarks%bookmarktag}</span></a> </div> <div class="title_text"> <div class="log_link"> <a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">changeset</a><br/> </div> <i>{author|obfuscate} [{date|rfc822date}] rev {rev}</i><br/> </div> <div class="log_body"> {desc|strip|escape|websub|addbreaks|nonempty} <br/> <br/> </div>