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

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

clearance_view and admission_form re-built

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',)">
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      <h4>Application Data</h4>
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>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        <tr>
42          <td>Faculty ID:</td>
43          <td tal:content="sc/faculty" />
44        </tr>
45        <tr>
46          <td>Department ID:</td>
47          <td><span tal:content="sc/department" /></td>
48        </tr>       
49      </table>       
50
51     
52      <form action="." method="post" class="group"
53            >
54        <table width="100%" cellspacing="0" cellpadding="2"
55               class="folderButtons">
56          <tr>
57            <td align="left" valign="top" rowspan="3"></td>
58            <td align="left" valign="top">
59                <input type="submit" name="defer_admission:method" value="Reject/Defer Admission"
60                       class="destructive"
61                       tal:attributes="onclick python:'return window.confirm(\'%s\')' %
62                       (cpsmcat('Confirm that you want to reject/defer your admision.'), )"
63                       />
64                <input type="submit" name="application_edit:method"
65                       class="context" value="Continue"
66                       />
67            </td>
68          </tr>
69        </table>
70       </form>
71    </span>
72    </metal:main>
73  </metal:body>
74</metal:html>
Note: See TracBrowser for help on using the repository browser.