Ignore:
Timestamp:
22 Feb 2007, 08:04:01 (18 years ago)
Author:
joachim
Message:

use verdicts vocabulary (in custom)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_student/getSessionResults.py

    r1448 r1465  
    6363verdict = None
    6464session = None
     65verdict_voc = context.portal_vocabularies.verdicts
    6566for r in results:
    6667    if verdict is None:
    67         verdict = r.Verdict
     68        verdict = verdict_voc.get(r.Verdict)
    6869        session = r.Session
    6970    result = {}
Note: See TracChangeset for help on using the changeset viewer.