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

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

minor modifications

File size: 2.8 KB
Line 
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"
12           tal:condition="python:review_state in ('admitted', 'clearance_pin_entered', 'clearance_requested', 'cleared', 'objection_raised',)">
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
24      <br />
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
31      <h4>Your Study Course:</h4>
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>
41          <span tal:define="f_id sc/faculty;
42          d_id sc/department;
43          f_title context/academics/?f_id/Title;
44          d_title context/academics/?f_id/?d_id/Title"
45          >
46            <tr>
47              <td>Faculty:</td>
48              <td tal:content="f_title" />
49            </tr>
50            <tr>
51              <td>Department:</td>
52              <td><span tal:content="d_title" /></td>
53            </tr>
54          </span>
55        </table>       
56
57     
58      <form action="." method="post" class="group">
59
60                <input  tal:condition="python:review_state!='objection_raised'" type="submit" name="raise_objection:method" value="Raise an Objection"
61                       class="destructive"
62                       tal:attributes="onclick python:'return window.confirm(\'%s\')' %
63                       (cpsmcat('Confirm that you want to raise an objection.'), )"
64                       />
65                <input type="submit" name="application_edit:method"
66                       class="context" value="Continue"
67                       />
68       </form>
69    </span>
70    </metal:main>
71  </metal:body>
72</metal:html>
Note: See TracBrowser for help on using the repository browser.