source: WAeUP_SRP/trunk/skins/waeup_student/admission_slip.pt @ 14310

Last change on this file since 14310 was 8329, checked in by Henrik Bettermann, 13 years ago

Use LongTitle? of faculty and department.

File size: 2.2 KB
RevLine 
[837]1<metal:html tal:define="info context/getStudentInfo">
[1096]2  <span tal:condition="not: info">
3    <span tal:content="here/illegal_view" />
4  </span>
5<metal:block tal:condition="info"> 
[1737]6  <metal:body use-macro="here/slip_template/macros/master">
[837]7    <metal:main fill-slot="main">
8    <span tal:condition="not: info">
9      <metal:block use-macro="here/error_not_found/macros/not_found" />
10    </span>
11    <span tal:condition="info">
12
[3000]13      <h3>This is to inform you that you have been provisionally admitted into
14      <span tal:replace="here/portal_properties/institution_title" /> as follows:
[837]15      </h3>
16
17      <br />
18     
[975]19           
[837]20      <span tal:omit-tag=""
21            tal:content="structure python: info['app_doc'].render(proxy=info['app_doc'],
22            layout_mode='view_info',
[2579]23            layout_id='student_application')"
[837]24            />
25
[871]26      <h4>Your Study Course:</h4>
[837]27      <table tal:define="sc python: info['course_doc']">
28        <tr>
29          <td width="180px">Certificate:</td>
30          <td><span tal:content="sc/title" /></td>
31        </tr>
32        <tr>
33          <td>Certificate ID:</td>
34          <td tal:content="sc/study_course" />
35        </tr>
[843]36        <span tal:define="f_id sc/faculty;
37                        d_id sc/department;
[8329]38                        f_title context/academics/?f_id/LongTitle|string:Faculty not yet in Prospectus;
39                        d_title context/academics/?f_id/?d_id/LongTitle|string:Department not yet in Prospectus"
[843]40                        >
41            <tr>
[932]42              <td>Faculty:</td>
[843]43              <td tal:content="f_title" />
44            </tr>
45            <tr>
[932]46              <td>Department:</td>
[843]47              <td><span tal:content="d_title" /></td>
48            </tr>
49          </span>
50        </table>       
51      </span>
[975]52     
53      <br />
54     
[4194]55      <strong tal:condition="python: False and 'pt' in info['app_doc'].entry_mode "></strong>
56      <strong tal:condition="python: False and 'ft' in info['app_doc'].entry_mode ">Clearance commences on resumption and ends exactly two(2) weeks after resumption date.
[1808]57              Any breach of this directive will result in forfeiture of the admission offer.</strong>             
[975]58   
[837]59    </metal:main>
60  </metal:body>
[1096]61</metal:block>     
[837]62</metal:html>
Note: See TracBrowser for help on using the repository browser.