Changeset 1562 for WAeUP_SRP


Ignore:
Timestamp:
16 Mar 2007, 11:09:14 (18 years ago)
Author:
Henrik Bettermann
Message:

isCourseAdviser fixed

Location:
WAeUP_SRP/trunk/skins
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_default/isCourseAdviser.py

    r1557 r1562  
    1 ## Script (Python) "isClearanceOfficer"
     1## Script (Python) "isCourseAdviser"
    22##bind container=container
    33##bind context=context
     
    1616mtool = context.portal_membership
    1717roles = mtool.getAuthenticatedMember().getRolesInContext(context)
    18 return str("CourseAdviser" in roles)
    1918return "CourseAdviser" in roles
    2019
  • WAeUP_SRP/trunk/skins/waeup_student/study_level_view.pt

    r1559 r1562  
    66                 global is_ca info/is_ca;
    77                 global show_check_boxes info/show_check_boxes;
    8                  global is_student info/is_student;
    9                  global status_info info/status_info;
    10                  global review_state info/review_state;
    11                  global view_only info/view_only">
     8                             global is_student info/is_student;
     9                             global status_info info/status_info;
     10                             global review_state info/review_state;
     11                             global view_only info/view_only">
    1212      <a href=""
    1313         tal:attributes="href string:${here/academicsParent}">
Note: See TracChangeset for help on using the changeset viewer.