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

Last change on this file since 1784 was 1783, checked in by Henrik Bettermann, 18 years ago
  • assertViewable removed and page templates adjusted, so that no traceback occurs.
  • 'Previous Session' action added
  • waeup_content_master.pt removed
  • and more
  • Property svn:keywords set to Id
File size: 1.8 KB
Line 
1<metal:body use-macro="here/main_template/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        <span tal:content="here/illegal_view" />
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        </div>
21
22        <a href=""
23           tal:attributes="href string:${here/academicsParent}">
24          <img tal:attributes="src string:${here/portal_url}/arrow_up.gif"/>
25          Up one level
26        </a>       
27       
28        <h3>
29           <span tal:condition="python:is_so and info">
30             <span tal:content="info/student/Title" />:
31           </span>
32           <span tal:condition="python:is_student">
33             My
34           </span>
35           <span tal:content="here/title_or_id" />
36        </h3>       
37
38        <br />
39        <span tal:omit-tag=""
40              tal:content="structure python: info['clear_doc'].render(proxy=info['clear_doc'],
41              layout_mode='view',
42              layout_id='student_clearance_fe')"
43              />
44      </span>
45    </metal:main>
46</metal:body>
Note: See TracBrowser for help on using the repository browser.