Ignore:
Timestamp:
3 Dec 2011, 05:09:21 (13 years ago)
Author:
Henrik Bettermann
Message:

Define formatDatetime (for displaying datetime objects in data tables) centrally in layout.py.

File:
1 edited

Legend:

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

    r7250 r7254  
    5959      <td> <a tal:attributes="href value/__name__">
    6060      <span tal:content="value/p_id">PID</span></a></td>
    61       <td tal:content="python: view.formatDatetime(value.creation_date)">CREATION DATE</td>
    62       <td tal:content="python: view.formatDatetime(value.payment_date)">PAYMENT DATE</td>
     61      <td tal:content="python: layout.formatDatetime(value.creation_date)">CREATION DATE</td>
     62      <td tal:content="python: layout.formatDatetime(value.payment_date)">PAYMENT DATE</td>
    6363      <td tal:content ="value/category">CATEGORY</td>
    6464      <td tal:content ="value/p_item">ITEM</td>
Note: See TracChangeset for help on using the changeset viewer.