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

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

exclude all homeless members from search

  • Property svn:keywords set to Id
File size: 1.8 KB
RevLine 
[919]1<metal:html tal:define="info context/getBatchInfo;
2                        mtool here/portal_membership;
3                        member mtool/getAuthenticatedMember;
4                        ">
[535]5
6  <metal:body use-macro="here/main_template/macros/master">
[688]7    <metal:block fill-slot="header">
8      <a href=""
9         tal:attributes="href string:${here/academicsParent}">
10        <img tal:attributes="src string:${here/portal_url}/arrow_up.gif"/>
11        Up one level
12      </a>
13      <h3 tal:content="here/title_or_id" />
14      <div tal:condition="nothing" tal:content="info/container_path"/>
15    </metal:block>
[535]16
17    <metal:main fill-slot="main">
18      <span tal:condition="isAnon">
19      </span>
20      <span tal:condition="python:not isAnon and info">
21        <span tal:omit-tag=""
22              tal:content="structure python: info['batch_doc'].render(proxy=info['batch_doc'],
23              layout_mode='view',
24              )"
25              />
[543]26        <br />
[770]27       
[930]28        <span tal:condition="python:member.id in ('admin','perry')">       
[688]29        <h3>Unused</h3>
[543]30        <table>
31          <tr tal:repeat="pin info/unused">
[770]32            <td width="50px"> <span tal:content="pin/serial" />: </td>
[543]33            <td tal:content="pin/pin" />
34          </tr>
35        </table>
[919]36        </span>
37
[688]38        <h3>Used</h3>
39        <table>
40          <tr tal:repeat="pin info/used">
[770]41            <td width="50px"> <span tal:content="pin/serial" />: </td>
[688]42            <td tal:content="pin/pin" />
[696]43            <td>
[708]44              <a tal:condition="pin/student_url" href="" tal:content="pin/student"
[696]45                 tal:attributes="href pin/student_url"></a>
[708]46              <span tal:condition="not: pin/student_url" tal:content="pin/student" />
[696]47            </td>
[688]48          </tr>
49        </table>
[535]50      </span>
51    </metal:main>
52  </metal:body>
53</metal:html>
Note: See TracBrowser for help on using the repository browser.