[1002] | 1 | <metal:html tal:define="info options/info; |
---|
| 2 | rendered options/rendered; |
---|
[919] | 3 | mtool here/portal_membership; |
---|
| 4 | member mtool/getAuthenticatedMember; |
---|
| 5 | "> |
---|
[535] | 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 | |
---|
[1009] | 28 | |
---|
[1002] | 29 | <span tal:replace="structure rendered" /> |
---|
[919] | 30 | |
---|
[688] | 31 | <table> |
---|
| 32 | <tr tal:repeat="pin info/used"> |
---|
[770] | 33 | <td width="50px"> <span tal:content="pin/serial" />: </td> |
---|
[688] | 34 | <td tal:content="pin/pin" /> |
---|
[1002] | 35 | <td tal:content="pin/student_id" /> |
---|
[696] | 36 | <td> |
---|
[708] | 37 | <a tal:condition="pin/student_url" href="" tal:content="pin/student" |
---|
[696] | 38 | tal:attributes="href pin/student_url"></a> |
---|
[708] | 39 | <span tal:condition="not: pin/student_url" tal:content="pin/student" /> |
---|
[696] | 40 | </td> |
---|
[688] | 41 | </tr> |
---|
| 42 | </table> |
---|
[1009] | 43 | |
---|
| 44 | |
---|
| 45 | <br /> |
---|
| 46 | |
---|
| 47 | <span tal:condition="python:member.id in ('admin','joachim')"> |
---|
| 48 | ---top secret--- |
---|
| 49 | <table> |
---|
| 50 | <tr tal:repeat="pin python: info['unused'][:2]"> |
---|
| 51 | <td width="50px"> <span tal:content="pin/serial" />: </td> |
---|
| 52 | <td tal:content="pin/pin" /> |
---|
| 53 | </tr> |
---|
| 54 | </table> |
---|
| 55 | ---top secret--- |
---|
| 56 | </span> |
---|
| 57 | |
---|
| 58 | |
---|
[535] | 59 | </span> |
---|
| 60 | </metal:main> |
---|
| 61 | </metal:body> |
---|
| 62 | </metal:html> |
---|