Ignore:
Timestamp:
21 Feb 2014, 06:28:51 (11 years ago)
Author:
Henrik Bettermann
Message:

Adjust pagetemplates and move Interswitch logo to Diazo layout folder.

Location:
main/waeup.kwarapoly/branches/henrik-diazo-themed/src/waeup/kwarapoly/interswitch
Files:
1 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kwarapoly/branches/henrik-diazo-themed/src/waeup/kwarapoly/interswitch/browser.py

    r10844 r11145  
    5252#URL = '/test_paydirect/services/TransactionQueryWs.asmx'
    5353httplib.HTTPConnection.debuglevel = 0
    54 
    55 def interswitch_img_url(view):
    56     static = view.static
    57     if static is None or static.get(
    58         'interswitch_verve_mastercard.gif', None) is None:
    59         static = queryAdapter(
    60             view.request, Interface, name='waeup.kwarapoly.interswitch')
    61     return static['interswitch_verve_mastercard.gif']()
    6254
    6355class InterswitchPageStudent(KofaPage):
  • main/waeup.kwarapoly/branches/henrik-diazo-themed/src/waeup/kwarapoly/interswitch/browser_templates/applicant_goto_interswitch.pt

    r10131 r11145  
    88
    99  <table class="form-table" i18n:domain="waeup.kofa">
    10     <thead>
    11     </thead>
    1210    <tbody>
    1311      <tr>
     
    7270  <input type="hidden" name="payment_params" value="college_split" />
    7371  <span tal:replace="structure view/xml_data"></span>
    74 
    75   <input type="submit" class="btn" tal:attributes="value view/submit_button"/>
     72  <br />
     73  <input type="submit" class="btn btn-primary" tal:attributes="value view/submit_button"/>
    7674
    7775  <br /><br />
    7876
    79   <img tal:attributes="src view/interswitch_img_url" />
     77  <img src="/static/img/interswitch_verve_mastercard.gif" />
    8078
    8179</form>
  • main/waeup.kwarapoly/branches/henrik-diazo-themed/src/waeup/kwarapoly/interswitch/browser_templates/student_goto_interswitch.pt

    r9996 r11145  
    88
    99  <table class="form-table" i18n:domain="waeup.kofa">
    10     <thead>
    11     </thead>
    1210    <tbody>
    1311      <tr>
     
    7270  <input type="hidden" name="payment_params" value="college_split" />
    7371  <span tal:replace="structure view/xml_data"></span>
    74 
    75   <input type="submit" class="btn" tal:attributes="value view/submit_button"/>
     72  <br />
     73  <input type="submit" class="btn btn-primary" tal:attributes="value view/submit_button"/>
    7674
    7775  <br /><br />
    7876
    79   <img tal:attributes="src view/interswitch_img_url" />
     77  <img src="/static/img/interswitch_verve_mastercard.gif" />
    8078
    8179</form>
Note: See TracChangeset for help on using the changeset viewer.