Changeset 1067 for WAeUP_SRP/trunk/skins/waeup_student
- Timestamp:
- 15 Dec 2006, 17:43:18 (18 years ago)
- Location:
- WAeUP_SRP/trunk/skins/waeup_student
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_student/getStudentId.py
r1025 r1067 13 13 """ 14 14 ptl = context.REQUEST.get('PATH_TRANSLATED').split('/') 15 id_index = ptl.index('students') 15 try: 16 id_index = ptl.index('students') 17 except: 18 return None 16 19 if len(ptl) > id_index + 2: 17 20 return ptl[id_index + 1] -
WAeUP_SRP/trunk/skins/waeup_student/getStudentInfo.py
r1048 r1067 114 114 info['pume'] = None 115 115 116 if not with_items: 117 return info 118 116 119 items = [] 117 120 s_edit_links = {'StudentApplication': 'application_edit_form', … … 127 130 'StudentPume': 'pume_view', 128 131 } 129 if not with_items:130 return info131 132 sos = context.portal_catalog(container_path=student_path) 132 133 for so in sos:
Note: See TracChangeset for help on using the changeset viewer.