Ignore:
Timestamp:
15 Jan 2014, 12:50:07 (11 years ago)
Author:
Henrik Bettermann
Message:

Show password on landing page.

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

Legend:

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

    r10897 r10929  
    3131    NigeriaApplicantEditFormPage,
    3232    NigeriaPDFApplicationSlip,
     33    NigeriaApplicantRegistrationPage,
    3334    UG_OMIT_DISPLAY_FIELDS,
    3435    UG_OMIT_PDF_FIELDS,
     
    156157        form_fields['reg_number'].for_display = True
    157158        return form_fields
     159
     160class CustomApplicantRegistrationPage(NigeriaApplicantRegistrationPage):
     161    """Captcha'd registration page for applicants.
     162    """
     163
     164    def _redirect(self, email, password, applicant_id):
     165        # Forward email and credentials to landing page.
     166        self.redirect(self.url(self.context, 'registration_complete',
     167            data = dict(email=email, password=password,
     168            applicant_id=applicant_id)))
     169        return
  • main/waeup.aaue/trunk/src/waeup/aaue/applicants/utils.py

    r10894 r10929  
    3030        'fp': ['Foundation Programmes', 'FND'],
    3131        'ptee': ['Part-Time Entrance Examination', 'PTEE'],
     32        'app': ['General Studies', 'APP'],
    3233        }
    3334
Note: See TracChangeset for help on using the changeset viewer.