- Timestamp:
- 2 Jan 2007, 11:03:16 (18 years ago)
- Location:
- WAeUP_SRP/trunk
- Files:
-
- 2 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/WAeUPTool.py
r1173 r1174 18 18 # 19 19 # $Id$ 20 """The WAeUPTool. 21 22 $Id$ 20 """The WAeUP Tool Box. 23 21 """ 24 22 … … 55 53 + SimpleItem.manage_options 56 54 ) 57 58 55 56 59 57 60 58 def generateStudentId(self,letter): ###( … … 147 145 148 146 #student should not be allowed to perform this transition 149 #wftool = self.portal_workflow 150 #wftool.doActionFor(student,'return') 147 #wftool = self.portal_workflow 148 #wftool.doActionFor(student,'return') 151 149 152 150 certcode_org = student.Coursemajorcode … … 186 184 else: 187 185 lga = "None" 188 d c['lga'] = lga186 da['jamb_lga'] = dc['lga'] = lga 189 187 da['app_email'] = dp['email'] = email 190 188 da['app_mobile'] = dp['phone'] = phone_nr 191 dp['firstname'] = student.Firstname 192 dp['middlename'] = student.Middlename 193 dp['lastname'] = student.Lastname 189 da['jamb_firstname'] = dp['firstname'] = student.Firstname 190 da['jamb_middlename'] = dp['middlename'] = student.Middlename 191 da['jamb_lastname'] = dp['lastname'] = student.Lastname 192 da['jamb_sex'] = student.Sex 194 193 dp['sex'] = student.Sex == 'F' 195 194 dp['perm_address'] = student.Permanent_Address -
WAeUP_SRP/trunk/profiles/default/themes.xml
r1115 r1174 12 12 <element key="application_slip" value="WAeUP_Student+Slippage"/> 13 13 <element key="accommodation_slip" value="WAeUP_Student+Slippage"/> 14 <element key="session_results_slip" value="WAeUP_Student+Slippage"/> 14 15 <element key="pume_slip" value="WAeUP_Student+Slippage"/> 15 16 <element key="entry_results_anon_slip" value="WAeUP_Student+Slippage"/> -
WAeUP_SRP/trunk/skins/waeup_custom/logged_in.py
r1171 r1174 98 98 redirect_url = "%s/clearance_edit_form" % student.absolute_url() 99 99 if s_review_state == "returning": 100 redirect_url = "%s/s tudent_view" % student.absolute_url()100 redirect_url = "%s/session_results_view" % student.absolute_url() 101 101 else: 102 102 redirect_url = "%s/student_index" % student.absolute_url() -
WAeUP_SRP/trunk/skins/waeup_student/portlet_student_workflow_display.pt
r1172 r1174 120 120 <span tal:condition="python:info['review_state']=='returning'"> 121 121 <tr><td class="active"> 122 <a href="" tal:attributes="href string:${info/url}/ personal_edit_form">122 <a href="" tal:attributes="href string:${info/url}/session_results_view"> 123 123 Returning 124 124 </a> -
WAeUP_SRP/trunk/skins/waeup_student/session_results_anon_view.pt
r1169 r1174 4 4 <metal:body use-macro="here/main_template/macros/master"> 5 5 <metal:main fill-slot="main"> 6 <div tal:condition="nothing" style="text-align: right">7 <a href="" target="slip" tal:attributes="href string:session_results_anon_slip?nr=${student/matric_no}"8 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')">9 <img tal:attributes="src string:${here/portal_url}/actionicon_print.png" />10 Session Result Slip11 </a>12 </div>13 6 <h3>Session Results of <span tal:content="student/Firstname" /> 14 7 <span tal:content="student/Middlename" /> -
WAeUP_SRP/trunk/skins/waeup_student/session_results_view.pt
r1171 r1174 1 <metal:html >1 <metal:html tal:define="info context/getSessionResults"> 2 2 <metal:body use-macro="here/main_template/macros/master"> 3 3 <metal:main fill-slot="main"> 4 <div tal:condition="nothing"style="text-align: right">5 <a href="" target="slip" tal:attributes="href string:session_results_ anon_slip?nr=${student/matric_no}"4 <div style="text-align: right"> 5 <a href="" target="slip" tal:attributes="href string:session_results_slip" 6 6 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')"> 7 7 <img tal:attributes="src string:${here/portal_url}/actionicon_print.png" /> 8 Session Result Slip8 Sessional Result Slip 9 9 </a> 10 10 </div> 11 <h3>Session Results of <span tal:content=" student/Firstname" />12 <span tal:content=" student/Middlename" />13 <span tal:content=" student/Lastname" />11 <h3>Session Results of <span tal:content="info/student/Firstname" /> 12 <span tal:content="info/student/Middlename" /> 13 <span tal:content="info/student/Lastname" /> 14 14 </h3> 15 15 <br /> 16 16 <table> 17 17 <tr> 18 <td width="180px"><span class="dlabel">Student ID</span>: 19 </td> 18 <th width="180px">Student ID:</th> 20 19 <td> 21 <span tal:replace=" python:here.aq_parent.aq_parent.id" />20 <span tal:replace="info/s_id" /> 22 21 </td> 23 22 </tr> 24 23 25 24 <tr> 26 <th width="150px">Matriculation Number:</th><td tal:content=" student/matric_no" />25 <th width="150px">Matriculation Number:</th><td tal:content="info/student/matric_no" /> 27 26 </tr> 28 27 <tr> 29 <th>Sex:</th><td tal:content=" student/Sex" />28 <th>Sex:</th><td tal:content="info/student/Sex" /> 30 29 </tr> 31 30 <tr> 32 <th>Course of Study:</th><td tal:content=" student/Coursemajor" />31 <th>Course of Study:</th><td tal:content="info/student/Coursemajor" /> 33 32 </tr> 34 33 <tr> 35 <th>Level:</th><td tal:content=" student/Level" />34 <th>Level:</th><td tal:content="info/student/Level" /> 36 35 </tr> 37 36 </table> … … 39 38 <table> 40 39 <tr> 41 <th width="1 50px">Verdict:</th><td tal:content="python:results[0][0]['Verdict']" />40 <th width="180px">Verdict:</th><td tal:content="python:info['results'][0][0]['Verdict']" /> 42 41 </tr> 43 42 <tr> 44 <th>Session:</th><td tal:content="python: results[0][0]['Session']" />43 <th>Session:</th><td tal:content="python:info['results'][0][0]['Session']" /> 45 44 </tr> 46 45 </table> … … 49 48 50 49 <table> 51 <span tal:repeat="semester results">50 <span tal:repeat="semester info/results"> 52 51 <span tal:repeat="result semester"> 53 52 <tr tal:condition="repeat/result/start">
Note: See TracChangeset for help on using the changeset viewer.