Last change
on this file since 10009 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:
890 bytes
|
Line | |
---|
1 | <form action="." tal:attributes="action request/URL" |
---|
2 | i18n:domain="waeup.sirp" |
---|
3 | method="POST" enctype="multipart/form-data"> |
---|
4 | <table> |
---|
5 | <thead> |
---|
6 | <tr> |
---|
7 | <th> |
---|
8 | </th> |
---|
9 | <th i18n:translate="">Id |
---|
10 | </th> |
---|
11 | <th i18n:translate="">Name |
---|
12 | </th> |
---|
13 | </tr> |
---|
14 | </thead> |
---|
15 | <tbody> |
---|
16 | <tr tal:repeat="hostel context/values"> <td> |
---|
17 | <input type="checkbox" name="val_id" tal:attributes="value hostel/hostel_id" /> </td> <td> |
---|
18 | <a tal:attributes="href python: view.url(hostel)" tal:content="hostel/__name__"> ID</a> </td> <td> |
---|
19 | <span tal:content="hostel/hostel_name">ID |
---|
20 | </span> </td> |
---|
21 | </tr> |
---|
22 | </tbody> |
---|
23 | </table> |
---|
24 | <div tal:condition="view/availableActions"> |
---|
25 | <span tal:repeat="action view/actions" tal:omit-tag=""> |
---|
26 | <input tal:replace="structure action/render"/> |
---|
27 | </span> |
---|
28 | </div> |
---|
29 | </form> |
---|
Note: See
TracBrowser for help on using the repository browser.