1 | <metal:body use-macro="here/main_template/macros/master"> |
---|
2 | <metal:main fill-slot="main" |
---|
3 | tal:define="info context/getClearanceInfo; |
---|
4 | titles here/getStudentObjectTitles;"> |
---|
5 | <span tal:condition="not: info"> |
---|
6 | <span tal:content="here/illegal_view" /> |
---|
7 | </span> |
---|
8 | <span tal:condition="info" tal:define="is_so info/is_sectionofficer|nothing; |
---|
9 | is_student info/is_student|nothing;" |
---|
10 | > |
---|
11 | <div style="text-align: right"> |
---|
12 | <a href="" target="slip" tal:attributes="href string:clearance_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 | <span tal:content="titles/StudentClearance" /> Slip |
---|
16 | </a> |
---|
17 | </div> |
---|
18 | |
---|
19 | <a href="" |
---|
20 | tal:attributes="href string:${here/academicsParent}"> |
---|
21 | <img tal:attributes="src string:${here/portal_url}/arrow_up.gif"/> |
---|
22 | Up one level |
---|
23 | </a> |
---|
24 | |
---|
25 | <h3> |
---|
26 | <span tal:condition="python:is_so and info"> |
---|
27 | <span tal:content="info/student_name" />: |
---|
28 | </span> |
---|
29 | <span tal:content="titles/StudentClearance" /> |
---|
30 | </h3> |
---|
31 | |
---|
32 | <br /> |
---|
33 | <span tal:omit-tag="" |
---|
34 | tal:content="structure python: info['clear_doc'].render(proxy=info['clear_doc'], |
---|
35 | layout_mode='view', |
---|
36 | layout_id='student_clearance_fe')" |
---|
37 | /> |
---|
38 | </span> |
---|
39 | </metal:main> |
---|
40 | </metal:body> |
---|