- Timestamp:
- 27 Feb 2015, 21:56:34 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.ikoba/trunk/src/waeup/ikoba/customers/browser.py
r12633 r12634 51 51 from waeup.ikoba.mandates.mandate import PasswordMandate 52 52 from waeup.ikoba.widgets.hrefwidget import HREFDisplayWidget 53 from waeup.ikoba.utils.helpers import get_current_principal, to_timezone, now 53 from waeup.ikoba.utils.helpers import ( 54 get_current_principal, to_timezone, now, format_date) 54 55 from waeup.ikoba.customers.interfaces import ( 55 56 ICustomer, ICustomersContainer, ICustomerRequestPW, ICustomersUtils, … … 1593 1594 1594 1595 @property 1596 def validity_period(self): 1597 if self.context.valid_from or self.context.valid_to: 1598 return "%s - %s" % (format_date(self.context.valid_from, self.request), 1599 format_date(self.context.valid_to, self.request)) 1600 return 1601 1602 @property 1595 1603 def label(self): 1596 1604 portal_language = getUtility(IIkobaUtils).PORTAL_LANGUAGE
Note: See TracChangeset for help on using the changeset viewer.