Changeset 645 for WAeUP_SRP/trunk
- Timestamp:
- 10 Oct 2006, 17:55:35 (18 years ago)
- Location:
- WAeUP_SRP/trunk/skins/waeup_student
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_student/application_slip.pt
r613 r645 23 23 <tr> 24 24 <td valign="top"> 25 <img tal:condition="application_data/passport|nothing" 25 <img tal:condition="application_data/passport|nothing" width="150" height="200" 26 26 tal:attributes="src string:${context/absolute_url}/application/passport"/> 27 27 <span tal:condition="nothing" tal:replace="structure application_data/passport" /> -
WAeUP_SRP/trunk/skins/waeup_student/getStudentInfo.py
r639 r645 23 23 info['is_manager'] = context.isManager 24 24 member_id = str(member) 25 res = context.portal_catalog(portal_type='Student',id=member_id) 25 if student is None: 26 student_id = member_id 27 else: 28 student_id = student.getId() 29 res = context.portal_catalog(portal_type='Student',id=student_id) 26 30 if not res: 27 31 return None
Note: See TracChangeset for help on using the changeset viewer.