Changeset 16363


Ignore:
Timestamp:
11 Jan 2021, 14:35:28 (4 years ago)
Author:
Henrik Bettermann
Message:

Add permanent flash message.

Location:
main/waeup.uniben/trunk/src/waeup/uniben/students
Files:
2 edited

Legend:

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

    r16362 r16363  
    107107        return True
    108108
     109
     110CLEARANCE_FLASH_MESSAGE = """
     111If you have not presented for physical clearance, scan your WAEC, NECO
     112and other O'level result verification scratch cards on one document and
     113attach to the form below (Scans > WAEC Result Scratch Card).
     114Then come back to check for your successful cleared status as from 3 days
     115after successful clearance request.
     116If status is cleared, pay your school charges and proceed to the
     117Dean's Office to collect the signed eligibility form.
     118"""
     119
    109120class CustomStudentClearanceEditFormPage(NigeriaStudentClearanceEditFormPage):
    110121    """ View to edit student clearance data by student
     
    141152            return _('No affidavit of non-membership of secret cults uploaded.')
    142153        return False
     154
     155    def update(self):
     156        self.flash(CLEARANCE_FLASH_MESSAGE, type="warning")
     157        return super(CustomStudentClearanceEditFormPage, self).update()
    143158
    144159class CustomOnlinePaymentAddFormPage(NigeriaOnlinePaymentAddFormPage):
  • main/waeup.uniben/trunk/src/waeup/uniben/students/viewlets.py

    r16362 r16363  
    286286    label = _(u'Left Thumb Fingerprint')
    287287    title = _(u'Left Thumb Fingerprint Minutiae')
    288     mus = 1024 * 5
     288    mus = 1024 * 150
    289289    download_name = u'finger1.fpm'
    290290
Note: See TracChangeset for help on using the changeset viewer.