Changeset 658 for WAeUP_SRP/trunk/skins
- Timestamp:
- 11 Oct 2006, 18:08:17 (18 years ago)
- Location:
- WAeUP_SRP/trunk/skins
- Files:
-
- 5 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_custom/logged_in.py
r654 r658 79 79 member.setProperties(last_login_time=current,login_time=current) 80 80 if info['review_state'] == "application_pin_entered": 81 #wftool.doActionFor(info['app'],'open',dest_container=info['app'])81 wftool.doActionFor(info['app'],'open',dest_container=info['app']) 82 82 return response.redirect("%s/passport_entry_view" % student.absolute_url()) 83 83 return response.redirect("%s" % student.absolute_url()) -
WAeUP_SRP/trunk/skins/waeup_student/accommodation_slip.pt
r656 r658 1 <html metal:use-macro="here/content_lib_master/macros/master"> 2 <metal:block fill-slot="head_slot"> 3 </metal:block> 4 5 <metal:block fill-slot="css_slot"> 6 <link rel="Stylesheet" type="text/css" href="" 7 tal:attributes="href string:${base_url}document.css" /> 8 </metal:block> 9 10 <metal:block fill-slot="header"> 11 </metal:block> 12 13 <metal:block fill-slot="main" 14 tal:define="info context/getStudentInfo"> 15 <h3>Hostel Application Slip</h3> 16 <br /> 17 18 <table width="" cellpadding="2" cellspacing="0" summary="Form layout" 19 tal:define="acco_doc nocall: info/acco_doc" 20 > 21 <tr><td>Reservation Date: </td><td><span tal:content="python:acco_doc.acco_res_date.aCommonZ()" /></td></tr> 22 <tr><td>Pin used: </td><td><span tal:content="acco_doc/acco_res_sc_pin" /></td></tr> 23 <tr><td>Bed </td><td><span tal:content="python:context.formatBed(acco_doc.bed)" /></td></tr> 24 </table> 25 </metal:block> 26 27 <metal:block fill-slot="sub"> 28 </metal:block> 29 </html> 1 <metal:html tal:define="info context/getStudentInfo"> 2 <metal:body use-macro="here/main_template/macros/master"> 3 <metal:main fill-slot="main"> 4 <span tal:condition="not: info"> 5 <metal:block use-macro="here/error_not_found/macros/not_found" /> 6 </span> 7 <h3>Hostel Application Slip</h3> 8 <br /> 9 <span tal:omit-tag="" 10 tal:content="structure python: info['acco_doc'].render(proxy=info['acco_doc'], 11 layout_mode='view_slip', 12 layout_id='student_accommodation')" 13 /> 14 </metal:main> 15 </metal:body> 16 </metal:html> -
WAeUP_SRP/trunk/skins/waeup_student/application_slip.pt
r645 r658 1 <html metal:use-macro="here/content_lib_master/macros/master"> 2 <metal:block fill-slot="head_slot"> 3 </metal:block> 4 5 <metal:block fill-slot="css_slot"> 6 <link rel="Stylesheet" type="text/css" href="" 7 tal:attributes="href string:${base_url}document.css" /> 8 </metal:block> 9 10 <metal:block fill-slot="header"> 11 </metal:block> 12 13 <metal:block fill-slot="main"> 14 15 <tal:block tal:condition="python:context.portal_type == 'Student'" tal:omit-tag=""> 16 <h3>Post UME Acknowledegement Slip</h3> 1 <metal:html tal:define="info context/getStudentInfo"> 2 <metal:body use-macro="here/main_template/macros/master"> 3 <metal:main fill-slot="main"> 4 <span tal:condition="not: info"> 5 <metal:block use-macro="here/error_not_found/macros/not_found" /> 6 </span> 7 <span tal:condition="info" 8 tal:define="review_state info/review_state"> 9 10 <h3>Post UME Acknowledegement Slip</h3> 17 11 <br /> 18 19 <tal:block tal:define="application_data python:context.application.getContent();"> 20 21 22 <table cellpadding="10em" cellspacing=""> 23 <tr> 24 <td valign="top"> 25 <img tal:condition="application_data/passport|nothing" width="150" height="200" 26 tal:attributes="src string:${context/absolute_url}/application/passport"/> 27 <span tal:condition="nothing" tal:replace="structure application_data/passport" /> 28 </td> 29 30 <td> 31 32 <table width="" cellpadding="2" cellspacing="0" summary="Form layout"> 33 <tr><td>Student ID: </td><td><span tal:content="context/id" /></td> 34 <tr><td>Access Code: </td><td><span tal:content="application_data/app_ac_pin" /></td></tr> 35 <tr><td>Application Date: </td><td><span tal:content="python:application_data.app_ac_date.aCommonZ()" /></td></tr> 36 <tr><td>JAMB Registration Number: </td><td><span tal:content="application_data/jamb_reg_no" /></td></tr> 37 <tr><td>Student's Name: </td><td><span tal:content="application_data/jamb_firstname" /> <span tal:content="application_data/jamb_middlename" /> <span tal:content="application_data/jamb_lastname" /></td></tr> 38 <tr><td>Sex: </td><td><span tal:content="application_data/jamb_sex" /></td></tr> 39 <tr><td>Mode of Entry: </td><td><span tal:content="application_data/entry_mode" /></td></tr> 40 <tr><td>Course of Study: </td><td><span tal:content="application_data/jamb_first_cos" />, <span tal:content="application_data/jamb_second_cos" /></td></tr> 41 <tr><td>State of Origin: </td><td><span tal:content="application_data/jamb_state" /> / <span tal:content="application_data/jamb_lga" /></td></tr> 42 <tr><td>Post UME Examination Date: </td><td></td></tr> 43 </table> 44 45 </td> 46 </tr> 47 </table> 48 49 </tal:block> 50 </tal:block> 51 <tal:block condition="python:context.portal_type != 'Student'"> 52 Please do not manipulate the URL! This is not a student object. 53 </tal:block> 54 55 </metal:block> 56 57 <metal:block fill-slot="sub"> 58 </metal:block> 59 </html> 12 <span tal:omit-tag="" 13 tal:content="structure python: info['app_doc'].render(proxy=info['app_doc'], 14 layout_mode='view_slip', 15 layout_id='student_application_fe')" 16 /> 17 </span> 18 </metal:main> 19 </metal:body> 20 </metal:html>
Note: See TracChangeset for help on using the changeset viewer.