Changeset 3701 for WAeUP_SRP/trunk
- Timestamp:
- 24 Sep 2008, 13:44:20 (16 years ago)
- Location:
- WAeUP_SRP/trunk
- Files:
-
- 2 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/CHANGES.txt
r3698 r3701 46 46 47 47 - More profile clean-up 48 49 1.8 (2008-09-24) 50 ----------------- 51 - Add academic and pastoral report slips -
WAeUP_SRP/trunk/skins/waeup_student/academic_report_view.pt
r3682 r3701 23 23 24 24 25 <span tal:condition="python: False">25 <span tal:condition="python:True"> 26 26 <div style="text-align: right" 27 tal:condition=" rejection_allowed">28 <a href="" target="slip" tal:attributes="href string: course_registration_slip"27 tal:condition="python:True"> 28 <a href="" target="slip" tal:attributes="href string:academic_report_slip" 29 29 onclick="javascript:window.open('','slip','width=600, height=700, directories=no, toolbar=no, location=no, menubar=yes, scrollbars=yes, status=no, resizable=no, dependent=no')"> 30 30 <img tal:attributes="src string:${here/portal_url}/actionicon_print.png" /> 31 Course RegistrationSlip31 Academic Report Slip 32 32 </a> 33 33 </div> 34 35 <div style="text-align: right"36 tal:condition="info/gpa">37 <a href="" target="slip" tal:attributes="href string:new_session_results_slip"38 onclick="javascript:window.open('','slip','width=600, height=700, directories=no, toolbar=no, location=no, menubar=yes, scrollbars=yes, status=no, resizable=no, dependent=no')">39 <img tal:attributes="src string:${here/portal_url}/actionicon_print.png" />40 Session Results Slip41 </a>42 </div>43 34 </span> 44 35 -
WAeUP_SRP/trunk/skins/waeup_student/getPastoralReportInfo.py
r3682 r3701 44 44 #info['student'] = student = context.students_catalog.getRecordByKey(student_id) 45 45 46 students_object = context.portal_url.getPortalObject().campus.students 47 student = getattr(students_object, student_id) 48 info['app'] = student.application 49 info['app_doc'] = student.application.getContent() 50 46 51 return info -
WAeUP_SRP/trunk/skins/waeup_student/pastoral_report_view.pt
r3682 r3701 9 9 <span tal:condition="info" tal:omit-tag=""> 10 10 <span tal:condition="not:info/is_anonymous" tal:omit-tag=""> 11 12 <div style="text-align: right" 13 tal:condition="python:True"> 14 <a href="" target="slip" tal:attributes="href string:pastoral_report_slip" 15 onclick="javascript:window.open('','slip','width=600, height=700, directories=no, toolbar=no, location=no, menubar=yes, scrollbars=yes, status=no, resizable=no, dependent=no')"> 16 <img tal:attributes="src string:${here/portal_url}/actionicon_print.png" /> 17 Pastoral Report Slip 18 </a> 19 </div> 20 21 11 22 <span tal:define="breadcrumbs context/getBreadCrumbs|nothing"> 12 23 <a tal:condition="not: breadcrumbs" href="" … … 24 35 </span> 25 36 </span> 37 38 39 40 26 41 <h3 tal:define="is_so info/is_sectionofficer;"> 27 42 <span tal:condition="python:is_so and s_name">
Note: See TracChangeset for help on using the changeset viewer.