Changeset 1161
- Timestamp:
- 31 Dec 2006, 07:50:50 (18 years ago)
- Location:
- WAeUP_SRP/trunk/skins
- Files:
-
- 20 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_default/campus_anonymous_view.pt
r805 r1161 1 <metal:html tal:define="info context/getStudentInfo">1 <metal:html> 2 2 <metal:body use-macro="here/main_template/macros/master"> 3 3 <metal:main fill-slot="main"> -
WAeUP_SRP/trunk/skins/waeup_default/campus_view.pt
r903 r1161 1 <metal:html tal:define="info context/getStudentInfo">1 <metal:html> 2 2 <metal:body use-macro="here/main_template/macros/master"> 3 3 <metal:main fill-slot="main"> -
WAeUP_SRP/trunk/skins/waeup_default/srp_view.pt
r903 r1161 1 <metal:html tal:define="info context/getStudentInfo">1 <metal:html> 2 2 <metal:body use-macro="here/main_template/macros/master"> 3 3 <metal:main fill-slot="main"> -
WAeUP_SRP/trunk/skins/waeup_default/waeup_document_view.pt
r913 r1161 1 1 <metal:html tal:define="info context/getDocumentInfo; 2 s_info context/getStudentInfo; 2 s_id context/getStudentId; 3 s_name context/getStudentName 3 4 is_so context/isSectionOfficer;" 4 5 > … … 11 12 </a> 12 13 <h3> 13 <span tal:condition="python:is_so and s_i nfo">14 <span tal:content="s_ info/student/Title" />:14 <span tal:condition="python:is_so and s_id"> 15 <span tal:content="s_name" />: 15 16 </span> 16 17 <span tal:content="here/title_or_id" /> -
WAeUP_SRP/trunk/skins/waeup_student/accommodation_slip.pt
r1096 r1161 1 <metal:html tal:define="info context/get StudentInfo">1 <metal:html tal:define="info context/getAccommodationInfo"> 2 2 <span tal:condition="not: info"> 3 3 <span tal:content="here/illegal_view" /> -
WAeUP_SRP/trunk/skins/waeup_student/accommodation_view.pt
r1096 r1161 1 <metal:html tal:define="info context/get StudentInfo">1 <metal:html tal:define="info context/getAccommodationInfo"> 2 2 <span tal:condition="not: info"> 3 3 <span tal:content="here/illegal_view" /> -
WAeUP_SRP/trunk/skins/waeup_student/application_slip.pt
r1085 r1161 1 <metal:html tal:define="info context/get StudentInfo">1 <metal:html tal:define="info context/getApplicationInfo"> 2 2 <span tal:condition="not: info"> 3 3 <span tal:content="here/illegal_view" /> -
WAeUP_SRP/trunk/skins/waeup_student/application_view.pt
r1096 r1161 1 <metal:html tal:define="info context/get StudentInfo">1 <metal:html tal:define="info context/getApplicationInfo"> 2 2 <span tal:condition="not: info"> 3 3 <span tal:content="here/illegal_view" /> -
WAeUP_SRP/trunk/skins/waeup_student/clearance_view.pt
r1096 r1161 1 <metal:html tal:define="info context/get StudentInfo;1 <metal:html tal:define="info context/getClearanceInfo; 2 2 is_so context/isSectionOfficer; 3 3 is_student context/isStudent; -
WAeUP_SRP/trunk/skins/waeup_student/contact_student_form.pt
r1096 r1161 1 1 <metal:html tal:define="member python:context.portal_membership.getAuthenticatedMember(); 2 info context/get StudentInfo;2 info context/getApplicationInfo; 3 3 "> 4 4 <span tal:condition="not: info"> -
WAeUP_SRP/trunk/skins/waeup_student/getAccommodationInfo.py
r1117 r1161 1 ## Script (Python) "get StudentInfo"1 ## Script (Python) "getAccommodationInfo" 2 2 ##bind container=container 3 3 ##bind context=context … … 79 79 elif s_brain.course in pti_certificates: 80 80 bt += "_pti" 81 81 82 82 d['bt'] = bt 83 83 #from Products.zdb import set_trace 84 84 #set_trace() 85 student_status = "%(sex)s_%(bt)s" % d 85 student_status = "%(sex)s_%(bt)s" % d 86 86 info['student_status'] = student_status 87 87 return info -
WAeUP_SRP/trunk/skins/waeup_student/getApplicationInfo.py
r1090 r1161 1 ## Script (Python) "get StudentInfo"1 ## Script (Python) "getApplicationInfo" 2 2 ##bind container=container 3 3 ##bind context=context … … 29 29 if requested_id and not context.isStaff() and member_id != requested_id: 30 30 logger.info('"%s", "accessed application object of", "%s"' % (member_id,requested_id)) 31 student_id = requested_id 31 student_id = requested_id 32 32 elif context.isStaff(): 33 33 student_id = requested_id -
WAeUP_SRP/trunk/skins/waeup_student/getClearanceInfo.py
r1157 r1161 1 ## Script (Python) "get StudentInfo"1 ## Script (Python) "getClearanceInfo" 2 2 ##bind container=container 3 3 ##bind context=context -
WAeUP_SRP/trunk/skins/waeup_student/getStudentName.py
r1077 r1161 1 ## Script (Python) "getStudent Info"1 ## Script (Python) "getStudentName" 2 2 ##bind container=container 3 3 ##bind context=context -
WAeUP_SRP/trunk/skins/waeup_student/getStudentReviewState.py
r1067 r1161 1 ## Script (Python) "getStudent Info"1 ## Script (Python) "getStudentReviewState" 2 2 ##bind container=container 3 3 ##bind context=context -
WAeUP_SRP/trunk/skins/waeup_student/getStudentWorkflowInfo.py
r1077 r1161 1 ## Script (Python) "getStudent Info"1 ## Script (Python) "getStudentWorkflowInfo" 2 2 ##bind container=container 3 3 ##bind context=context -
WAeUP_SRP/trunk/skins/waeup_student/objection_raised_form.pt
r1096 r1161 1 <metal:html tal:define="info options/info|context/get StudentInfo;1 <metal:html tal:define="info options/info|context/getApplicationInfo; 2 2 review_state info/review_state"> 3 3 <span tal:condition="not: info"> -
WAeUP_SRP/trunk/skins/waeup_student/raise_objection.py
r1102 r1161 17 17 18 18 wf = context.portal_workflow 19 info = context.get StudentInfo()19 info = context.getApplicationInfo() 20 20 if not info: 21 21 logger.info('"%s", "tried to access", "%s"' % (context.portal_membership.getAuthenticatedMember(),context.getStudentId())) -
WAeUP_SRP/trunk/skins/waeup_student/reserve_accommodation.py
r1140 r1161 38 38 button = "Book" 39 39 if mode == 'edit': 40 info = context.getStudentInfo()41 40 d['acco_res_date'] = info['acco_doc'].acco_res_date 42 41 d['acco_res_sc_pin'] = info['acco_doc'].acco_res_sc_pin -
WAeUP_SRP/trunk/skins/waeup_student/support_form.pt
r1097 r1161 1 <metal:html tal:define="info context/get StudentInfo;">1 <metal:html tal:define="info context/getApplicationInfo;"> 2 2 <span tal:condition="not: info"> 3 3 <span tal:content="here/illegal_view" />
Note: See TracChangeset for help on using the changeset viewer.