Ignore:
Timestamp:
31 Oct 2007, 11:15:56 (17 years ago)
Author:
Henrik Bettermann
Message:

fix for students with strange session result course codes
beautify course result views
create_level.py: do not fill grade of carry-over courses; grade is a deprecated catalog field

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/base/skins/cps_custom/logged_in.py

    r2485 r2489  
    231231                    lnr = context.getLevelFromResultsCosCode(has_results)
    232232                    dsc['current_level'] = "%d00" % lnr
    233                 elif not has_level and s_review_state == 'school_fee_paid':
     233                elif not has_level and s_review_state == 'school_fee_paid':     
    234234                    lnr = context.getLevelFromResultsCosCode(has_results)
    235                     if dsc['current_verdict'] in ('A','B',):
     235                    cv = context.getVerdict(has_results[0].Verdict)[0]
     236                    if cv in ('A','B',):
    236237                        lnr += 1
    237238                    dsc['current_level'] = "%d00" % lnr
     239                    dsc['previous_verdict'] = cv
    238240                if sc_review_state != 'opened':
    239241                    wftool.doActionFor(study_course,'open')
Note: See TracChangeset for help on using the changeset viewer.