source: main/waeup.kofa/branches/uli-py3/src/waeup/kofa/hostels/browser_templates/containerpage.pt @ 17341

Last change on this file since 17341 was 13443, checked in by Henrik Bettermann, 9 years ago

Add sort_id column.

File size: 1.1 KB
Line 
1<table class="form-table" i18n:domain="waeup.kofa">
2  <tbody>
3    <tal:block repeat="widget view/widgets">
4      <tr>
5        <td class="fieldname">
6          <span tal:content="widget/label">LABEL</span>:
7        </td>
8        <td>
9          <span tal:content="structure widget">
10            <input type="text" />
11          </span>
12        </td>
13      </tr>
14    </tal:block>
15  </tbody>
16</table>
17
18<table i18n:domain="waeup.kofa" class="table">
19  <thead>
20    <tr>
21      <th i18n:translate="">Id</th>
22      <th i18n:translate="">Sort Id</th>
23      <th i18n:translate="">Name</th>
24      <th i18n:translate="">Booked Beds</th>
25    </tr>
26  </thead>
27  <tbody>
28    <tal:tbody repeat="value context/values">
29      <tr tal:define = "stats value/bed_statistics">
30        <td> <a tal:attributes="href python: view.url(value)">
31            <span tal:content="value/hostel_id">ID</span></a></td>
32        <td tal:content="value/sort_id">SORT_ID</td>
33        <td tal:content="value/hostel_name">NAME</td>
34        <td>
35          <span tal:replace="stats/booked">10</span> of <span tal:replace="stats/total">100</span>
36        </td>
37      </tr>
38    </tal:tbody>
39  </tbody>
40</table>
Note: See TracBrowser for help on using the repository browser.