Ignore:
Timestamp:
27 Jun 2012, 12:39:20 (13 years ago)
Author:
Henrik Bettermann
Message:

Merged with waeup.uniben 8838:HEAD.

Location:
main/waeup.aaue/trunk/src/waeup/aaue
Files:
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.aaue/trunk/src/waeup/aaue

  • main/waeup.aaue/trunk/src/waeup/aaue/students/browser.py

    r8723 r8840  
    4242from waeup.aaue.interfaces import MessageFactory as _
    4343
    44 #class RequestCallbackActionButton(RequestCallbackActionButton):
    45 #    """ Display the base package callback button in custom pages.
    46 #    """
    47 #    grok.context(ICustomStudentOnlinePayment)
    48 
    49 #class CustomOnlinePaymentCallbackPage(OnlinePaymentCallbackPage):
    50 #    """ Activate callback simulation view
    51 #    """
    52 #    grok.context(ICustomStudentOnlinePayment)
    53 
    5444class CustomOnlinePaymentBreadcrumb(OnlinePaymentBreadcrumb):
    5545    """A breadcrumb for payments.
     
    168158    form_fields[
    169159        'payment_date'].custom_widget = FriendlyDatetimeDisplayWidget('le')
    170     #grok.template('payment_view')
    171 
    172     #@property
    173     #def transaction_code(self):
    174     #    tcode = self.context.p_id
    175     #    return tcode[len(tcode)-8:len(tcode)]
    176160
    177161class CustomOnlinePaymentAddFormPage(OnlinePaymentAddFormPage):
     
    201185    form_fields['creation_date'].custom_widget = FriendlyDatetimeDisplayWidget('le')
    202186    form_fields['payment_date'].custom_widget = FriendlyDatetimeDisplayWidget('le')
    203 
    204 #    @property
    205 #    def note(self):
    206 #        tcode = self.context.p_id
    207 #        tcode = tcode[len(tcode)-8:len(tcode)]
    208 #        amount = self.context.amount_auth
    209 #        note = translate(_(
    210 #            u"""<br /><br /><br />
    211 #The tranzaction code is <strong>${a}</strong>.""",
    212 #            mapping = {'a':tcode}))
    213 #        return note
    214187
    215188class StudentPassportActionButton(StudentPassportActionButton):
Note: See TracChangeset for help on using the changeset viewer.