Changeset 525 for WAeUP_SRP/trunk
- Timestamp:
- 15 Sep 2006, 15:39:08 (18 years ago)
- Location:
- WAeUP_SRP/trunk/skins
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_custom/getCPSCandidateLocalRoles.py
r486 r525 18 18 mtool = getToolByName(context, 'portal_membership') 19 19 #return mtool.getCPSCandidateLocalRoles(context) 20 return ['Manager','SectionReader','SectionManager' ]20 return ['Manager','SectionReader','SectionManager','Student','Staff'] -
WAeUP_SRP/trunk/skins/waeup_student/get_student_info.py
r523 r525 17 17 18 18 info = {} 19 student = getattr(context.students,str(member),None) 19 students = getattr(context,'students',None) 20 if students is None: 21 students = getattr(context.campus,'students',None) 22 student = getattr(students,str(member),None) 20 23 if student is None: 21 24 return 25 22 26 info['review_state'] = wf.getInfoFor(student,'review_state','keiner') 23 27 #info['wf_state'] = 'keiner'
Note: See TracChangeset for help on using the changeset viewer.