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

Last change on this file since 858 was 843, checked in by joachim, 18 years ago

show filename in clearance slip
show faculty and department title in admission_view and _slip
pin is not used, if an error occurs in the form,
the pin must therefore be the last entry field.
entry_date and entry_session are set in start_clearance

File size: 3.0 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          <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        <table width="100%" cellspacing="0" cellpadding="2"
61               class="folderButtons">
62          <tr>
63            <td align="left" valign="top" rowspan="3"></td>
64            <td align="left" valign="top">
65                <input type="submit" name="defer_admission:method" value="Reject/Defer Admission"
66                       class="destructive"
67                       tal:attributes="onclick python:'return window.confirm(\'%s\')' %
68                       (cpsmcat('Confirm that you want to reject/defer your admision.'), )"
69                       />
70                <input type="submit" name="application_edit:method"
71                       class="context" value="Continue"
72                       />
73            </td>
74          </tr>
75        </table>
76       </form>
77    </span>
78    </metal:main>
79  </metal:body>
80</metal:html>
Note: See TracBrowser for help on using the repository browser.