source: WAeUP_SRP/trunk/skins/waeup_student/clearance_view.pt @ 1471

Last change on this file since 1471 was 1275, checked in by Henrik Bettermann, 18 years ago

clearance_edit_form slimmed down

  • Property svn:keywords set to Id
File size: 1.6 KB
RevLine 
[1275]1<metal:body use-macro="here/waeup_content_master/macros/master">
2    <metal:main fill-slot="main"
3                tal:define="info context/getClearanceInfo;
[913]4                        is_so context/isSectionOfficer;
5                        is_student context/isStudent;
[891]6                        ">
[766]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"
[1233]14             tal:condition="python:review_state in ('cleared_and_validated',)">
[837]15        <a href="" target="slip" tal:attributes="href string:clearance_slip"
[766]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" />
[837]18            Clearance/Eligibility Slip
[766]19        </a>
20       
21        </div>
22
[840]23        <h3>
[911]24           <span tal:condition="python:is_so and info">
[891]25             <span tal:content="info/student/Title" />:
[840]26           </span>
27           <span tal:condition="python:is_student">
28             My
29           </span>
30           <span tal:content="here/title_or_id" />
31        </h3>       
32
[766]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>
[1275]41</metal:body>
Note: See TracBrowser for help on using the repository browser.