mercurial/templates/monoblue/graph.tmpl
changeset 20255 b1d65cb8c759
parent 18526 9409aeaafdc1
child 24129 3fc86f1c39d8
--- a/mercurial/templates/monoblue/graph.tmpl	Wed Jan 08 00:47:43 2014 +0900
+++ b/mercurial/templates/monoblue/graph.tmpl	Wed Jan 08 00:47:44 2014 +0900
@@ -104,4 +104,15 @@
         | {changenav%navgraph}
     </div>
 
+    <script type="text/javascript">
+    ajaxScrollInit(
+            '{url|urlescape}graph/{rev}?revcount=%next%&style={style}',
+            {revcount}+60,
+            function (htmlText, previousVal) \{ return previousVal + 60; },
+            '#wrapper',
+            '<div class="%class%" style="text-align: center;">%text%</div>',
+            'graph'
+    );
+    </script>
+
 {footer}