[PATCH] Add "less" and "more" links to monoblue's graph page

Pascal Quantin pascal.quantin at gmail.com
Wed Dec 31 02:16:08 CST 2008


# HG changeset patch
# User Pascal Quantin <pascal.quantin at gmail.com>
# Date 1230710967 -3600
# Node ID 7569ec6415a3567d422dc23fb6a27f6f5f3edbfb
# Parent  4949729ee9ee5f1e22d1212c557bed3ecc6ff5d3
Add "less" and "more" links to monoblue's graph page

Add the ability to change the number of changeset displayed in
monoblue's graph page as it is done for other web styles.

diff --git a/templates/monoblue/graph.tmpl b/templates/monoblue/graph.tmpl
--- a/templates/monoblue/graph.tmpl
+++ b/templates/monoblue/graph.tmpl
@@ -109,7 +109,9 @@
     </script>

     <div class="page-path">
-#changenav%navgraphentry#
+<a href="{url}graph/{rev}{lessvars%urlparameter}">less</a>
+<a href="{url}graph/{rev}{morevars%urlparameter}">more</a>
+| #changenav%navgraphentry#
     </div>

 #footer#


More information about the Mercurial-devel mailing list