source: WAeUP_SRP/trunk/skins/waeup_student/application_view.pt @ 678

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

Application Slip link only shown when status 'admission_applied'

File size: 1.2 KB
Line 
1<metal:html tal:define="info context/getStudentInfo">
2  <metal:body use-macro="here/main_template/macros/master">
3    <metal:main fill-slot="main">
4      <span tal:condition="not: info">
5        <metal:block use-macro="here/error_not_found/macros/not_found" />
6      </span>
7      <span tal:condition="info"
8            tal:define="review_state info/review_state">
9           
10        <div style="text-align: right"
11             tal:condition="python:review_state=='admission_applied'">
12        <a href="" target="slip" tal:attributes="href string:application_slip"
13            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')">
14            <img tal:attributes="src string:${here/portal_url}/actionicon_print.png" />
15            Application Slip
16        </a>
17       
18        </div>
19
20
21        <h3>My Application Record</h3>
22        <br />
23        <span tal:omit-tag=""
24              tal:content="structure python: info['app_doc'].render(proxy=info['app_doc'],
25              layout_mode='view',
26              layout_id='student_application_fe')"
27              />
28      </span>
29    </metal:main>
30  </metal:body>
31</metal:html>
Note: See TracBrowser for help on using the repository browser.