Changeset 1191 for WAeUP_SRP/trunk
- Timestamp:
- 3 Jan 2007, 19:55:57 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_default/getReviewInfo.py
r1187 r1191 1 ## Script (Python) "get StudentReviewState"1 ## Script (Python) "getReviewInfo" 2 2 ##bind container=container 3 3 ##bind context=context … … 19 19 workflow_vars=wf_vars) 20 20 d_review = proxies_info[0]['review_state'] 21 else: 22 d_review = '' 21 23 if context.portal_type != "Student": 22 24 student_id = context.getStudentId() … … 24 26 if res: 25 27 s_review = res[-1].review_state 26 return "%s / %s" % (s_review,d_review)28 return "%s / %s" % (s_review,d_review) 27 29 return "%s" % (d_review) 28 30
Note: See TracChangeset for help on using the changeset viewer.