Index: /WAeUP_SRP/trunk/ScratchCards.py
===================================================================
--- /WAeUP_SRP/trunk/ScratchCards.py	(revision 687)
+++ /WAeUP_SRP/trunk/ScratchCards.py	(revision 688)
@@ -87,5 +87,5 @@
     def getUnusedPins(self):
         """return a list of unused Pins"""
-        max_pins = 30
+        max_pins = 10
         #import pdb;pdb.set_trace()
         pins_cat = self.portal_pins
Index: /WAeUP_SRP/trunk/skins/waeup_pins/batch_index_html.pt
===================================================================
--- /WAeUP_SRP/trunk/skins/waeup_pins/batch_index_html.pt	(revision 687)
+++ /WAeUP_SRP/trunk/skins/waeup_pins/batch_index_html.pt	(revision 688)
@@ -2,4 +2,13 @@
 
   <metal:body use-macro="here/main_template/macros/master">
+    <metal:block fill-slot="header">
+      <a href=""
+         tal:attributes="href string:${here/academicsParent}">
+        <img tal:attributes="src string:${here/portal_url}/arrow_up.gif"/>
+        Up one level
+      </a>
+      <h3 tal:content="here/title_or_id" />
+      <div tal:condition="nothing" tal:content="info/container_path"/>
+    </metal:block>
 
     <metal:main fill-slot="main">
@@ -7,7 +16,4 @@
       </span>
       <span tal:condition="python:not isAnon and info">
-
-        <h3>Unused PINs</h3>
-        <br />
         <span tal:omit-tag="" 
               tal:content="structure python: info['batch_doc'].render(proxy=info['batch_doc'],
@@ -16,8 +22,17 @@
               />
         <br />
+        <h3>Unused</h3>
         <table>
           <tr tal:repeat="pin info/unused">
             <td tal:content="pin/serial" />
             <td tal:content="pin/pin" />
+          </tr>
+        </table>
+        <h3>Used</h3>
+        <table>
+          <tr tal:repeat="pin info/used">
+            <td tal:content="pin/serial" />
+            <td tal:content="pin/pin" />
+            <td tal:content="pin/student" />
           </tr>
         </table>
Index: /WAeUP_SRP/trunk/skins/waeup_pins/getBatchInfo.py
===================================================================
--- /WAeUP_SRP/trunk/skins/waeup_pins/getBatchInfo.py	(revision 687)
+++ /WAeUP_SRP/trunk/skins/waeup_pins/getBatchInfo.py	(revision 688)
@@ -10,5 +10,5 @@
 # $Id: student_edit.py 486 2006-09-06 10:09:39Z joachim $
 """
-return Info about the current Student
+return Info about the current Batch
 """
 
@@ -22,4 +22,4 @@
 info['id'] = batch.getId()
 info['title'] = batch.Title or 'empty Title'
-info['unused'] = batch.getContent().getUnusedPins()
+info['unused'],info['used'] = batch.getContent().getUnusedPins()
 return info
