${_('Showing items %(i)d to %(l)d of %(count)d') % dict(i=c.page['first'], l=c.page['last'], count=c.page['total'])}.
${_('Show items:')}
${h.pager_select(name, str(c.page['results_per_page']))}
${_('per page')}
% if not c.page['page_numbers']:
-
% endif
% else:
${_('No items found')}
% endif
% if c.page['total'] and c.page['show_first']:
${h.link_to(h.pager_img('first'), url.current(q=c.page['q'], page=c.page['first_page'], a=c.action))}
...
% endif
% if c.page['total'] and c.page['has_previous']:
${h.link_to(h.pager_img('previous'), url.current(q=c.page['q'], page=c.page['previous'], a=c.action))}
% endif
% for linkpage in c.page['page_numbers']:
% if linkpage == c.page['page']:
${linkpage}
% else:
${h.link_to(h.literal(linkpage), url.current(q=c.page['q'], page=linkpage, a=c.action))}
% endif
% endfor
% if c.page['total'] and c.page['has_next']:
${h.link_to(h.pager_img('next'), url.current(q=c.page['q'], page=c.page['next'], a=c.action))}
% endif
% if c.page['total'] and c.page['show_last']:
...
${h.link_to(h.pager_img('last'), url.current(q=c.page['q'], page=c.page['last_page'], a=c.action))}
% endif
% if c.page['total'] != 0: