Bring _log_pager back from the dead to somewhat unfuck log action..
Tomas Doran [Wed, 20 Jan 2010 21:13:42 +0000 (21:13 +0000)]
root/_log_pager.tt2 [new file with mode: 0644]

diff --git a/root/_log_pager.tt2 b/root/_log_pager.tt2
new file mode 100644 (file)
index 0000000..c332d35
--- /dev/null
@@ -0,0 +1,9 @@
+<div class='pager'>
+ <a href='[% c.uri_for(action, {h=HEAD}) %]'>HEAD</a> &sect;
+ [% IF log_lines.first.sha1 != commit.sha1 %]
+ <a href='[% c.request.uri_with(pg => page - 1) %]'>&laquo; prev</a>
+ [% END %]
+ [% IF log_lines.size == 50 %]
+ <a href='[% c.request.uri_with(pg => page + 1) %]'>next &raquo;</a>
+ [% END %]
+</div>