Ignore:
Timestamp:
28 Jun 2019, 05:44:59 (5 years ago)
Author:
Henrik Bettermann
Message:

study modes "ug_dsh" and "de_dsh" and "ug_pt", "de_pt" use the same Academic calendar.

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

Legend:

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

    r15471 r15478  
    423423            elif self.context.student.current_mode.startswith('dp'):
    424424                deadline = academic_session.coursereg_deadline_dp
    425             elif self.context.student.current_mode.endswith('_pt'):
     425            elif self.context.student.current_mode in (
     426                'ug_pt', 'de_pt', 'de_dsh', 'ug_dsh'):
    426427                deadline = academic_session.coursereg_deadline_pt
    427428            elif self.context.student.current_mode == 'found':
  • main/waeup.aaue/trunk/src/waeup/aaue/students/studylevel.py

    r15477 r15478  
    161161                deadline = academic_session.coursereg_deadline_dp
    162162            elif self.student.current_mode in (
    163                 'ug_pt', 'de_pt','dp_pt', 'de_dsh', 'ug_dsh'):
     163                'ug_pt', 'de_pt', 'de_dsh', 'ug_dsh'):
    164164                deadline = academic_session.coursereg_deadline_pt
    165165            elif self.student.current_mode == 'found':
Note: See TracChangeset for help on using the changeset viewer.