source: main/waeup.kofa/trunk/src/waeup/kofa/hostels/browser_templates/containerpage.pt

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

Add sort_id column.

File size: 1.1 KB
RevLine 
[8685]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>
[6959]17
[11254]18<table i18n:domain="waeup.kofa" class="table">
[6959]19  <thead>
20    <tr>
[7718]21      <th i18n:translate="">Id</th>
[13443]22      <th i18n:translate="">Sort Id</th>
[7718]23      <th i18n:translate="">Name</th>
[9196]24      <th i18n:translate="">Booked Beds</th>
[6959]25    </tr>
26  </thead>
27  <tbody>
[9196]28    <tal:tbody repeat="value context/values">
29      <tr tal:define = "stats value/bed_statistics">
[10674]30        <td> <a tal:attributes="href python: view.url(value)">
[9196]31            <span tal:content="value/hostel_id">ID</span></a></td>
[13443]32        <td tal:content="value/sort_id">SORT_ID</td>
[9196]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>
[6959]39  </tbody>
40</table>
Note: See TracBrowser for help on using the repository browser.