# HG changeset patch # User Denis Laxalde # Date 1492070398 -7200 # Node ID 6c08dfd19e0b8c0797aba033c3cc1e3721d8bdfe # Parent f3b80537a70dd73e4abcf9c49f36a0f4e43155ab gitweb: add information about "linerange" filtering in filelog view As for paper style, in 5e6d44511317, we display a "(following lines : back to filelog)" message alongside the file name when "linerange" query parameter is present. diff -r f3b80537a70d -r 6c08dfd19e0b mercurial/templates/gitweb/filelog.tmpl --- 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} -
{file|urlescape}
+
+ {file|urlescape}{if(linerange, +' (following lines {linerange}{if(descend, ', descending')} back to filelog)')} +
{entries%filelogentry}