source: WAeUP_SRP/trunk/skins/waeup_student/admission_form.pt @ 1470

Last change on this file since 1470 was 1096, checked in by Henrik Bettermann, 18 years ago

redirect to illegal_view.py

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