Ignore:
Timestamp:
26 Oct 2015, 08:57:30 (9 years ago)
Author:
Henrik Bettermann
Message:

Remove beds_reserved attribute from hostels. Hostels do no longer
contain information about reserved bed spaces.

Use default values for list attributes. Otherwise the hostel manage page cannot be opened after import of hostels.

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/hostelmanagepage.pt

    r13302 r13346  
    2121      <tbody>
    2222        <tal:widgets content="structure provider:widgets" />
    23         <tr>
    24           <td class="fieldname" i18n:translate="" >
    25             Reserved Beds:
    26           </td>
    27           <td>
    28             <tal:repeat repeat="bed context/beds_reserved" >
    29                 <span tal:replace='bed'>BED</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    30             </tal:repeat>
    31           </td>
    32         </tr>
    3323      </tbody>
    3424      </table>
     
    7969      </table>
    8070      <input type="checkbox" onClick="toggle(this, 'val_id')" />
    81       <span  i18n:translate="">Select all</span>
     71      &nbsp;<span  i18n:translate="">Select all</span>
    8272      <br /><br />
    8373      <div tal:condition="view/availableActions">
  • main/waeup.kofa/trunk/src/waeup/kofa/hostels/browser_templates/hostelpage.pt

    r9534 r13346  
    22  <tbody>
    33    <tal:widgets content="structure provider:widgets" />
    4     <tr>
    5       <td class="fieldname" i18n:translate="" >
    6         Reserved Beds:
    7       </td>
    8       <td>
    9         <tal:repeat repeat="bed context/beds_reserved" >
    10             <span tal:replace='bed'>BED</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    11         </tal:repeat>
    12       </td>
    13     </tr>
    144  </tbody>
    155</table>
Note: See TracChangeset for help on using the changeset viewer.