- Timestamp:
- 21 Oct 2006, 10:52:05 (18 years ago)
- Location:
- WAeUP_SRP/trunk/skins
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_academics/academics_document_view.pt
r556 r735 1 1 <metal:html tal:define="info context/getDocumentInfo; 2 is_manager info/is_manager|nothing;" 2 infos context/getStudentInfo; 3 is_manager info/is_manager|nothing;" 3 4 > 4 5 <metal:body use-macro="here/waeup_content_master/macros/master"> … … 9 10 Up one level 10 11 </a> 11 <h3 tal:content="here/title_or_id" /> 12 <h3> 13 <span tal:condition="python:is_manager and infos"> 14 <span tal:content="infos/student/Title" />: 15 </span> 16 <span tal:content="here/title_or_id" /> 17 </h3> 12 18 </metal:block> 13 19 <metal:main fill-slot="main"> -
WAeUP_SRP/trunk/skins/waeup_student/getStudentInfo.py
r723 r735 28 28 if context.portal_type == 'Student': 29 29 student_id = context.getId() 30 elif context.aq_parent.portal_type == 'Student': 31 student_id = context.aq_parent.getId() 32 elif context.aq_parent.aq_parent.portal_type == 'Student': 33 student_id = context.aq_parent.aq_parent.getId() 34 elif context.aq_parent.aq_parent.aq_parent.portal_type == 'Student': 35 student_id = context.aq_parent.aq_parent.aq_parent.getId() 30 36 else: 31 student_id = context.aq_parent.getId()37 student_id = member_id 32 38 else: 33 39 student_id = member_id
Note: See TracChangeset for help on using the changeset viewer.