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

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

passport_entry_view renamed
layouts modified
and more

File size: 1.6 KB
RevLine 
[535]1<metal:html tal:define="info context/getBatchInfo">
2
3  <metal:body use-macro="here/main_template/macros/master">
[688]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>
[535]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              />
[543]23        <br />
[770]24       
[688]25        <h3>Unused</h3>
[543]26        <table>
27          <tr tal:repeat="pin info/unused">
[770]28            <td width="50px"> <span tal:content="pin/serial" />: </td>
[543]29            <td tal:content="pin/pin" />
30          </tr>
31        </table>
[770]32       
[688]33        <h3>Used</h3>
34        <table>
35          <tr tal:repeat="pin info/used">
[770]36            <td width="50px"> <span tal:content="pin/serial" />: </td>
[688]37            <td tal:content="pin/pin" />
[696]38            <td>
[708]39              <a tal:condition="pin/student_url" href="" tal:content="pin/student"
[696]40                 tal:attributes="href pin/student_url"></a>
[708]41              <span tal:condition="not: pin/student_url" tal:content="pin/student" />
[696]42            </td>
[688]43          </tr>
44        </table>
[535]45      </span>
46    </metal:main>
47  </metal:body>
48</metal:html>
Note: See TracBrowser for help on using the repository browser.