Ignore:
Timestamp:
23 Jun 2016, 05:08:41 (9 years ago)
Author:
Henrik Bettermann
Message:

Add first refereereports browser components.

File:
1 edited

Legend:

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

    r13968 r13976  
    8787  </div>
    8888
     89  <tal:refereereports condition="view/display_refereereports">
     90    <br /><br />
     91    <h3 i18n:translate="">
     92        Referee Reports
     93    </h3>
     94    <table i18n:domain="waeup.kofa" class="table table-condensed">
     95      <thead>
     96      <tr>
     97        <th i18n:translate="">Report Id</th>
     98        <th i18n:translate="">Creation Date</th>
     99        <th i18n:translate="">Referee</th>
     100        <th i18n:translate="">Email Address</th>
     101      </tr>
     102      </thead>
     103      <tbody>
     104        <tr tal:repeat="cl context/refereereports">
     105          <td> <a tal:attributes="href python:view.url(cl)">
     106            <span tal:content="cl/r_id">RID</span></a></td>
     107          <td tal:content="python: layout.formatDatetime(cl.creation_date)">CREATION DATE</td>
     108          <td tal:content="cl/name">REFEREE</td>
     109          <td tal:content="cl/email">EMAIL</td>
     110        </tr>
     111      </tbody>
     112    </table>
     113  </tal:refereereports>
     114
    89115  <tal:payments condition="view/display_payments">
    90116    <br /><br />
     
    107133      <tbody>
    108134        <tr tal:repeat="cl context/payments">
    109            <td>
    110             <input type="checkbox"
    111                  name="val_id"
    112                  tal:attributes="value cl/__name__"
     135          <td>
     136           <input type="checkbox"  name="val_id"
     137           tal:attributes="value cl/__name__"
    113138           tal:condition="python: not view.unremovable(cl)" />
    114139          </td>
     
    117142          <td tal:content="python: layout.formatDatetime(cl.creation_date)">CREATION DATE</td>
    118143          <td tal:content="python: layout.formatDatetime(cl.payment_date)">PAYMENT DATE</td>
    119         <td tal:content ="cl/category">CATEGORY</td>
    120         <td tal:content ="cl/display_item">ITEM</td>
    121         <td tal:content ="cl/p_state_title">STATE</td>
     144          <td tal:content ="cl/category">CATEGORY</td>
     145          <td tal:content ="cl/display_item">ITEM</td>
     146          <td tal:content ="cl/p_state_title">STATE</td>
    122147        </tr>
    123148      </tbody>
Note: See TracChangeset for help on using the changeset viewer.