Ignore:
Timestamp:
12 Nov 2015, 06:24:02 (9 years ago)
Author:
Henrik Bettermann
Message:

Add sort_id column.

Location:
main/waeup.kofa/trunk/src/waeup/kofa/hostels/browser_templates
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/hostels/browser_templates/containermanagepage.pt

    r11254 r13443  
    4141            <th i18n:translate="">Id
    4242            </th>
     43            <th i18n:translate="">Sort Id
     44            </th>
    4345            <th i18n:translate="">Name
    4446            </th>
     
    4648        </thead>
    4749        <tbody>
    48           <tr tal:repeat="hostel context/values"> <td>
    49               <input type="checkbox" name="val_id" tal:attributes="value hostel/hostel_id" /> </td> <td>
    50               <a tal:attributes="href python: view.url(hostel)" tal:content="hostel/__name__"> ID</a> </td> <td>
    51               <span tal:content="hostel/hostel_name">ID
    52               </span> </td>
     50          <tr tal:repeat="hostel context/values">
     51            <td>
     52              <input type="checkbox" name="val_id" tal:attributes="value hostel/hostel_id" />
     53           </td>
     54           <td>
     55              <a tal:attributes="href python: view.url(hostel)" tal:content="hostel/__name__"> ID</a>
     56           </td>
     57           <td tal:content="hostel/sort_id">SORT_ID</td>
     58           <td><span tal:content="hostel/hostel_name">ID</span></td>
    5359          </tr>
    5460        </tbody>
  • main/waeup.kofa/trunk/src/waeup/kofa/hostels/browser_templates/containerpage.pt

    r11254 r13443  
    2020    <tr>
    2121      <th i18n:translate="">Id</th>
     22      <th i18n:translate="">Sort Id</th>
    2223      <th i18n:translate="">Name</th>
    2324      <th i18n:translate="">Booked Beds</th>
     
    2930        <td> <a tal:attributes="href python: view.url(value)">
    3031            <span tal:content="value/hostel_id">ID</span></a></td>
     32        <td tal:content="value/sort_id">SORT_ID</td>
    3133        <td tal:content="value/hostel_name">NAME</td>
    3234        <td>
Note: See TracChangeset for help on using the changeset viewer.