File: pager.tt

package info (click to toggle)
libmojomojo-perl 1.11%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 4,496 kB
  • ctags: 927
  • sloc: perl: 14,671; sh: 148; xml: 120; makefile: 8; ruby: 6
file content (13 lines) | stat: -rw-r--r-- 666 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
<div class="navigation">
[% UNLESS pager.current_page==pager.first_page %]
    <a href="[%c.uri_for('gallery',pager.first_page)%]">&#171;</a>
    <a href="[%c.uri_for('gallery',pager.previous_page)%]">&lt;</a>
[% END %]
[% UNLESS pager.current_page==pager.last_page %]
    <a href="[%c.uri_for('gallery',pager.next_page)%]">&gt;</a>
    <a href="[%c.uri_for('gallery',pager.last_page)%]">&#187;</a>
[% END %]
</div>
[% SET link= c.wikiword(page.path,base, loc('gallery') ,'gallery') _ " " _ c.wikiword(page.path,base) %]
<p><em>[%loc( 'Showing x (x-x) of x pictures in x', [pager.entries_on_this_page,pager.first,pager.last,pager.total_entries, link ]) 
%]</em></p>