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

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

added link to student also to used Pins

File size: 1.4 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>
37              <a href="" tal:content="pin/student"
38                 tal:attributes="href pin/student_url"></a>
39            </td>
40          </tr>
41        </table>
42     
43      </span>
44
45    </metal:main>
46  </metal:body>
47</metal:html>
Note: See TracBrowser for help on using the repository browser.