Changeset 1331
- Timestamp:
- 20 Jan 2007, 23:35:57 (18 years ago)
- Location:
- WAeUP_SRP/trunk
- Files:
-
- 2 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/profiles/default/themes.xml
r1174 r1331 17 17 <element key="admission_slip" value="WAeUP_Student+Slippage"/> 18 18 <element key="clearance_slip" value="WAeUP_Student+Slippage"/> 19 <element key="inter_faculty_transfer_1" value="WAeUP_Student+Slippage"/> 20 <element key="inter_faculty_transfer_2" value="WAeUP_Student+Slippage"/> 21 <element key="inter_faculty_transfer_3" value="WAeUP_Student+Slippage"/> 22 <element key="intra_faculty_transfer_1" value="WAeUP_Student+Slippage"/> 23 <element key="intra_faculty_transfer_2" value="WAeUP_Student+Slippage"/> 24 <element key="intra_faculty_transfer_3" value="WAeUP_Student+Slippage"/> 19 25 </property> 20 26 <object name="default" meta_type="Portal Theme"/> -
WAeUP_SRP/trunk/skins/waeup_student/getTransferInfo.py
r1317 r1331 39 39 40 40 students_object = context.portal_url.getPortalObject().campus.students 41 42 student = getattr(students_object,student_id) 43 payments = getattr(student,'payments').objectIds() 44 info['payed'] = False 45 for payment in payments: 46 if payment.startswith('transfer'): 47 info['payed'] = True 48 payments_obj = getattr(student,'payments') 49 payment_obj = getattr(payments_obj,payment) 50 info['pin'] = payment_obj.getContent().order_id 51 break 52 41 53 #student = getattr(students_object, student_id) 42 54 res = context.students_catalog(id = student_id) … … 51 63 if len(results) > 0: 52 64 for r in results: 53 taken.append(r) 65 taken.append(r) 54 66 info['taken'] = taken 55 67 return info -
WAeUP_SRP/trunk/skins/waeup_student/inter_faculty_transfer_1.pt
r1317 r1331 3 3 tal:define="info context/getTransferInfo"> 4 4 5 6 <span tal:condition="python: not info or not info['payed']"> 7 <metal:block use-macro="here/error_not_found/macros/not_found" /> 8 </span> 9 <span tal:condition="python: info['payed']"> 5 10 <h3><center>INTER-FACULTY TRANSFER, 2006/2007 SESSION</center></h3> 6 11 <h3><center>- APPLICATION FORM -</center></h3> 12 <br /> 13 <center><font color="red"><span tal:content="info/pin"/></font></center> 7 14 <br /> 8 15 <strong>NOTE:</strong> INTER-FACULTY TRANSFER IS A PRIVILEGE, AND NOT A RIGHT. … … 14 21 15 22 <table border=0 width=100%> 16 <tr><td width="10px">1.</td><td width="2 10px">Name of Student:</td><tdtal:content="info/student/name" /></tr>17 <tr><td >2.</td><td>Mode of Entry:</td><tdtal:content="info/student/entry_mode" /></tr>18 <tr><td> </td><td>UME (Indicate Scores):</td><td > </td></tr>19 <tr><td> </td><td>Direct Entry (Indicate Grades):</td><td > </td></tr>20 <tr><td >3.</td><td>Matriculation No:</td><tdtal:content="info/student/matric_no" /></tr>21 <tr><td >4.</td><td>a) Present Faculty/School:</td><tdtal:content="info/student/faculty" /></tr>22 <tr><td> </td><td>b) Present Department (if applicable):</td><td tal:content="info/student/department" /></tr>23 <tr><td >5.</td><td>Present Level:</td><tdtal:content="info/student/level" /></tr>23 <tr><td width="10px">1.</td><td width="240px">Name of Student:</td><td valign="top" tal:content="info/student/name" /></tr> 24 <tr><td valign="top">2.</td><td>Mode of Entry:</td><td valign="top" tal:content="info/student/entry_mode" /></tr> 25 <tr><td> </td><td>UME (Indicate Scores):</td><td style="border-bottom-style:dotted; border-bottom-width:1px; border-bottom-color:black"> </td></tr> 26 <tr><td> </td><td>Direct Entry (Indicate Grades):</td><td style="border-bottom-style:dotted; border-bottom-width:1px; border-bottom-color:black"> </td></tr> 27 <tr><td valign="top">3.</td><td>Matriculation No:</td><td valign="top" tal:content="info/student/matric_no" /></tr> 28 <tr><td valign="top">4.</td><td>a) Present Faculty/School:</td><td valign="bottom" tal:content="info/student/faculty" /></tr> 29 <tr><td> </td><td>b) Present Department (if applicable):</td><td valign="bottom" tal:content="info/student/department" /></tr> 30 <tr><td valign="top">5.</td><td>Present Level:</td><td valign="top" tal:content="info/student/level" /></tr> 24 31 <tr><td valign="top">6.</td><td valign="top">Courses Taken Last Session:</td> 25 <td> <span tal:repeat="course info/taken"> <span tal:content="course/CosCode" />, </span>32 <td> <span tal:repeat="course info/taken"> <span valign="top" tal:content="course/CosCode" />, </span> 26 33 </td> 27 34 </tr> 28 <tr><td >7.</td><td>Proposed Faculty/School:</td><td style="border-bottom-style:dotted; border-bottom-width:1px; border-bottom-color:black"> </td></tr>35 <tr><td valign="top">7.</td><td>Proposed Faculty/School:</td><td style="border-bottom-style:dotted; border-bottom-width:1px; border-bottom-color:black"> </td></tr> 29 36 <tr><td></td><td>Department:</td><td style="border-bottom-style:dotted; border-bottom-width:1px; border-bottom-color:black"> </td></tr> 30 <tr><td >8.</td><td>Reason(s) for Transfer:</td><td></td></tr>31 <tr><td></td><td>(a) Personal Wish </td><td valign="top">( )</td></tr>32 <tr><td></td><td width="210px">(b) Advised to Withdraw from Faculty/School </td><td valign="top">( )</td></tr>37 <tr><td valign="top">8.</td><td>Reason(s) for Transfer (Tick)</td><td></td></tr> 38 <tr><td></td><td>(a) Personal Wish:</td><td>( )</td></tr> 39 <tr><td></td><td width="210px">(b) Advised to Withdraw from Faculty/School:</td><td>( )</td></tr> 33 40 <tr><td valign="top">9.</td><td width="210px">Have you previously transferred from any other Faculty/School or Department?</td><td valign="top">YES / NO</td></tr> 34 41 </table> … … 60 67 </form> 61 68 62 69 </span> 63 70 64 71 </metal:main> -
WAeUP_SRP/trunk/skins/waeup_student/request_transfer_form.pt
r1327 r1331 1 <tal:block define="rendered_main options/rendered; 2 portal_status_message options/psm; 3 payed options/payed|nothing; 4 edition python:1;" 5 > 6 <metal:block define-macro="edit_form"> 7 <metal:block use-macro="here/content_lib_master/macros/master"> 8 <metal:block fill-slot="header" 9 tal:define="creation creation|nothing; 10 edition edition|nothing; 11 metadata metadata|nothing" 12 > 13 </metal:block> 14 <metal:block fill-slot="main"> 15 <span tal:condition="rendered_main"> 16 <h3>Request a Transfer!</h3> 1 <metal:block use-macro="here/waeup_content_master/macros/master"> 2 <metal:main fill-slot="main" 3 tal:define="rendered_main options/rendered; 4 portal_status_message options/psm; 5 payed options/payed|nothing;"> 6 7 <span tal:condition="payed"> 8 <h3>Print Your Transfer Form!</h3> 17 9 <br /> 18 10 <div tal:replace="structure rendered_main" /> 19 </span> 20 <span tal:condition="payed"> 21 <a href="intra_transfer">Request an Intra Faculty Transfer</a> 22 <a href="inter_transfer">Request an Inter Faculty Transfer</a> 11 <a target="slip" href="intra_faculty_transfer_1" 12 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')"> 13 Intra Faculty Transfer Form</a> 14 15 <br /> 16 <br /> 17 18 19 <a target="slip" href="inter_faculty_transfer_1" 20 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')"> 21 Inter Faculty Transfer Form</a> 23 22 </span> 24 </metal:block> 25 <metal:block fill-slot="sub"> 26 </metal:block> 27 </metal:block> 28 </metal:block> 29 </tal:block> 23 </metal:main> 24 </metal:block>
Note: See TracChangeset for help on using the changeset viewer.