Changeset 1355 for WAeUP_SRP/trunk/skins/waeup_default
- Timestamp:
- 25 Jan 2007, 20:49:22 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_default/getReviewInfo.py
r1191 r1355 23 23 if context.portal_type != "Student": 24 24 student_id = context.getStudentId() 25 res = context.portal_catalog(id = student_id,portal_type='Student') 26 if res: 27 s_review = res[-1].review_state 28 return "%s / %s" % (s_review,d_review) 25 if student_id: 26 res = context.portal_catalog(id = student_id,portal_type='Student') 27 if res: 28 s_review = res[-1].review_state 29 return "%s / %s" % (s_review,d_review) 29 30 return "%s" % (d_review) 30 31
Note: See TracChangeset for help on using the changeset viewer.