Ignore:
Timestamp:
29 Oct 2006, 05:24:04 (18 years ago)
Author:
Henrik Bettermann
Message:

passport_entry_view renamed
layouts modified
and more

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  
    2222              />
    2323        <br />
     24       
    2425        <h3>Unused</h3>
    2526        <table>
    2627          <tr tal:repeat="pin info/unused">
    27             <td tal:content="pin/serial" />
     28            <td width="50px"> <span tal:content="pin/serial" />: </td>
    2829            <td tal:content="pin/pin" />
    2930          </tr>
    3031        </table>
     32       
    3133        <h3>Used</h3>
    3234        <table>
    3335          <tr tal:repeat="pin info/used">
    34             <td tal:content="pin/serial" />
     36            <td width="50px"> <span tal:content="pin/serial" />: </td>
    3537            <td tal:content="pin/pin" />
    3638            <td>
  • WAeUP_SRP/trunk/skins/waeup_pins/getBatchInfo.py

    r710 r770  
    2929
    3030for 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')
    3435        if len(res) > 0:
    3536            item['student_url'] = "%s/%s" % (context.portal_url(),res[0].relative_path)
Note: See TracChangeset for help on using the changeset viewer.