Changeset 12055 for main


Ignore:
Timestamp:
25 Nov 2014, 11:31:16 (10 years ago)
Author:
Henrik Bettermann
Message:

Do not show last_transaction_date on DocumentDisplayFormPage?. This is already part of the history.

Location:
main/waeup.ikoba/trunk/src/waeup/ikoba/customers
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.ikoba/trunk/src/waeup/ikoba/customers/browser.py

    r12053 r12055  
    831831    grok.require('waeup.viewCustomer')
    832832    grok.template('documentpage')
    833     form_fields = grok.AutoFields(ICustomerDocument)
    834     form_fields[
    835         'last_transition_date'].custom_widget = FriendlyDatetimeDisplayWidget('le')
     833    form_fields = grok.AutoFields(ICustomerDocument).omit('last_transition_date')
    836834    pnav = 4
    837835
     
    942940    prefix = 'form'
    943941
    944     omit_fields = ('suspended', 'sex', 'suspended_comment')
     942    omit_fields = ('suspended', 'sex',
     943                   'suspended_comment',)
    945944
    946945    form_fields = None
  • main/waeup.ikoba/trunk/src/waeup/ikoba/customers/browser_templates/documentsmanagepage.pt

    r12053 r12055  
    66    <tr>
    77      <th>&nbsp;</th>
    8       <th i18n:translate="">Document Id</th>
     8      <th i18n:translate="">Id</th>
    99      <th i18n:translate="">Title</th>
    1010      <th i18n:translate="">Type</th>
Note: See TracChangeset for help on using the changeset viewer.