Ignore:
Timestamp:
21 Feb 2014, 11:07:54 (11 years ago)
Author:
uli
Message:

Merge current trunk into 0.2 maintenance branch. Now really

Location:
main/waeup.kofa/branches/0.2
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/branches/0.2

  • main/waeup.kofa/branches/0.2/src/waeup/kofa/applicants/browser.py

    r10909 r11161  
    556556            msg = _(
    557557                '\n <strong>Congratulations!</strong>' +
    558                 ' You have been provisionally admitted into the' +
     558                ' You have been offered provisional admission into the' +
    559559                ' ${c} Academic Session of ${d}.'
    560560                ' Your student record has been created for you.' +
  • main/waeup.kofa/branches/0.2/src/waeup/kofa/applicants/payment.py

    r10392 r11161  
    111111        return 'N/A'
    112112
     113    @property
     114    def email(self):
     115        "Email of payer"
     116        return self.context.__parent__.email
     117
     118    @property
     119    def phone(self):
     120        "Phone number of payer"
     121        return self.context.__parent__.phone
     122
     123    @property
     124    def current_mode(self):
     125        "Current study mode of payer"
     126        return 'N/A'
     127
     128    @property
     129    def current_level(self):
     130        "Current level of payer"
     131        return 'N/A'
     132
    113133# Applicant online payments must be importable. So we might need a factory.
    114134class ApplicantOnlinePaymentFactory(grok.GlobalUtility):
  • main/waeup.kofa/branches/0.2/src/waeup/kofa/applicants/tests/test_browser.py

    r10909 r11161  
    574574            'You logged in.' in self.browser.contents)
    575575        self.assertTrue(
    576             '<strong>Congratulations!</strong> You have been provisionally'
    577             ' admitted into the %s/%s Academic Session of'
     576            '<strong>Congratulations!</strong> You have been offered provisional'
     577            ' admission into the %s/%s Academic Session of'
    578578            ' Sample University. Your student record has been created for you.'
    579579            % (session_1, session_1 + 1) in self.browser.contents)
Note: See TracChangeset for help on using the changeset viewer.