Ignore:
Timestamp:
21 Nov 2006, 10:49:45 (18 years ago)
Author:
Henrik Bettermann
Message:

is_* keys removed from get* functions

Location:
WAeUP_SRP/trunk/skins/waeup_default
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_default/external_edit_form.pt

    r859 r913  
    77    form_action string:external_edit;
    88    form_type string:external;
    9     edition python:True;
     9    is_allowed context/isSectionOfficer;
    1010    creation python:False;
    1111    metadata metadata|nothing;"
  • WAeUP_SRP/trunk/skins/waeup_default/getDynamicRoles.py

    r912 r913  
    1212return the dynamic roles
    1313"""
    14 return ('ClearanceOfficer','CourseAdviser')
     14return ('ClearanceOfficer','CourseAdviser', SectionManager')
    1515
  • WAeUP_SRP/trunk/skins/waeup_default/portlet_session_info.pt

    r785 r913  
    66  <tal:block condition="context/isStudent">
    77       <strong>
    8          <span tal:condition="info/is_student|nothing" tal:content="python:info['student_doc'].Title()" />
     8         <span tal:condition="context/isStudent|nothing" tal:content="python:info['student_doc'].Title()" />
    99       </strong>
    1010  </tal:block>
  • WAeUP_SRP/trunk/skins/waeup_default/waeup_document_view.pt

    r911 r913  
    11<metal:html tal:define="info context/getDocumentInfo;
    22                        s_info context/getStudentInfo;
    3                         is_so info/is_so|nothing;"
     3                        is_so context/isSectionOfficer;"
    44            >
    55  <metal:body use-macro="here/waeup_content_master/macros/master">
  • WAeUP_SRP/trunk/skins/waeup_default/waeup_edit_form.pt

    r911 r913  
    88           form_type string:waeup;
    99           creation python:False;
    10            is_allowed context/isSectionOfficer
     10           is_allowed context/isSectionOfficer;
    1111           metadata metadata|nothing;
    1212           ">
Note: See TracChangeset for help on using the changeset viewer.