Ignore:
Timestamp:
9 Oct 2006, 09:09:57 (18 years ago)
Author:
joachim
Message:

several overviews for AccoFolder?,

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_accommodation/accommodation_view.pt

    r622 r626  
    11<metal:html tal:define="info context/getAccoHallsInfo;
    2             is_manager info/is_manager|nothing;"
     2            is_manager info/is_manager|nothing;
     3            beds_generated options/beds_generated|nothing"
    34            >
    45  <metal:body use-macro="here/waeup_content_master/macros/master">
     
    1213        Page Title
    1314      </h3>
     15      <table tal:condition="beds_generated">
     16        <tr>
     17          <th>Hall</th>
     18          <th>Beds generated</th>
     19        </tr>
     20        <tr tal:repeat="hall beds_generated">
     21          <td tal:content="hall/name"></td>
     22          <td align="right" tal:content="hall/count"></td>
     23        </tr>
     24      </table>
     25      <table tal:condition="info/bed_types"
     26             tal:define="bed_types info/bed_types">
     27        <tr>
     28          <th>Bed Type</th>
     29          <th>Beds</th>
     30        </tr>
     31        <tr tal:repeat="bt bed_types">
     32          <td tal:content="bt/name" />
     33          <td tal:content="bt/count" />
     34        </tr>
     35      </table>
     36      <table tal:condition="info/reserved"
     37             tal:define="reserved info/reserved">
     38        <tr>
     39          <th>Student</th>
     40          <th>Bed</th>
     41        </tr>
     42        <tr tal:repeat="bt reserved">
     43          <td tal:content="bt/student" />
     44          <td tal:content="bt/bed" />
     45        </tr>
     46      </table>
    1447    </metal:block>
    1548    <metal:main fill-slot="main">
Note: See TracChangeset for help on using the changeset viewer.