mercurial/templates/gitweb/filelog.tmpl
changeset 31947 6c08dfd19e0b
parent 31094 0f39055c9be5
child 32781 cb5123eff7d1
--- a/mercurial/templates/gitweb/filelog.tmpl	Mon Apr 10 18:16:30 2017 +0200
+++ b/mercurial/templates/gitweb/filelog.tmpl	Thu Apr 13 09:59:58 2017 +0200
@@ -31,7 +31,10 @@
 {nav%filenav}
 </div>
 
-<div class="title" >{file|urlescape}</div>
+<div class="title" >
+  {file|urlescape}{if(linerange,
+' (following lines {linerange}{if(descend, ', descending')} <a href="{url|urlescape}log/{symrev}/{file|urlescape}{sessionvars%urlparameter}">back to filelog</a>)')}
+</div>
 
 <table>
 {entries%filelogentry}