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 tal:content="sc/study_course" /> |
---|
33 | </tr> |
---|
34 | </table> |
---|
35 | <span tal:condition="python:0" tal:omit-tag="" |
---|
36 | tal:content="structure python: info['course_doc'].render(proxy=info['course_doc'], |
---|
37 | layout_mode='view_student_course', |
---|
38 | layout_id='student_study_course')" |
---|
39 | /> |
---|
40 | |
---|
41 | <form action="." method="post" class="group" |
---|
42 | > |
---|
43 | <table width="100%" cellspacing="0" cellpadding="2" |
---|
44 | class="folderButtons"> |
---|
45 | <tr> |
---|
46 | <td align="left" valign="top" rowspan="3"></td> |
---|
47 | <td align="left" valign="top"> |
---|
48 | <input type="submit" name="defer_admission:method" value="defer" |
---|
49 | class="destructive" |
---|
50 | tal:attributes="onclick python:'return window.confirm(\'%s\')' % |
---|
51 | (cpsmcat('confirm that you defer'), )" |
---|
52 | /> |
---|
53 | <input type="submit" name="request_clearance:method" |
---|
54 | class="context" value="request Clearance" |
---|
55 | /> |
---|
56 | </td> |
---|
57 | </tr> |
---|
58 | </table> |
---|
59 | </form> |
---|
60 | </metal:main> |
---|
61 | </metal:body> |
---|
62 | </metal:html> |
---|