1 | <metal:body use-macro="here/waeup_content_master/macros/master"> |
---|
2 | <metal:main fill-slot="main" |
---|
3 | tal:define="info context/getClearanceInfo; |
---|
4 | is_so context/isSectionOfficer; |
---|
5 | is_student context/isStudent; |
---|
6 | "> |
---|
7 | <span tal:condition="not: info"> |
---|
8 | <metal:block use-macro="here/error_not_found/macros/not_found" /> |
---|
9 | </span> |
---|
10 | <span tal:condition="info" |
---|
11 | tal:define="review_state info/review_state"> |
---|
12 | |
---|
13 | <div style="text-align: right" |
---|
14 | tal:condition="python:review_state in ('cleared_and_validated',)"> |
---|
15 | <a href="" target="slip" tal:attributes="href string:clearance_slip" |
---|
16 | 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')"> |
---|
17 | <img tal:attributes="src string:${here/portal_url}/actionicon_print.png" /> |
---|
18 | Clearance/Eligibility Slip |
---|
19 | </a> |
---|
20 | |
---|
21 | </div> |
---|
22 | |
---|
23 | <h3> |
---|
24 | <span tal:condition="python:is_so and info"> |
---|
25 | <span tal:content="info/student/Title" />: |
---|
26 | </span> |
---|
27 | <span tal:condition="python:is_student"> |
---|
28 | My |
---|
29 | </span> |
---|
30 | <span tal:content="here/title_or_id" /> |
---|
31 | </h3> |
---|
32 | |
---|
33 | <br /> |
---|
34 | <span tal:omit-tag="" |
---|
35 | tal:content="structure python: info['clear_doc'].render(proxy=info['clear_doc'], |
---|
36 | layout_mode='view', |
---|
37 | layout_id='student_clearance_fe')" |
---|
38 | /> |
---|
39 | </span> |
---|
40 | </metal:main> |
---|
41 | </metal:body> |
---|