Changeset 3804 for WAeUP_SRP/trunk/skins
- Timestamp:
- 8 Dec 2008, 09:26:43 (16 years ago)
- Location:
- WAeUP_SRP/trunk/skins/waeup_ois
- Files:
-
- 3 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_ois/academic_report_view.pt
r3727 r3804 25 25 <span tal:condition="python:True"> 26 26 <div style="text-align: right" 27 tal:condition="python:True"> 28 <a href="" target="slip" tal:attributes="href string:academic_report_slip" 27 tal:condition="python:True"> 28 <img tal:attributes="src string:${here/portal_url}/actionicon_print.png" /> Academic Report Slip: 29 <a href="" target="slip" tal:attributes="href string:academic_report_slip_1" 29 30 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 <img tal:attributes="src string:${here/portal_url}/actionicon_print.png" /> 31 Academic Report Slip 31 Term 1 / 32 32 </a> 33 <a href="" target="slip" tal:attributes="href string:academic_report_slip_2" 34 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')"> 35 Term 2 / 36 </a> 37 <a href="" target="slip" tal:attributes="href string:academic_report_slip_3" 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 Term 3 40 </a> 33 41 </div> 34 42 </span> -
WAeUP_SRP/trunk/skins/waeup_ois/getPastoralReportInfo.py
r3718 r3804 46 46 students_object = context.portal_url.getPortalObject().campus.students 47 47 student = getattr(students_object, student_id) 48 info['app'] = student.application49 info['app_doc'] = student.application.getContent()48 #info['app'] = student.application 49 #info['app_doc'] = student.application.getContent() 50 50 51 51 return info -
WAeUP_SRP/trunk/skins/waeup_ois/pastoral_report_slip.pt
r3718 r3804 3 3 tal:define="info context/getPastoralReportInfo; 4 4 s_name context/getStudentNameInContext; 5 info_base context/getStudentBaseInfo; 5 6 "> 6 7 <span tal:condition="not: info"> … … 11 12 </h3> 12 13 <br /> 13 <span tal:omit-tag="" tal:content="structure python: info['app_doc'].render(proxy=info['app_doc'], 14 layout_mode='view_info', 15 layout_id='student_application')"/> 14 15 16 <table width="" cellpadding="2" cellspacing="0" summary="Form layout"> 17 <tr> 18 <td valign="top" width="180px"><span class="dlabel">Name</span>: 19 </td> 20 <td> 21 <span tal:content="info_base/student/name" /> 22 </td> 23 </tr> 24 <tr> 25 <td valign="top" width="180px"><span class="dlabel">Sex</span>: 26 </td> 27 <td> 28 <span tal:content="info_base/student/sex" /> 29 </td> 30 </tr> 31 <tr valign="top"> 32 <td><span class="dlabel">Online Student ID</span>: 33 </td> 34 <td> 35 <span tal:content="info_base/id" /> 36 </td> 37 </tr> 38 <tr valign="top"> 39 <td><span class="dlabel">Registration No</span>: 40 </td> 41 <td> 42 <span tal:content="info_base/student/matric_no" /> 43 </td> 44 </tr> 45 46 <tr valign="top"> 47 <td><span class="dlabel">Email</span>: 48 </td> 49 <td> 50 <span tal:content="info_base/student/email" /> 51 </td> 52 </tr> 53 <tr valign="top"> 54 <td><span class="dlabel">Phone</span>: 55 </td> 56 <td> 57 <span tal:content="info_base/student/phone" /> 58 </td> 59 </tr> 60 <tr valign="top"> 61 <td><span class="dlabel">Current Session</span>: 62 </td> 63 <td> 64 <span tal:content="python:context.portal_vocabularies.sessions.get(info_base['student']['session'])" /> 65 </td> 66 </tr> 67 <tr valign="top"> 68 <td><span class="dlabel">Current Level</span>: 69 </td> 70 <td> 71 <span tal:content="python:context.portal_vocabularies.student_levels.get(info_base['student']['level'])" /> 72 </td> 73 </tr> 74 </table> 75 76 77 16 78 <br /> 17 79 <span tal:omit-tag="" … … 21 83 <table width=100%> 22 84 <tr > 23 <td width= 50%>Date:</td><td></td>85 <td width="180px">Date:</td><td>12/12/2008</td> 24 86 </tr> 25 </table> <br /><br /><br /><br /> 87 <tr > 88 <td width="180px">Name of House Staff:</td><td><span tal:content="info/doc/house_staff" /></td> 89 </tr> 90 </table> <br /><br /><br /> 26 91 <table width=100%> 27 92 <tr > 28 <td width=50% style="border-top-style:solid; border-top-width:1px; border-top-color:black">Name of House Staff</td> 29 <td width=50% style="border-top-style:solid; border-top-width:1px; border-top-color:black">Signature</td> 93 <td width=100% style="border-top-style:solid; border-top-width:1px; border-top-color:black">Staff Signature</td> 30 94 </tr> 31 95 </table> -
WAeUP_SRP/trunk/skins/waeup_ois/pastoral_report_view.pt
r3718 r3804 56 56 <td><span tal:content="info/term" /></td> 57 57 </tr> 58 <tr> 59 <th>House Staff:</th> 60 <td><span tal:content="info/doc/house_staff" /></td> 61 </tr> 58 62 </table> 59 63
Note: See TracChangeset for help on using the changeset viewer.