source: WAeUP_SRP/base/skins/waeup_student/admission_form.pt @ 2726

Last change on this file since 2726 was 2692, checked in by joachim, 17 years ago

avoid traceback (in custom)

File size: 3.9 KB
RevLine 
[2581]1<metal:html tal:define="info context/getStudentInfo;
[2692]2                        app_email info/app_doc/app_email|nothing">
[1096]3  <span tal:condition="not: info">
4    <span tal:content="here/illegal_view" />
5  </span>
6<metal:block tal:condition="info"> 
[1783]7  <metal:body use-macro="here/main_template/macros/master">
[837]8    <metal:main fill-slot="main">
9    <span tal:condition="not: info">
[1783]10      <span tal:content="here/illegal_view" />
[837]11    </span>
12    <span tal:condition="info"
13          tal:define="review_state info/review_state">
14         
15
16      <div style="text-align: right"
[869]17           tal:condition="python:review_state in ('admitted', 'clearance_pin_entered', 'clearance_requested', 'cleared', 'objection_raised',)">
[837]18      <a href="" target="slip" tal:attributes="href string:admission_slip"
19          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')">
20          <img tal:attributes="src string:${here/portal_url}/actionicon_print.png" />
21          Admission Slip
22      </a>
23      </div>         
[1783]24 
[837]25         
26      <h3>This is to inform you that you have been provisionally admitted into University of Benin as follows:
27      </h3>
28
[871]29      <br />
[837]30      <span tal:omit-tag=""
31            tal:content="structure python: info['app_doc'].render(proxy=info['app_doc'],
32            layout_mode='view_info',
[2579]33            layout_id='student_application')"
[837]34            />
35
[871]36      <h4>Your Study Course:</h4>
[837]37      <table tal:define="sc python: info['course_doc']">
38        <tr>
39          <td width="180px">Certificate:</td>
40          <td><span tal:content="sc/title" /></td>
41        </tr>
42        <tr>
43          <td>Certificate ID:</td>
44          <td tal:content="sc/study_course" />
45        </tr>
[843]46          <span tal:define="f_id sc/faculty;
47          d_id sc/department;
[984]48          f_title context/academics/?f_id/Title|string:Faculty not yet in Prospectus;
49          d_title context/academics/?f_id/?d_id/Title|string:Department not yet in Prospectus"
[843]50          >
51            <tr>
[932]52              <td>Faculty:</td>
[843]53              <td tal:content="f_title" />
54            </tr>
55            <tr>
[932]56              <td>Department:</td>
[843]57              <td><span tal:content="d_title" /></td>
58            </tr>
59          </span>
60        </table>       
[975]61       
[979]62        <br />
[975]63       
[1808]64      <strong tal:condition="python: 'pt' in info['app_doc'].entry_mode ">Clearance commences on resumption and ends exactly on 1st June 2007.
65              Any breach of this directive will result in forfeiture of the admission offer.</strong>
66      <strong tal:condition="python: 'ft' in info['app_doc'].entry_mode ">Clearance commences on resumption and ends exactly two(2) weeks after resumption date.
67              Any breach of this directive will result in forfeiture of the admission offer.</strong>           
68             
69      <br /><br />     
[975]70 
[837]71     
[866]72      <form action="." method="post" class="group">
73
[1096]74                <input  tal:condition="python:review_state=='admitted'" type="submit" name="raise_objection:method" value="Raise an Objection"
[837]75                       class="destructive"
76                       tal:attributes="onclick python:'return window.confirm(\'%s\')' %
[863]77                       (cpsmcat('Confirm that you want to raise an objection.'), )"
[837]78                       />
[2581]79                <input tal:condition="python:review_state in ('admitted', 'objection_raised',) and not app_email" type="submit" name="application_edit:method"
[837]80                       class="context" value="Continue"
81                       />
[2581]82                <input tal:condition="python:review_state in ('admitted', 'objection_raised',) and app_email" type="submit" name="start_clearance:method"
83                       class="context" value="Continue"
84                       />                       
[837]85       </form>
86    </span>
87    </metal:main>
88  </metal:body>
[1096]89</metal:block>     
[837]90</metal:html>
Note: See TracBrowser for help on using the repository browser.