Ignore:
Timestamp:
25 Mar 2019, 10:18:57 (6 years ago)
Author:
Henrik Bettermann
Message:

Disable ug_ft course registration entirely.

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

Legend:

Unmodified
Added
Removed
  • main/waeup.aaue/trunk/src/waeup/aaue/students/studylevel.py

    r15365 r15370  
    132132
    133133        ######################################################
    134         # Temporarily disable ug_ft returning course registration
    135         if self.student.current_mode == 'ug_ft' \
    136             and self.student.state == RETURNING:
     134        # Temporarily disable ug_ft course registration
     135        if self.student.current_mode == 'ug_ft':
    137136            return _("Course registration has been disabled.")
    138137        ######################################################
  • main/waeup.aaue/trunk/src/waeup/aaue/students/tests/test_browser.py

    r15338 r15370  
    675675        ######################################################
    676676        # Temporarily disabled ug_ft course registration
    677         #self.assertTrue('Please check back later'
    678         #    in self.browser.contents)
    679         #return
     677        self.assertTrue('Course registration has been disabled'
     678            in self.browser.contents)
     679        return
    680680        ######################################################
    681681
     
    10181018        ######################################################
    10191019        # Temporarily disabled ug_ft course registration
    1020         #self.assertTrue('Please check back later'
    1021         #    in self.browser.contents)
    1022         #return
     1020        self.assertTrue('Course registration has been disabled'
     1021            in self.browser.contents)
     1022        return
    10231023        ######################################################
    10241024
     
    10431043        ######################################################
    10441044        # Temporarily disabled ug_ft course registration
    1045         #self.assertTrue('Please check back later'
    1046         #    in self.browser.contents)
    1047         #return
     1045        self.assertTrue('Course registration has been disabled'
     1046            in self.browser.contents)
     1047        return
    10481048        ######################################################
    10491049
Note: See TracChangeset for help on using the changeset viewer.