Changeset 937 for WAeUP_SRP/trunk/skins


Ignore:
Timestamp:
25 Nov 2006, 09:00:34 (18 years ago)
Author:
Henrik Bettermann
Message:

setup SectionOfficer? role

Location:
WAeUP_SRP/trunk/skins
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_academics/academics_index.py

    r901 r937  
    2121else:
    2222    if context.portal_type == 'AcademicsFolder':
    23         return context.academics.academics_view()
     23        return context.academics_view()
    2424    elif context.portal_type == 'Faculty':
    2525        return context.faculty_view()
  • WAeUP_SRP/trunk/skins/waeup_accommodation/acco_folder_index.py

    r903 r937  
    1010# $Id$
    1111"""
    12 return the appropriate page in the academics section
     12return the appropriate page in the accommodation section
    1313"""
    1414
     
    1717pm = context.portal_membership
    1818
    19 campus = context.portal_catalog(meta_type = "University")[-1].getObject()
    20 
    21 if context.isSectionManager():
     19if context.isSectionOfficer():
    2220    if context.portal_type == 'AccoFolder':
    2321        return context.accommodation.acco_folder_view()
  • WAeUP_SRP/trunk/skins/waeup_student/clearance_edit_lib.pt

    r911 r937  
    2929<!--  buttons -->
    3030<metal:block define-macro="buttons">
    31   <!-- SectionManager -->
    32   <tal:block condition="context/isSectionManager">
     31  <!-- SectionOfficer -->
     32  <tal:block condition="context/isSectionOfficer">
    3333 
    3434     <div tal:condition="python:info['review_state'] == 'clearance_pin_entered'">
  • WAeUP_SRP/trunk/skins/waeup_student/students_index.py

    r920 r937  
    2525if "ClearanceOfficers" in member.getGroups():
    2626    return redirect("%s/search_students" % students_url)
    27 if context.isSectionManager():
     27if context.isSectionOfficer():
    2828    return redirect("%s/search_students" % students_url)
    2929if context.isStudent():
Note: See TracChangeset for help on using the changeset viewer.