source: WAeUP_SRP/base/skins/waeup_student/clearance_view.pt @ 3281

Last change on this file since 3281 was 3083, checked in by Henrik Bettermann, 17 years ago

show always link to clearance slip

  • Property svn:keywords set to Id
File size: 1.7 KB
RevLine 
[1783]1<metal:body use-macro="here/main_template/macros/master">
[1275]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">
[1783]8        <span tal:content="here/illegal_view" />
[766]9      </span>
[1854]10      <span tal:condition="info">
[766]11           
[3083]12        <div style="text-align: right">
[837]13        <a href="" target="slip" tal:attributes="href string:clearance_slip"
[766]14            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')">
15            <img tal:attributes="src string:${here/portal_url}/actionicon_print.png" />
[837]16            Clearance/Eligibility Slip
[766]17        </a>
18        </div>
19
[1783]20        <a href=""
21           tal:attributes="href string:${here/academicsParent}">
22          <img tal:attributes="src string:${here/portal_url}/arrow_up.gif"/>
23          Up one level
24        </a>       
25       
[840]26        <h3>
[911]27           <span tal:condition="python:is_so and info">
[891]28             <span tal:content="info/student/Title" />:
[840]29           </span>
30           <span tal:condition="python:is_student">
31             My
32           </span>
33           <span tal:content="here/title_or_id" />
34        </h3>       
35
[766]36        <br />
37        <span tal:omit-tag=""
38              tal:content="structure python: info['clear_doc'].render(proxy=info['clear_doc'],
39              layout_mode='view',
40              layout_id='student_clearance_fe')"
41              />
42      </span>
43    </metal:main>
[1275]44</metal:body>
Note: See TracBrowser for help on using the repository browser.