diff mercurial/templates/paper/filelog.tmpl @ 27081:37290f2f2c3b

paper: show current revision on file log page Most of the pages in paper (and coal) style show the current revision and its branch, tags and bookmarks. Let's also show all this on file log page.
author Anton Shestakov <av6@dwimlabs.net>
date Fri, 13 Nov 2015 18:31:58 +0800
parents 3bb6f5f478a7
children 1c66497261b2
line wrap: on
line diff
--- a/mercurial/templates/paper/filelog.tmpl	Fri Nov 20 11:26:31 2015 -0800
+++ b/mercurial/templates/paper/filelog.tmpl	Fri Nov 13 18:31:58 2015 +0800
@@ -44,7 +44,10 @@
 
 <div class="main">
 <h2 class="breadcrumb"><a href="/">Mercurial</a> {pathdef%breadcrumb}</h2>
-<h3>log {file|escape}</h3>
+<h3>
+ log {file|escape} @ {rev}:<a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a>
+ {branch%changelogbranchname}{tags%changelogtag}{bookmarks%changelogtag}
+</h3>
 
 <form class="search" action="{url|urlescape}log">
 {sessionvars%hiddenformentry}