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

Last change on this file since 2978 was 2920, checked in by Henrik Bettermann, 17 years ago

upload missing passport before starting clearance (logic in application_edit.py completely changed)

fix Title for student_accommodation object

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