Ignore:
Timestamp:
20 Nov 2006, 08:08:10 (18 years ago)
Author:
Henrik Bettermann
Message:

isManager renamed to isSectionManager

Location:
WAeUP_SRP/trunk/skins/waeup_academics
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_academics/academics_content_lib_info_detail_tab.pt

    r486 r903  
    150150      </td>
    151151    </span>
    152   <td align="left"   tal:define="isManager python:checkPerm('Modify portal content', item)">
    153     <a tal:condition="python: display_buttons and isManager and context.portal_type not in ('Certificate',)"
     152  <td align="left"   tal:define="isSectionManager python:checkPerm('Modify portal content', item)">
     153    <a tal:condition="python: display_buttons and isSectionManager and context.portal_type not in ('Certificate',)"
    154154       href="dummy"  tal:attributes="href string:${item/absolute_url}/cpsdocument_edit_form">[edit]</a></td>
    155155  <td align="center" tal:condition="size_in_tabs">
  • WAeUP_SRP/trunk/skins/waeup_academics/getCertificateInfo.py

    r845 r903  
    1818
    1919info = {}
    20 info['is_manager'] = context.isManager()
     20info['is_manager'] = context.isSectionManager()
    2121info['is_student'] = context.isStudent()
    2222info['action'] = "%s" % context.campus.absolute_url()
  • WAeUP_SRP/trunk/skins/waeup_academics/getCertificatesInfo.py

    r845 r903  
    2121#dep_id = request.get('PATH_TRANSLATED').split('/')[-2]
    2222dep_id = context.aq_parent.getId()
    23 info['is_manager'] = context.isManager()
     23info['is_manager'] = context.isSectionManager()
    2424info['is_student'] = context.isStudent()
    2525info['action'] = "%s" % context.absolute_url()
  • WAeUP_SRP/trunk/skins/waeup_academics/getCoursesCertificatesInfo.py

    r845 r903  
    1818
    1919info = {}
    20 info['is_manager'] = context.isManager()
     20info['is_manager'] = context.isSectionManager()
    2121info['is_student'] = context.isStudent()
    2222info['action'] = "%s/faculty_view" % context.absolute_url()
  • WAeUP_SRP/trunk/skins/waeup_academics/getCoursesInfo.py

    r845 r903  
    2121#dep_id = request.get('PATH_TRANSLATED').split('/')[-2]
    2222dep_id = context.aq_parent.getId()
    23 info['is_manager'] = context.isManager()
     23info['is_manager'] = context.isSectionManager()
    2424info['is_student'] = context.isStudent()
    2525info['action'] = "%s" % context.absolute_url()
  • WAeUP_SRP/trunk/skins/waeup_academics/getDepartmentsInfo.py

    r845 r903  
    2222member_id = str(member)
    2323roles = member.getRolesInContext(context)
    24 info['is_manager'] = context.isManager()
     24info['is_manager'] = context.isSectionManager()
    2525info['is_student'] = context.isStudent()
    2626info['action'] = "%s" % context.absolute_url()
  • WAeUP_SRP/trunk/skins/waeup_academics/getDocumentInfo.py

    r845 r903  
    1818
    1919info = {}
    20 info['is_manager'] = context.isManager
     20info['is_manager'] = context.isSectionManager
    2121info['is_student'] = context.isStudent
    2222info['doc'] = context.getContent()
  • WAeUP_SRP/trunk/skins/waeup_academics/getFacultiesInfo.py

    r845 r903  
    1919
    2020info = {}
    21 info['is_manager'] = context.isManager()
     21info['is_manager'] = context.isSectionManager()
    2222info['is_student'] = context.isStudent()
    2323info['action'] = "%s" % context.campus.absolute_url()
  • WAeUP_SRP/trunk/skins/waeup_academics/getLevelInfo.py

    r845 r903  
    2828cert_id = pt[-(2+p)]
    2929level_id = pt[-(1+p)]
    30 info['is_manager'] = context.isManager()
     30info['is_manager'] = context.isSectionManager()
    3131info['is_student'] = context.isStudent()
    3232info['action'] = "%s" % context.absolute_url()
  • WAeUP_SRP/trunk/skins/waeup_academics/searchAcademics.py

    r892 r903  
    2222mtool = context.portal_membership
    2323path_info = request.get('PATH_INFO').split('/')
    24 is_manager = context.isManager
     24is_manager = context.isSectionManager
    2525validate = request.has_key("cpsdocument_edit_button")
    2626items = []
Note: See TracChangeset for help on using the changeset viewer.