diff mercurial/templates/paper/map @ 10254:8d5de52431f2

hgweb: changenav: separate pages before and after the current position This should allow styles to customize more precisely navigation bar, for example inserting a cursor to show where we are in the navigation bar.
author Nicolas Dumazet <nicdumz.commits@gmail.com>
date Sat, 16 Jan 2010 02:33:06 +0100
parents f91e5630ce7e
children 136eed1ac69c
line wrap: on
line diff
--- a/mercurial/templates/paper/map	Fri Jan 15 21:32:53 2010 +0100
+++ b/mercurial/templates/paper/map	Sat Jan 16 02:33:06 2010 +0100
@@ -23,6 +23,11 @@
 changeset = changeset.tmpl
 manifest = manifest.tmpl
 
+nav = '{before%naventry} {after%naventry}'
+navshort = '{before%navshortentry}{after%navshortentry}'
+navgraph = '{before%navgraphentry}{after%navgraphentry}'
+filenav = '{before%filenaventry}{after%filenaventry}'
+
 direntry = '
   <tr class="fileline parity{parity}">
     <td class="name">