source: WAeUP_SRP/trunk/skins/waeup_student/application_form.pt @ 476

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

started work on application forms

File size: 1.7 KB
Line 
1<html metal:use-macro="here/content_lib_master/macros/master">
2  <metal:block fill-slot="head_slot">
3  </metal:block>
4
5  <metal:block fill-slot="css_slot">
6    <link rel="Stylesheet" type="text/css" href=""
7      tal:attributes="href string:${base_url}document.css" />
8  </metal:block>
9  <metal:block fill-slot="header">
10  </metal:block>
11
12  <metal:block fill-slot="main"
13               tal:define="roles member/getRoles;
14               frontend python:'Student' in roles or isAnon;
15               folder here/getContent;"                             
16               >
17
18    <tal:block tal:condition="python:context.portal_type == 'Student'" tal:omit-tag=""> 
19      <tal:block tal:define="
20                          appl python:here.application;
21                          appl_proxy python:appl.getContent();
22                          clear python:here.clearance;
23                          clear_proxy python:clear.getContent();
24                          pers python:here.personal;
25                          pers_proxy python:pers.getContent();"
26                          >
27
28      <h2>Acknowledgement Slip for <span tal:content="pers_proxy/firstname" /> <span tal:content="pers_proxy/lastname" /></h2>     
29 
30   
31      <tal:block tal:content="structure python:appl_proxy.render(cluster='appl_slip')" />
32      <tal:block tal:content="structure python:clear_proxy.render(cluster='appl_slip')" />
33      <tal:block tal:content="structure python:pers_proxy.render(cluster='appl_slip')" />
34
35
36      </tal:block> 
37    </tal:block>
38    <tal:block condition="python:context.portal_type != 'Student'">
39   
40      This is not a student object!
41   
42    </tal:block> 
43 
44  </metal:block>
45
46
47
48  <metal:block fill-slot="sub">
49  </metal:block>
50</html>
Note: See TracBrowser for help on using the repository browser.