source: WAeUP_SRP/trunk/skins/waeup_student/defer_view.pt @ 788

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

added email to checkadmission-form, first draft of clearance_edit

File size: 2.4 KB
Line 
1<metal:html tal:define="info context/getStudentInfo">
2  <metal:body use-macro="here/main_template/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        <div style="text-align: right"
11             tal:condition="python:review_state in ('admission_applied', 'clearance_pin_entered',)">
12        <a href="" target="slip" tal:attributes="href string:application_slip"
13            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')">
14            <img tal:attributes="src string:${here/portal_url}/actionicon_print.png" />
15            Application Slip
16        </a>
17       
18        </div>
19
20        <h3>My Application Record</h3>
21        <br />
22        <span tal:omit-tag=""
23              tal:content="structure python: info['app_doc'].render(proxy=info['app_doc'],
24              layout_mode='view',
25              layout_id='student_application_fe')"
26              />
27      </span>
28        <h3>My Study Course</h3>
29      <br />
30      <table tal:define="sc python: info['course_doc']">
31        <tr>
32          <td tal:content="sc/title" /> <td>ID: <span tal:content="sc/study_course" /></td>
33        </tr>
34        <tr>
35          <td tal:content="sc/title" /> <td tal:content="sc/study_course" />
36        </tr>
37      </table>
38     
39      <form action="." method="post" class="group"
40            >
41        <table width="100%" cellspacing="0" cellpadding="2"
42               class="folderButtons">
43          <tr>
44            <td align="left" valign="top" rowspan="3"></td>
45            <td align="left" valign="top">
46                <input type="submit" name="defer_admission:method" value="defer"
47                       class="destructive"
48                       tal:attributes="onclick python:'return window.confirm(\'%s\')' %
49                       (cpsmcat('confirm that you defer'), )"
50                       />
51                <input type="submit" name="application_edit:method"
52                       class="context" value="upload Passport"
53                       />
54            </td>
55          </tr>
56        </table>
57      </form>
58    </metal:main>
59  </metal:body>
60</metal:html>
Note: See TracBrowser for help on using the repository browser.