From: Dan Brook Date: Sun, 13 Mar 2011 20:41:12 +0000 (+0000) Subject: Separate paging for log and history views. X-Git-Tag: 0.003001~1 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=ff10d4b859a126a23cc0c47e8b0b2cc43bc57381;p=catagits%2FGitalist.git Separate paging for log and history views. Logic isn't quite the same for both, which lead to paging fail, so I've split them in two. --- diff --git a/root/fragment/ref/history.tt2 b/root/fragment/ref/history.tt2 index e20dda7..4a949bb 100755 --- a/root/fragment/ref/history.tt2 +++ b/root/fragment/ref/history.tt2 @@ -50,4 +50,4 @@ [% filename %] [% c.uri_for_action('/ref/diff_fancy', [Repository.name, 'HEAD']) %] -[% INCLUDE 'inc/log_pager.tt2' %] +[% INCLUDE 'inc/history_pager.tt2' %] diff --git a/root/inc/history_pager.tt2 b/root/inc/history_pager.tt2 new file mode 100755 index 0000000..ed2c123 --- /dev/null +++ b/root/inc/history_pager.tt2 @@ -0,0 +1,9 @@ + diff --git a/root/inc/log_pager.tt2 b/root/inc/log_pager.tt2 index 404f295..35ad26b 100755 --- a/root/inc/log_pager.tt2 +++ b/root/inc/log_pager.tt2 @@ -1,9 +1,9 @@