Changeset 5168 for WAeUP_SRP


Ignore:
Timestamp:
26 Apr 2010, 08:52:18 (15 years ago)
Author:
Henrik Bettermann
Message:

accommodation_edit_form.pt: fix ul

WAeUPTool.py: insert comment

Location:
WAeUP_SRP/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/WAeUPTool.py

    r5165 r5168  
    12561256        res = ZCatalog.searchResults(self.portal_catalog_real,portal_type="ScratchCardBatch")
    12571257        batch_doc = None
     1258        # Pick the first pin batch which the right prefix. This may cause problems if old maintenance fee batches exist.
     1259        # They must be removed first. 
    12581260        for brain in res:
    12591261            if brain.id.startswith(info['maintenance_code']):
  • WAeUP_SRP/trunk/skins/waeup_accommodation/accommodation_edit_form.pt

    r5167 r5168  
    3333       
    3434        <ul tal:condition="python: mode == 'create' and not maintenance_online">
    35                   <li>Buy a Hostel Application Scratch Card.</li>
     35            <li>Buy a Hostel Application Scratch Card.</li>
    3636            <li>Enter the PIN above and press 'Book'.</li>
    3737            <li>Print your Hostel Allocation Slip.</li>
     
    4040        <tal:block condition="python: mode == 'edit'" >
    4141 
    42            <ul tal:condition="not: maintenance_online" tal:omit-tag="">
     42           <ul tal:condition="not: maintenance_online">
    4343             <li>Buy a Hostel Maintenance Scratch Card
    4444               (Code: <span tal:replace="python: info['acco_doc'].acco_maint_code" />) for
Note: See TracChangeset for help on using the changeset viewer.