source: WAeUP_SRP/trunk/skins/waeup_student/accommodation_pin_edit_form.pt @ 1247

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

getStudentInfo replaced or removed

File size: 2.2 KB
Line 
1<tal:block define="rendered_main options/rendered;
2                   portal_status_message options/psm;
3                   data_storage options/ds;
4                   mode options/mode;
5                   edition python:1;"
6                   >
7<metal:block define-macro="edit_form">
8  <metal:block use-macro="here/content_lib_master/macros/master">
9  <metal:block fill-slot="header"
10    tal:define="creation creation|nothing;
11                edition edition|nothing;
12                metadata metadata|nothing"
13                >
14    </metal:block>
15      <metal:block fill-slot="main">
16     
17        <div style="text-align: right" tal:condition="python: mode == 'edit'">
18        <a href="" target="slip" tal:attributes="href string:accommodation_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            Accommodation Slip
22        </a>
23        </div>     
24     
25        <h3 tal:condition="python: mode == 'create'">Book Your Accommodation! </h3>
26        <h3 tal:condition="python: mode == 'edit'">Pay Your Accommodation Maintainance Fee! </h3>
27        <br />
28        <div tal:replace="structure rendered_main" />
29          <p>Instructions :</p>
30          <ul tal:condition="python: mode == 'create'">
31            <li>Buy a Hostel Application Scratch Card.</li>
32            <li>Enter the PIN above and press 'Book'.</li>
33            <li>Print your Hostel Allocation Slip.</li>
34          </ul>
35          <ul tal:condition="python: mode == 'edit'"
36              tal:define="info python: context.getAccommodationInfo()">
37            <li>Buy a Hostel Maintainance Scratch Card
38            (Code: <span tal:replace="python: info['acco_doc'].acco_maint_code" />) for
39            <span tal:replace="python: info['acco_doc'].acco_maint_fee" /> Nairas</li>
40            <li>Enter the PIN above and press 'Save'.</li>
41            <li>Print your Hostel Maintenance Receipt.</li>
42          </ul>
43      </metal:block>
44      <metal:block fill-slot="sub">
45      </metal:block>
46    </metal:block>
47  </metal:block>
48</tal:block>
Note: See TracBrowser for help on using the repository browser.