Changeset 856 for WAeUP_SRP/trunk


Ignore:
Timestamp:
13 Nov 2006, 11:02:24 (18 years ago)
Author:
Henrik Bettermann
Message:

accommodation_pin_edit_form is shown after creation
accommodation_pin_edit_form shows link to slip

Location:
WAeUP_SRP/trunk/skins/waeup_student
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_student/accommodation_pin_edit_form.pt

    r849 r856  
    1414    </metal:block>
    1515      <metal:block fill-slot="main">
     16     
     17        <div style="text-align: right" tal:condition="python: mode == 'edit'">
     18        <a href="" target="slip" tal:attributes="href string:accommodation_slip"
     19            onclick="javascript:window.open('','slip','width=600, height=700, directories=no, toolbar=no, location=no, menubar=yes, scrollbars=yes, status=no, resizable=no, dependent=no')">
     20            <img tal:attributes="src string:${here/portal_url}/actionicon_print.png" />
     21            Accommodation Slip
     22        </a>
     23        </div>     
     24     
    1625        <h3 tal:condition="python: mode == 'create'">Book Your Accommodation! </h3>
    1726        <h3 tal:condition="python: mode == 'edit'">Pay Your Accommodation Maintainance Fee! </h3>
  • WAeUP_SRP/trunk/skins/waeup_student/reserve_accommodation.py

    r855 r856  
    8181        acco.getContent().edit(mapping=ds)
    8282        #wftool.doActionFor(acco,'pay_maintenance_fee',dest_container=acco)
    83         return context.REQUEST.RESPONSE.redirect("%s/accommodation_view" % student.absolute_url())
     83        return context.REQUEST.RESPONSE.redirect("%s/reserve_accommodation" % student.absolute_url())
    8484pin = str(ds.get('acco_main_sc_pin'))
    8585pp = context.portal_pins
Note: See TracChangeset for help on using the changeset viewer.