source: WAeUP_SRP/trunk/skins/waeup_pins/batch_view.pt @ 695

Last change on this file since 695 was 695, checked in by joachim, 18 years ago

added link to Student in Bedlist
renamed pins_index_html to pins_view
and batch_index_html batch_view

File size: 1.3 KB
Line 
1<metal:html tal:define="info context/getBatchInfo">
2
3  <metal:body use-macro="here/main_template/macros/master">
4    <metal:block fill-slot="header">
5      <a href=""
6         tal:attributes="href string:${here/academicsParent}">
7        <img tal:attributes="src string:${here/portal_url}/arrow_up.gif"/>
8        Up one level
9      </a>
10      <h3 tal:content="here/title_or_id" />
11      <div tal:condition="nothing" tal:content="info/container_path"/>
12    </metal:block>
13
14    <metal:main fill-slot="main">
15      <span tal:condition="isAnon">
16      </span>
17      <span tal:condition="python:not isAnon and info">
18        <span tal:omit-tag=""
19              tal:content="structure python: info['batch_doc'].render(proxy=info['batch_doc'],
20              layout_mode='view',
21              )"
22              />
23        <br />
24        <h3>Unused</h3>
25        <table>
26          <tr tal:repeat="pin info/unused">
27            <td tal:content="pin/serial" />
28            <td tal:content="pin/pin" />
29          </tr>
30        </table>
31        <h3>Used</h3>
32        <table>
33          <tr tal:repeat="pin info/used">
34            <td tal:content="pin/serial" />
35            <td tal:content="pin/pin" />
36            <td tal:content="pin/student" />
37          </tr>
38        </table>
39     
40      </span>
41
42    </metal:main>
43  </metal:body>
44</metal:html>
Note: See TracBrowser for help on using the repository browser.