source: WAeUP_SRP/base/skins/waeup_student/admission_form.pt @ 2714

Last change on this file since 2714 was 2692, checked in by joachim, 17 years ago

avoid traceback (in custom)

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