Changeset 1870 for WAeUP_SRP/trunk/skins/waeup_default
- Timestamp:
- 8 Jun 2007, 16:13:05 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_default/getReviewInfo.py
r1819 r1870 25 25 d_review = '' 26 26 if context.portal_type != "Student": 27 student_id = context.getStudentId() 28 if student_id: 29 res = context.portal_catalog(id = student_id,portal_type='Student') 30 if res: 31 s_review = res[-1].review_state 32 return "%s / %s" % (s_review,d_review) 27 s_review = context.getStudentReviewState() 28 if s_review: 29 return "%s / %s" % (s_review,d_review) 30 # student_id = context.getStudentId() 31 # if student_id: 32 # res = context.portal_catalog(id = student_id,portal_type='Student') 33 # if res: 34 # return "%s / %s" % (s_review,d_review) 33 35 return "%s" % (d_review) 34 36
Note: See TracChangeset for help on using the changeset viewer.