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

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

propset Id

  • Property svn:keywords set to Id
File size: 1.6 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       
25        <h3>Unused</h3>
26        <table>
27          <tr tal:repeat="pin info/unused">
28            <td width="50px"> <span tal:content="pin/serial" />: </td>
29            <td tal:content="pin/pin" />
30          </tr>
31        </table>
32       
33        <h3>Used</h3>
34        <table>
35          <tr tal:repeat="pin info/used">
36            <td width="50px"> <span tal:content="pin/serial" />: </td>
37            <td tal:content="pin/pin" />
38            <td>
39              <a tal:condition="pin/student_url" href="" tal:content="pin/student"
40                 tal:attributes="href pin/student_url"></a>
41              <span tal:condition="not: pin/student_url" tal:content="pin/student" />
42            </td>
43          </tr>
44        </table>
45      </span>
46    </metal:main>
47  </metal:body>
48</metal:html>
Note: See TracBrowser for help on using the repository browser.