Mercurial > hg
diff mercurial/templates/gitweb/filelog.tmpl @ 31077:0f39055c9be5
gitweb: add "more" and "less" navigation links in filelog template
author | Denis Laxalde <denis.laxalde@logilab.fr> |
---|---|
date | Wed, 22 Feb 2017 12:09:17 +0100 |
parents | dd89304687a3 |
children | 6c08dfd19e0b |
line wrap: on
line diff
--- a/mercurial/templates/gitweb/filelog.tmpl Mon Jan 16 17:14:36 2017 +0100 +++ b/mercurial/templates/gitweb/filelog.tmpl Wed Feb 22 12:09:17 2017 +0100 @@ -38,6 +38,8 @@ </table> <div class="page_nav"> +<a href="{url|urlescape}log/{symrev}/{file|urlescape}{lessvars%urlparameter}">less</a> +<a href="{url|urlescape}log/{symrev}/{file|urlescape}{morevars%urlparameter}">more</a> {nav%filenav} </div>