Ignore:
Timestamp:
23 Jun 2016, 07:25:56 (8 years ago)
Author:
Henrik Bettermann
Message:

Changes requested in ticket #232 (fire brigade approach).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.aaue/trunk/src/waeup/aaue/applicants/browser_templates/applicanteditpage.pt

    r13547 r13977  
    100100  </div>
    101101
    102   <br /><br />
    103   <h3 i18n:translate="">
    104       Payment Tickets
    105   </h3>
     102  <tal:payments condition="view/display_payments">
     103    <br /><br />
     104    <h3 i18n:translate="">
     105        Payment Tickets
     106    </h3>
    106107
    107   <table i18n:domain="waeup.kofa" class="table table-condensed">
    108     <thead>
    109     <tr>
    110       <th>&nbsp;</th>
    111       <th i18n:translate="">Payment Id</th>
    112       <th i18n:translate="">Creation Date</th>
    113       <th i18n:translate="">Payment Date</th>
    114       <th i18n:translate="">Category</th>
    115       <th i18n:translate="">Item</th>
    116       <th i18n:translate="">State</th>
    117     </tr>
    118     </thead>
    119     <tbody>
    120       <tr tal:repeat="cl context/values">
    121          <td>
    122           <input type="checkbox"
    123                  name="val_id"
    124                  tal:attributes="value cl/__name__"
    125          tal:condition="python: not view.unremovable(cl)" />
    126         </td>
    127         <td> <a tal:attributes="href python:view.url(cl)">
    128         <span tal:content="cl/p_id">PID</span></a></td>
    129         <td tal:content="python: layout.formatDatetime(cl.creation_date)">CREATION DATE</td>
    130         <td tal:content="python: layout.formatDatetime(cl.payment_date)">PAYMENT DATE</td>
    131       <td tal:content ="cl/category">CATEGORY</td>
    132       <td tal:content ="cl/display_item">ITEM</td>
    133       <td tal:content ="cl/p_state_title">STATE</td>
     108    <table i18n:domain="waeup.kofa" class="table table-condensed">
     109      <thead>
     110      <tr>
     111        <th>&nbsp;</th>
     112        <th i18n:translate="">Payment Id</th>
     113        <th i18n:translate="">Creation Date</th>
     114        <th i18n:translate="">Payment Date</th>
     115        <th i18n:translate="">Category</th>
     116        <th i18n:translate="">Item</th>
     117        <th i18n:translate="">State</th>
    134118      </tr>
    135     </tbody>
    136   </table>
     119      </thead>
     120      <tbody>
     121        <tr tal:repeat="cl context/values">
     122           <td>
     123            <input type="checkbox"
     124                 name="val_id"
     125                 tal:attributes="value cl/__name__"
     126           tal:condition="python: not view.unremovable(cl)" />
     127          </td>
     128          <td> <a tal:attributes="href python:view.url(cl)">
     129          <span tal:content="cl/p_id">PID</span></a></td>
     130          <td tal:content="python: layout.formatDatetime(cl.creation_date)">CREATION DATE</td>
     131          <td tal:content="python: layout.formatDatetime(cl.payment_date)">PAYMENT DATE</td>
     132        <td tal:content ="cl/category">CATEGORY</td>
     133        <td tal:content ="cl/display_item">ITEM</td>
     134        <td tal:content ="cl/p_state_title">STATE</td>
     135        </tr>
     136      </tbody>
     137    </table>
    137138
    138   <div tal:condition="view/availableActions">
    139     <span tal:repeat="action view/actions"
    140           tal:omit-tag="">
    141       <input tal:condition="python:action.label in view.display_actions[1]"
    142              tal:replace="structure action/render"/>
    143     </span>
    144   </div>
    145   <br />
    146   <p i18n:translate="" tal:condition="context/special">
    147     <strong>Notice:</strong> If you need to pay for another service,
    148     select the corresponding special application category above,
    149     click 'Save' and then 'Add online payment ticket' again.
    150   </p>
     139    <div tal:condition="view/availableActions">
     140      <span tal:repeat="action view/actions"
     141            tal:omit-tag="">
     142        <input tal:condition="python:action.label in view.display_actions[1]"
     143               tal:replace="structure action/render"/>
     144      </span>
     145    </div>
     146    <br />
     147    <p i18n:translate="" tal:condition="context/special">
     148      <strong>Notice:</strong> If you need to pay for another service,
     149      select the corresponding special application category above,
     150      click 'Save' and then 'Add online payment ticket' again.
     151    </p>
     152  </tal:payments>
    151153</form>
Note: See TracChangeset for help on using the changeset viewer.