Changeset 770 for WAeUP_SRP/trunk/skins/waeup_pins
- Timestamp:
- 29 Oct 2006, 05:24:04 (18 years ago)
- Location:
- WAeUP_SRP/trunk/skins/waeup_pins
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_pins/batch_view.pt
r711 r770 22 22 /> 23 23 <br /> 24 24 25 <h3>Unused</h3> 25 26 <table> 26 27 <tr tal:repeat="pin info/unused"> 27 <td tal:content="pin/serial" />28 <td width="50px"> <span tal:content="pin/serial" />: </td> 28 29 <td tal:content="pin/pin" /> 29 30 </tr> 30 31 </table> 32 31 33 <h3>Used</h3> 32 34 <table> 33 35 <tr tal:repeat="pin info/used"> 34 <td tal:content="pin/serial" />36 <td width="50px"> <span tal:content="pin/serial" />: </td> 35 37 <td tal:content="pin/pin" /> 36 38 <td> -
WAeUP_SRP/trunk/skins/waeup_pins/getBatchInfo.py
r710 r770 29 29 30 30 for item in used: 31 if bd.prefix == "APP": 32 jno = item['student'] 33 res = context.portal_catalog(SearchableText=jno,portal_type='StudentApplication') 31 sno = item['student'] 32 if len(sno)==10: 33 #if bd.prefix == "APP": 34 res = context.portal_catalog(SearchableText=sno,portal_type='StudentApplication') 34 35 if len(res) > 0: 35 36 item['student_url'] = "%s/%s" % (context.portal_url(),res[0].relative_path)
Note: See TracChangeset for help on using the changeset viewer.