Changeset 2468 for WAeUP_SRP/base/skins/cps_custom
- Timestamp:
- 29 Oct 2007, 07:34:30 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/skins/cps_custom/logged_in.py
r2456 r2468 203 203 verdict = res[0].verdict 204 204 level = res[0].level 205 has_level = level and not level == '000'205 has_level = level 206 206 has_verdict = verdict and not verdict == 'N/A' 207 207 #set_trace() … … 224 224 if not has_level and s_review_state == 'returning': 225 225 lnr = context.getLevelFromResultsCosCode(has_results) 226 dsc['current_level'] = "%d00" % lnr 227 elif not has_level and s_review_state == 'school_fee_paid': 228 lnr = context.getLevelFromResultsCosCode(has_results) 229 if dsc['current_verdict'] in ('A','B',): 230 lnr += 1 226 231 dsc['current_level'] = "%d00" % lnr 227 232 if sc_review_state != 'opened':
Note: See TracChangeset for help on using the changeset viewer.