Source

wdmmg / wdmmg / templates / entry / index.html

Full commit
<html xmlns:py="http://genshi.edgewall.org/"
  xmlns:xi="http://www.w3.org/2001/XInclude">

  <py:def function="nav_class">nav-entry</py:def>

  <py:def function="page_title">Entry - Index</py:def>

  <div py:def="content">
    <h2>Entries</h2>
    <p>Entries record individual transfers of money: usually, they have <em>from</em>, <em>to</em>,
      <em>time</em> and <em>amount</em> fields, plus other classifiers that depend on the dataset
      to which they belong.</p>

    <p>There are a total of <strong>${c.page.item_count} entries</strong> in the
    data store. Browse them below or <a href="${url(controller='search', action='index')}">search them</a>.</p>

    ${c.page.pager(items_per_page=c.items_per_page)}
    ${render_short_entries([ txn.to_flat_dict() for txn in c.page.items ])}
    ${c.page.pager(items_per_page=c.items_per_page)}

  </div>

  <xi:include href="../layout.html" />
</html>