source: WAeUP_SRP/trunk/skins/waeup_student/admission_form.pt @ 6698

Last change on this file since 6698 was 4194, checked in by Henrik Bettermann, 16 years ago

remove Uniben specific comments from admission form and slip

File size: 4.0 KB
RevLine 
[2992]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"> 
[1783]6  <metal:body use-macro="here/main_template/macros/master">
[837]7    <metal:main fill-slot="main">
8    <span tal:condition="not: info">
[1783]9      <span tal:content="here/illegal_view" />
[837]10    </span>
11    <span tal:condition="info"
[2992]12          tal:define="review_state info/review_state;
13                      app_email info/app_doc/app_email|nothing;
14                      app_passport info/has_passport;
15                      data_complete python:app_passport and app_email;
16                      ">
[837]17         
18
19      <div style="text-align: right"
[869]20           tal:condition="python:review_state in ('admitted', 'clearance_pin_entered', 'clearance_requested', 'cleared', 'objection_raised',)">
[837]21      <a href="" target="slip" tal:attributes="href string:admission_slip"
22          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')">
23          <img tal:attributes="src string:${here/portal_url}/actionicon_print.png" />
24          Admission Slip
25      </a>
26      </div>         
[1783]27 
[837]28         
[3000]29      <h3>This is to inform you that you have been provisionally admitted into
30      <span tal:replace="here/portal_properties/institution_title" /> as follows:
[837]31      </h3>
32
[871]33      <br />
[837]34      <span tal:omit-tag=""
35            tal:content="structure python: info['app_doc'].render(proxy=info['app_doc'],
36            layout_mode='view_info',
[2579]37            layout_id='student_application')"
[837]38            />
39
[871]40      <h4>Your Study Course:</h4>
[837]41      <table tal:define="sc python: info['course_doc']">
42        <tr>
43          <td width="180px">Certificate:</td>
44          <td><span tal:content="sc/title" /></td>
45        </tr>
46        <tr>
47          <td>Certificate ID:</td>
48          <td tal:content="sc/study_course" />
49        </tr>
[843]50          <span tal:define="f_id sc/faculty;
51          d_id sc/department;
[984]52          f_title context/academics/?f_id/Title|string:Faculty not yet in Prospectus;
53          d_title context/academics/?f_id/?d_id/Title|string:Department not yet in Prospectus"
[843]54          >
55            <tr>
[932]56              <td>Faculty:</td>
[843]57              <td tal:content="f_title" />
58            </tr>
59            <tr>
[932]60              <td>Department:</td>
[843]61              <td><span tal:content="d_title" /></td>
62            </tr>
63          </span>
64        </table>       
[975]65       
[979]66        <br />
[975]67       
[4194]68      <strong tal:condition="python: False and 'pt' in info['app_doc'].entry_mode "></strong>
69      <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]70              Any breach of this directive will result in forfeiture of the admission offer.</strong>           
71             
72      <br /><br />     
[975]73 
[837]74     
[866]75      <form action="." method="post" class="group">
76
[1096]77                <input  tal:condition="python:review_state=='admitted'" type="submit" name="raise_objection:method" value="Raise an Objection"
[837]78                       class="destructive"
79                       tal:attributes="onclick python:'return window.confirm(\'%s\')' %
[863]80                       (cpsmcat('Confirm that you want to raise an objection.'), )"
[837]81                       />
[2920]82                <input tal:condition="python:review_state in ('admitted', 'objection_raised',) and not data_complete" type="submit" name="application_edit:method"
[837]83                       class="context" value="Continue"
84                       />
[2920]85                <input tal:condition="python:review_state in ('admitted', 'objection_raised',) and data_complete" type="submit" name="start_clearance:method"
[2581]86                       class="context" value="Continue"
87                       />                       
[837]88       </form>
89    </span>
90    </metal:main>
91  </metal:body>
[1096]92</metal:block>     
[837]93</metal:html>
Note: See TracBrowser for help on using the repository browser.