<div class='pager'>
- <a href='[% c.uri_for(action, {h=HEAD}) %]'>HEAD</a> §
- [% IF log_lines.first.sha1 != commit.sha1 %]
- <a href='[% c.request.uri_with(pg => page - 1) %]'>« prev</a>
+ <a href='[% c.uri_for_action('/' _ c.action, [Repository.name]) %]'>HEAD</a> §
+ [% IF log_lines.first.sha1 != Commit.sha1 %]
+ <a href='[% c.uri_with(pg => (page||0) + 1) %]'>« newer</a>
[% END %]
- [% IF log_lines.size == 50 %]
- <a href='[% c.request.uri_with(pg => page + 1) %]'>next »</a>
+ [% IF log_lines.first.sha1 != Commit.sha1 && log_lines.size == 25%]
+ •
+ [% END %]
+ [% IF log_lines.size == 25 %]
+ <a href='[% c.uri_with(pg => (page||0) - 1) %]'>older »</a>
[% END %]
</div>