trac-dvbcronrecording-plugin / src / dvbcronrecording / templates / paginator_datalist.html

<div class="paginator"
 xmlns:py="http://genshi.edgewall.org/">
 <py:choose>
<py:when test="datalist.has_more_pages">
  <caption>${_('Pages:')}</caption>
  <ul class="pages">
    <li py:for="pagenum in xrange(datalist.num_pages)">
    <span class="${pagenum == datalist.page and 'selected' or ''}">
      <a href="${href(req.path_info)}?_pagenum=${pagenum}&amp;_pagesize=${_pagesize}&amp;${_selection}">${pagenum+1}</a>
    </span>
    </li>
  </ul>
  &nbsp;&nbsp;&nbsp;&nbsp;
  (${_('shown')}
   <ul class="pagesizes">
    <li py:for="max_per_page in [10,25,200,1000, datalist.num_items]">
    <span class="${max_per_page == datalist.max_per_page and 'selected' or ''}" py:if="datalist.num_items >= max_per_page">
      <span py:if="datalist.num_items == max_per_page">${_(' of ')}</span>
      <a href="${href(req.path_info)}?_pagenum=${datalist.page * datalist.max_per_page / max_per_page}&amp;_pagesize=${max_per_page}&amp;${_selection}">${max_per_page}</a>
    </span>
    </li>
  </ul>${_('entries')})
</py:when>
<py:otherwise>
   (${ngettext("%(n)s entry", "%(n)s entries", datalist.num_items, n = datalist.num_items )})
</py:otherwise>
</py:choose>
</div>
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.