Changeset 14139 for main


Ignore:
Timestamp:
31 Aug 2016, 04:54:07 (8 years ago)
Author:
Henrik Bettermann
Message:

Fix pagetemplate.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.uniben/trunk/src/waeup/uniben/applicants/browser_templates/applicantdisplaypage.pt

    r13947 r14139  
    9191  </tbody>
    9292</table>
    93 <h3  i18n:domain="waeup.kofa" i18n:translate="">
    94     Application Fee Payment Tickets
    95 </h3>
    96 <table i18n:domain="waeup.kofa" class="table table-condensed">
    97   <thead>
    98     <tr>
    99       <th i18n:translate="">Payment Id</th>
    100       <th i18n:translate="">Creation Date</th>
    101       <th i18n:translate="">Payment Date</th>
    102       <th i18n:translate="">Category</th>
    103       <th i18n:translate="">Item</th>
    104       <th i18n:translate="">State</th>
    105     </tr>
    106   </thead>
    107   <tbody>
    108     <tr tal:repeat="value context/values">
    109       <td> <a tal:attributes="href python:view.url(value)">
    110       <span tal:content="value/p_id">PID</span></a></td>
    111       <td tal:content="python: layout.formatDatetime(value.creation_date)">CREATION DATE</td>
    112       <td tal:content="python: layout.formatDatetime(value.payment_date)">PAYMENT DATE</td>
    113       <td tal:content ="value/category">CATEGORY</td>
    114       <td tal:content ="value/display_item">ITEM</td>
    115       <td tal:content ="value/p_state_title">STATE</td>
    116     </tr>
    117   </tbody>
    118 </table>
     93<tal:payments condition="view/display_payments">
     94  <h3  i18n:domain="waeup.kofa" i18n:translate="">
     95      Application Fee Payment Tickets
     96  </h3>
     97  <table i18n:domain="waeup.kofa" class="table table-condensed">
     98    <thead>
     99      <tr>
     100        <th i18n:translate="">Payment Id</th>
     101        <th i18n:translate="">Creation Date</th>
     102        <th i18n:translate="">Payment Date</th>
     103        <th i18n:translate="">Category</th>
     104        <th i18n:translate="">Item</th>
     105        <th i18n:translate="">State</th>
     106      </tr>
     107    </thead>
     108    <tbody>
     109      <tr tal:repeat="value context/payments">
     110        <td> <a tal:attributes="href python:view.url(value)">
     111        <span tal:content="value/p_id">PID</span></a></td>
     112        <td tal:content="python: layout.formatDatetime(value.creation_date)">CREATION DATE</td>
     113        <td tal:content="python: layout.formatDatetime(value.payment_date)">PAYMENT DATE</td>
     114        <td tal:content ="value/category">CATEGORY</td>
     115        <td tal:content ="value/display_item">ITEM</td>
     116        <td tal:content ="value/p_state_title">STATE</td>
     117      </tr>
     118    </tbody>
     119  </table>
     120</tal:payments>
    119121<form action="." tal:attributes="action request/URL" method="post"
    120122      i18n:domain="waeup.kofa">
Note: See TracChangeset for help on using the changeset viewer.