Changeset 770 for WAeUP_SRP/trunk/skins/waeup_student/getStudentInfo.py
- Timestamp:
- 29 Oct 2006, 05:24:04 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_student/getStudentInfo.py
r768 r770 68 68 else: 69 69 info['clear'] = None 70 70 71 71 res = context.portal_catalog(container_path=student_path, 72 72 portal_type='StudentPume') … … 77 77 info['pume_review_state'] = wf.getInfoFor(pume,'review_state',None) 78 78 else: 79 info['pume'] = None 79 info['pume'] = None 80 80 81 81 items = [] 82 s_edit_links = {'StudentApplication': ' student_edit',82 s_edit_links = {'StudentApplication': 'application_edit', 83 83 'StudentAccommodation': '', 84 84 'StudentClearance': 'clearance_edit', 85 85 'StudentPersonal': '', 86 86 } 87 s_view_links = {'StudentApplication': None,87 s_view_links = {'StudentApplication': 'application_view', 88 88 'StudentAccommodation': 'accommodation_view', 89 89 'StudentClearance': 'clearance_view', 90 90 'StudentPersonal': None, 91 'StudentApplication': 'application_view',92 91 'StudentStudyCourse': 'study_course_view', 93 92 'StudentPume': 'pume_view', … … 110 109 row['s_edit_link'] = "%s/%s" % (soo.absolute_url(),se_link) 111 110 row['review_state'] = so.review_state 112 row['display'] = so.review_state in ('opened','closed', ) or\111 row['display'] = so.review_state in ('opened','closed','public',) or\ 113 112 so.portal_type in ("StudentAccommodation","StudentStudyCourse") 114 113 items.append(row)
Note: See TracChangeset for help on using the changeset viewer.