Changeset 14412


Ignore:
Timestamp:
17 Jan 2017, 06:16:51 (8 years ago)
Author:
Henrik Bettermann
Message:

Use level_verdict to hide end level gpa and display FRNS as remark.

File:
1 edited

Legend:

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

    r14404 r14412  
    179179        # final level student remark
    180180        if end_level and self.level >= end_level:
    181             failed_courses = self.passed_params[4]
    182             if '_m' in failed_courses \
    183                 or not self.cumulative_params[0] or len(self.passed_params[5]):
     181            if '_m' in self.passed_params[4]:
     182                return 'FRNS'
     183            if not self.cumulative_params[0]:
     184                return 'FRNS'
     185            if len(self.passed_params[5]):
     186                return 'FRNS'
     187            if self.level_verdict == 'FRNS':
    184188                return 'FRNS'
    185189            if self.cumulative_params[0] < failed_limit:
Note: See TracChangeset for help on using the changeset viewer.