Ignore:
Timestamp:
6 Nov 2011, 17:24:21 (13 years ago)
Author:
Henrik Bettermann
Message:

Filter actions if students are using the AccommodationManageFormPage?.

I first tried to use two different pages, one for officers and one for students, and use different targets in breadcrumbs. But this was much more complicated.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/students/browser_templates/accommodationmanagepage.pt

    r7007 r7009  
    3030          <input type="checkbox"
    3131                 name="val_id"
    32                  tal:attributes="value cl/__name__"
    33          tal:condition="not: view/unremovable" />
     32                 tal:attributes="value cl/__name__" />
    3433        </td>
    3534        <td> <a tal:attributes="href cl/__name__">
     
    4342
    4443  <div class="actionButtons" tal:condition="view/availableActions">
    45     <span tal:repeat="action view/actions"
     44    <span tal:repeat="action view/selected_actions"
    4645          tal:omit-tag="">
    4746      <input tal:replace="structure action/render"/>
Note: See TracChangeset for help on using the changeset viewer.