Changeset 12135 for main/waeup.ikoba/branches/uli-payments/src/waeup
- Timestamp:
- 4 Dec 2014, 02:50:37 (10 years ago)
- Location:
- main/waeup.ikoba/branches/uli-payments/src/waeup/ikoba/payments
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.ikoba/branches/uli-payments/src/waeup/ikoba/payments/container.py
r11949 r12135 24 24 from waeup.ikoba.utils.helpers import attrs_to_fields 25 25 26 26 27 class PaymentsContainer(grok.Container): 27 28 """This is a container for all kind of payments. -
main/waeup.ikoba/branches/uli-payments/src/waeup/ikoba/payments/payment.py
r12134 r12135 34 34 from waeup.ikoba.utils.helpers import attrs_to_fields, get_current_principal 35 35 from waeup.ikoba.utils.logger import Logger 36 36 37 37 38 class Payment(grok.Container, Logger): … … 77 78 return ikoba_utils.getPaymentItem(self) 78 79 80 79 81 class OnlinePayment(Payment): 80 82 """This is an online payment. … … 101 103 if not usertitle: 102 104 usertitle = user.title 103 r_desc = _('Payment approved by ${a}', mapping ={'a': usertitle})105 r_desc = _('Payment approved by ${a}', mapping={'a': usertitle}) 104 106 portal_language = getUtility(IIkobaUtils).PORTAL_LANGUAGE 105 107 self.r_desc = translate(r_desc, 'waeup.ikoba',
Note: See TracChangeset for help on using the changeset viewer.