source: main/waeup.sirp/trunk/src/waeup/sirp/hostels/browser_templates/containerpage.pt @ 10021

Last change on this file since 10021 was 7718, checked in by Henrik Bettermann, 13 years ago

Internationalize hostels package.

Remove exception catcher in switchReservations and corresponding test.

When testing the hostel configuration manually I found out that the beds_reserved list attribute of halls
only changed during the lifetime of a running instance. After restarting the portal all changes were gone.
Also "hostel._p_changed = True" didn't help. The only solution was to reassign the attribute to ensure persistance.

Unfortunately, the current tests don't catch such a malfunction. This has to be improved.

File size: 542 bytes
Line 
1<div i18n:domain="waeup.sirp"
2   i18n:translate="" tal:condition="python: not len(context.keys())">
3There no subobjects registered yet.
4</div>
5
6<table i18n:domain="waeup.sirp">
7  <thead>
8    <tr>
9      <th i18n:translate="">Id</th>
10      <th i18n:translate="">Name</th>
11    </tr>
12  </thead>
13  <tbody>
14    <tr tal:repeat="value context/values">
15      <td> <a tal:attributes="href value/__name__">
16          <span tal:content="value/hostel_id">ID</span></a></td>
17      <td tal:content="value/hostel_name">NAME</td>
18    </tr>
19  </tbody>
20</table>
Note: See TracBrowser for help on using the repository browser.