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

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

getStudentInfo replaced (not yet thoroughly tested!)

  • Property svn:keywords set to Id
File size: 1.9 KB
Line 
1<metal:html tal:define="info context/getClearanceInfo;
2                        is_so context/isSectionOfficer;
3                        is_student context/isStudent;
4                        ">
5  <span tal:condition="not: info">
6    <span tal:content="here/illegal_view" />
7  </span>
8<metal:block tal:condition="info">                        
9  <metal:body use-macro="here/waeup_content_master/macros/master">
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"
18             tal:condition="python:review_state in ('clearance_requested', 'cleared_and_validated','clearance_pin_entered',)">
19        <a href="" target="slip" tal:attributes="href string:clearance_slip"
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" />
22            Clearance/Eligibility Slip
23        </a>
24       
25        </div>
26
27        <h3>
28           <span tal:condition="python:is_so and info">
29             <span tal:content="info/student/Title" />:
30           </span>
31           <span tal:condition="python:is_student">
32             My
33           </span>
34           <span tal:content="here/title_or_id" />
35        </h3>       
36
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>
46</metal:block>     
47</metal:html>
Note: See TracBrowser for help on using the repository browser.