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