Changeset 688 for WAeUP_SRP/trunk/skins
- Timestamp:
- 13 Oct 2006, 12:36:47 (18 years ago)
- Location:
- WAeUP_SRP/trunk/skins/waeup_pins
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_pins/batch_index_html.pt
r543 r688 2 2 3 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> 4 13 5 14 <metal:main fill-slot="main"> … … 7 16 </span> 8 17 <span tal:condition="python:not isAnon and info"> 9 10 <h3>Unused PINs</h3>11 <br />12 18 <span tal:omit-tag="" 13 19 tal:content="structure python: info['batch_doc'].render(proxy=info['batch_doc'], … … 16 22 /> 17 23 <br /> 24 <h3>Unused</h3> 18 25 <table> 19 26 <tr tal:repeat="pin info/unused"> 20 27 <td tal:content="pin/serial" /> 21 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 tal:content="pin/student" /> 22 37 </tr> 23 38 </table> -
WAeUP_SRP/trunk/skins/waeup_pins/getBatchInfo.py
r535 r688 10 10 # $Id: student_edit.py 486 2006-09-06 10:09:39Z joachim $ 11 11 """ 12 return Info about the current Student12 return Info about the current Batch 13 13 """ 14 14 … … 22 22 info['id'] = batch.getId() 23 23 info['title'] = batch.Title or 'empty Title' 24 info['unused'] = batch.getContent().getUnusedPins()24 info['unused'],info['used'] = batch.getContent().getUnusedPins() 25 25 return info
Note: See TracChangeset for help on using the changeset viewer.