Changeset 797 for WAeUP_SRP/trunk
- Timestamp:
- 9 Nov 2006, 06:41:08 (18 years ago)
- Location:
- WAeUP_SRP/trunk/skins/waeup_student
- Files:
-
- 1 added
- 1 deleted
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_student/admission_accept_form.pt
r789 r797 2 2 <metal:body use-macro="here/main_template/macros/master"> 3 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 <div style="text-align: right" 11 tal:condition="python:review_state in ('admission_applied', 'clearance_pin_entered',)"> 12 <a href="" target="slip" tal:attributes="href string:application_slip" 13 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')"> 14 <img tal:attributes="src string:${here/portal_url}/actionicon_print.png" /> 15 Application Slip 16 </a> 17 18 </div> 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 19 10 20 <h3>My Application Record</h3> 21 <br /> 22 <span tal:omit-tag="" 23 tal:content="structure python: info['app_doc'].render(proxy=info['app_doc'], 24 layout_mode='view', 25 layout_id='student_application_fe')" 26 /> 27 </span> 28 <h3>My Study Course</h3> 11 <h2>You are admitted to the University of Benin!</h2> 12 13 <h3>Your Study Course</h3> 29 14 <br /> 30 15 <table tal:define="sc python: info['course_doc']"> 31 16 <tr> 32 <td tal:content="sc/title" /> <td>ID: <span tal:content="sc/study_course" /></td> 17 <td>Certificate:</td> 18 <td><span tal:content="sc/title" /></td> 33 19 </tr> 34 20 <tr> 35 <td tal:content="sc/title" /> <td tal:content="sc/study_course" /> 21 <td>Certificate ID:</td> 22 <td tal:content="sc/study_course" /> 36 23 </tr> 37 </table> 24 <tr> 25 <td>Faculty ID:</td> 26 <td tal:content="sc/faculty" /> 27 </tr> 28 <tr> 29 <td>Department ID:</td> 30 <td><span tal:content="sc/department" /></td> 31 </tr> 32 </table> 33 34 <h3>Your Application Record</h3> 35 <br /> 36 <span tal:omit-tag="" 37 tal:content="structure python: info['app_doc'].render(proxy=info['app_doc'], 38 layout_mode='view', 39 layout_id='student_application_fe')" 40 /> 41 42 <h3>Your PUME Results</h3> 43 <br /> 44 <span tal:omit-tag="" 45 tal:condition="python:info['pume'] is not None" 46 tal:content="structure python: info['pume_doc'].render(proxy=info['pume_doc'], 47 layout_mode='view', 48 layout_id='student_pume_fe')" 49 /> 38 50 39 51 <form action="." method="post" class="group" … … 44 56 <td align="left" valign="top" rowspan="3"></td> 45 57 <td align="left" valign="top"> 46 <input type="submit" name="defer_admission:method" value=" defer"58 <input type="submit" name="defer_admission:method" value="Reject/Defer Admission" 47 59 class="destructive" 48 60 tal:attributes="onclick python:'return window.confirm(\'%s\')' % 49 (cpsmcat(' confirm that you defer'), )"61 (cpsmcat('Confirm that you want to reject/defer your admision.'), )" 50 62 /> 51 63 <input type="submit" name="application_edit:method" 52 class="context" value=" upload Passport"64 class="context" value="Continue" 53 65 /> 54 66 </td> 55 67 </tr> 56 68 </table> 57 </form> 69 </form> 70 </span> 58 71 </metal:main> 59 72 </metal:body> -
WAeUP_SRP/trunk/skins/waeup_student/application_pin_form.pt
r492 r797 20 20 <ul> 21 21 <li>Buy an Application Scratch Card.</li> 22 <li>Enter your JAMB registration number and the Application PIN above.</li>22 <li>Enter your JAMB Registration Number and the Application PIN above.</li> 23 23 <li>Upload your passport picture.</li> 24 24 <li>Apply for admission.</li> -
WAeUP_SRP/trunk/skins/waeup_student/application_view.pt
r770 r797 9 9 10 10 <div style="text-align: right" 11 tal:condition="python:review_state in ('admission_applied', 'clearance_pin_entered',)">11 tal:condition="python:review_state in ('admission_applied','clearance_pin_entered','admitted',)"> 12 12 <a href="" target="slip" tal:attributes="href string:application_slip" 13 13 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')"> -
WAeUP_SRP/trunk/skins/waeup_student/check_admission.py
r788 r797 47 47 student = getattr(context.campus.students, s_id) 48 48 review_state = wf.getInfoFor(student,'review_state',None) 49 if review_state == " finally_rejected":50 url = "%s/campus/students/%s/pume/ finally_rejected_view" % (context.portal_url(),s_id)49 if review_state == "admission_rejected": 50 url = "%s/campus/students/%s/pume/admission_rejected_view" % (context.portal_url(),s_id) 51 51 return redirect(url) 52 52 pin = str(ds.get('app_ac_pin')) -
WAeUP_SRP/trunk/skins/waeup_student/check_admission_pin_form.pt
r785 r797 14 14 </metal:block> 15 15 <metal:block fill-slot="main"> 16 <h3>Check if your admitted! </h3>16 <h3>Check Your Admission Status! </h3> 17 17 <br /> 18 18 <div tal:replace="structure rendered_main" /> 19 19 <p>Instructions :</p> 20 20 <ul> 21 <li>Buy an A dmission Scratch Card.</li>22 <li>Enter your JAMB registration number and the Admission PINabove.</li>21 <li>Buy an Application Scratch Card.</li> 22 <li>Enter your JAMB Registration Number, the Admission PIN and your Email Address above.</li> 23 23 </ul> 24 24 </metal:block> -
WAeUP_SRP/trunk/skins/waeup_student/portlet_student_workflow_display.pt
r796 r797 51 51 52 52 <span tal:condition="python:path('info/review_state')=='admitted'"> 53 <tr><td class="active">Admitted</td></tr> 53 <tr> 54 <td class="active"> 55 <a href="" tal:attributes="href string:${info/url}/admission_accept_form"> 56 Admitted 57 </a> 58 </td> 59 </tr> 54 60 </span> 55 61 <span tal:condition="python:path('info/review_state')=='admission_rejected'"> -
WAeUP_SRP/trunk/skins/waeup_student/request_clearance.py
r796 r797 27 27 button = "Start", 28 28 ) 29 30 info = context.getStudentInfo() 31 app_doc = info['app_doc'] 32 if app_doc.passport is None: 33 return context.clearance_pin_form(rendered = res, 34 psm = "You must upload your passport picture before you can start the registration process.", 35 #psm = "%s, %s" % (psm,ds), 36 firstlayout = True, 37 lastlayout = True, 38 ds = ds, 39 ) 40 29 41 if psm == 'invalid': 30 42 return context.clearance_pin_form(rendered = res,
Note: See TracChangeset for help on using the changeset viewer.