Source

wdmmg / wdmmg / templates / dataset / index.html

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

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

  <py:def function="page_title">All datasets</py:def>
  
  <div py:def="content">
    <p>The database contains the following datasets:</p>
    <ul>
      <li py:for="row in c.results">
        <a href="${url(controller='dataset', action='view', name_or_id=row.name)}">${row.label if row.label else row.name}</a>: ${h.markdown(row.description)}
      </li>
    </ul>
    <p py:if="c.results.count()>=c.limit">Only the first ${c.limit} results are shown.</p>
  </div>

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