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

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

'z' deleted in logged_in.py
slip link condition changed in clearance_view.pt

  • Property svn:keywords set to Id
File size: 1.8 KB
RevLine 
[1161]1<metal:html tal:define="info context/getClearanceInfo;
[913]2                        is_so context/isSectionOfficer;
3                        is_student context/isStudent;
[891]4                        ">
[1096]5  <span tal:condition="not: info">
6    <span tal:content="here/illegal_view" />
7  </span>
8<metal:block tal:condition="info">                        
[802]9  <metal:body use-macro="here/waeup_content_master/macros/master">
[766]10    <metal:main fill-slot="main">
11      <span tal:condition="not: info">
12        <metal:block use-macro="here/error_not_found/macros/not_found" />
13      </span>
14      <span tal:condition="info"
15            tal:define="review_state info/review_state">
16           
17        <div style="text-align: right"
[1233]18             tal:condition="python:review_state in ('cleared_and_validated',)">
[837]19        <a href="" target="slip" tal:attributes="href string:clearance_slip"
[766]20            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')">
21            <img tal:attributes="src string:${here/portal_url}/actionicon_print.png" />
[837]22            Clearance/Eligibility Slip
[766]23        </a>
24       
25        </div>
26
[840]27        <h3>
[911]28           <span tal:condition="python:is_so and info">
[891]29             <span tal:content="info/student/Title" />:
[840]30           </span>
31           <span tal:condition="python:is_student">
32             My
33           </span>
34           <span tal:content="here/title_or_id" />
35        </h3>       
36
[766]37        <br />
38        <span tal:omit-tag=""
39              tal:content="structure python: info['clear_doc'].render(proxy=info['clear_doc'],
40              layout_mode='view',
41              layout_id='student_clearance_fe')"
42              />
43      </span>
44    </metal:main>
45  </metal:body>
[1096]46</metal:block>     
[766]47</metal:html>
Note: See TracBrowser for help on using the repository browser.