Ignore:
Timestamp:
27 Jun 2012, 12:36:10 (12 years ago)
Author:
Henrik Bettermann
Message:

Remove unused code and templates.

Location:
main/waeup.uniben/trunk/src/waeup/uniben/applicants
Files:
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.uniben/trunk/src/waeup/uniben/applicants/browser.py

    r8803 r8839  
    4444    UG_OMIT_RESULT_SLIP_FIELDS)
    4545from waeup.uniben.interfaces import MessageFactory as _
    46 
    47 #class RequestCallbackActionButton(RequestCallbackActionButton):
    48 #    """ Display the base package callback button in custom pages.
    49 #    """
    50 #    grok.context(ICustomApplicantOnlinePayment)
    51 
    52 #class CustomOnlinePaymentCallbackPage(OnlinePaymentCallbackPage):
    53 #    """ Activate callback simulation view
    54 #    """
    55 #    grok.context(ICustomApplicantOnlinePayment)
    5646
    5747class CustomOnlinePaymentBreadcrumb(OnlinePaymentBreadcrumb):
     
    174164    form_fields[
    175165        'payment_date'].custom_widget = FriendlyDatetimeDisplayWidget('le')
    176     #grok.template('payment_view')
    177 
    178     #@property
    179     #def transaction_code(self):
    180     #    tcode = self.context.p_id
    181     #    return tcode[len(tcode)-8:len(tcode)]
    182166
    183167class CustomApplicationFeePaymentAddPage(ApplicationFeePaymentAddPage):
     
    194178    form_fields['payment_date'].custom_widget = FriendlyDatetimeDisplayWidget('le')
    195179
    196 #    @property
    197 #    def note(self):
    198 #        if self.context.p_state == 'paid':
    199 #            return None
    200 #        tcode = self.context.p_id
    201 #        tcode = tcode[len(tcode)-8:len(tcode)]
    202 #        amount = self.context.amount_auth
    203 #        note = translate(_(
    204 #            u"""<br /><br /><br />
    205 #The tranzaction code is <strong>${a}</strong>.""",
    206 #            mapping = {'a':tcode}))
    207 #        return note
    208 
    209180class CustomApplicantRegistrationPage(ApplicantRegistrationPage):
    210181    """Captcha'd registration page for applicants.
Note: See TracChangeset for help on using the changeset viewer.