Changeset 570 for WAeUP_SRP/trunk/skins/waeup_academics/getCoursesInfo.py
- Timestamp:
- 27 Sep 2006, 13:57:28 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_academics/getCoursesInfo.py
r566 r570 21 21 info = {} 22 22 member_id = str(member) 23 dep_id = request.get('PATH_TRANSLATED').split('/')[ 5]23 dep_id = request.get('PATH_TRANSLATED').split('/')[-2] 24 24 roles = member.getRoles() 25 25 info['is_manager'] = 'Manager' in roles or 'SectionManager' in roles
Note: See TracChangeset for help on using the changeset viewer.