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

Last change on this file since 992 was 984, checked in by joachim, 18 years ago

=fixed non existing Faculty/Department? code

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