Changeset 1219
- Timestamp:
- 7 Jan 2007, 08:29:13 (18 years ago)
- Location:
- WAeUP_SRP/trunk/skins
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_default/waeup_document_view.pt
r1162 r1219 1 <metal:html tal:define="info context/getDocumentInfo; 2 s_name context/getStudentName; 3 is_so context/isSectionOfficer;" 4 > 5 <metal:body use-macro="here/waeup_content_master/macros/master"> 6 <metal:block fill-slot="header"> 1 <metal:body use-macro="here/waeup_content_master/macros/master"> 2 <metal:block fill-slot="header" 3 tal:define="s_name context/getStudentNameInContext; 4 is_so context/isSectionOfficer;"> 7 5 <a href="" 8 6 tal:attributes="href string:${here/academicsParent}"> … … 17 15 </h3> 18 16 <br /> 19 </metal:block> 20 <metal:main fill-slot="main"> 21 <span tal:omit-tag="" 22 tal:content="structure python: info['doc'].render(layout_mode='view')" /> 23 24 </metal:main> 17 </metal:block> 18 <metal:main fill-slot="main" 19 tal:define="info context/getDocumentInfo"> 20 <span tal:omit-tag="" 21 tal:content="structure python: info['doc'].render(layout_mode='view')" /> 25 22 23 </metal:main> 26 24 <metal:sub fill-slot="sub"/> 27 28 </metal:html> 25 </metal:body> 26 -
WAeUP_SRP/trunk/skins/waeup_student/getStudentName.py
r1162 r1219 16 16 if mtool.isAnonymousUser(): 17 17 return None 18 info = {}19 #from Products.zdb import set_trace20 #set_trace()21 18 if not context.isStudent(): 22 19 return None
Note: See TracChangeset for help on using the changeset viewer.