Ignore:
Timestamp:
20 Nov 2006, 15:11:29 (18 years ago)
Author:
Henrik Bettermann
Message:

new local roles implemented
role SectionOfficer? not yet tested

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_student/student_view.pt

    r895 r911  
    11<metal:html tal:define="info context/getStudentInfo;
    2                 is_manager info/is_manager|nothing;
     2                is_so info/is_so|nothing;
     3                is_staff context/isStaff;
    34                is_student info/is_student|nothing">
    45  <metal:body use-macro="here/main_template/macros/master">
     
    1112                        rows python: info['items']">
    1213
    13       <a href="" tal:condition="is_manager"
     14      <a href="" tal:condition="is_staff"
    1415         tal:attributes="href string:${here/academicsParent}">
    1516        <img tal:attributes="src string:${here/portal_url}/arrow_up.gif"/>
     
    2021        <br />
    2122
    22         <table tal:condition="is_manager" class="contentListing" width="100%" summary="content layout" id="folder_content">     
     23        <table tal:condition="is_staff" class="contentListing" width="100%" summary="content layout" id="folder_content">     
    2324          <tr tal:repeat="row rows"
    2425            tal:attributes="class python:test(repeat['row'].even(), 'even ajaxtd', 'odd ajaxtd')">
Note: See TracChangeset for help on using the changeset viewer.