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

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

slip link was not shown in state 'cleared_and_validated'

  • Property svn:keywords set to Id
File size: 1.7 KB
RevLine 
[840]1<metal:html tal:define="info context/getStudentInfo;
[913]2                        is_so context/isSectionOfficer;
3                        is_student context/isStudent;
[891]4                        ">
[802]5  <metal:body use-macro="here/waeup_content_master/macros/master">
[766]6    <metal:main fill-slot="main">
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"
[915]14             tal:condition="python:review_state in ('clearance_requested', 'cleared_and_validated','clearance_pin_entered',)">
[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>
41  </metal:body>
42</metal:html>
Note: See TracBrowser for help on using the repository browser.