Changeset 1186 for WAeUP_SRP/trunk/skins/waeup_student/getPersonalInfo.py
- Timestamp:
- 3 Jan 2007, 18:08:07 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_student/getPersonalInfo.py
r1167 r1186 38 38 students_object = context.portal_url.getPortalObject().campus.students 39 39 student = getattr(students_object, student_id) 40 info['id'] = student_id 41 info['student'] = student 42 info['review_state'] = wf.getInfoFor(student,'review_state',None) 43 info['per'] = student.personal 40 #info['id'] = student_id 41 #info['student'] = student 42 res = context.portal_catalog(portal_type='Student',id = student_id) 43 if res: 44 info['review_state'] = res[0].review_state 45 #info['review_state'] = wf.getInfoFor(student,'review_state',None) 46 #info['per'] = student.personal 44 47 info['per_doc'] = student.personal.getContent() 45 48 return info
Note: See TracChangeset for help on using the changeset viewer.