Changeset 1504 for WAeUP_SRP/trunk


Ignore:
Timestamp:
26 Feb 2007, 21:20:40 (18 years ago)
Author:
Henrik Bettermann
Message:

upper case of verdict fixed

Location:
WAeUP_SRP/trunk/skins/waeup_student
Files:
2 edited

Legend:

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

    r1500 r1504  
    6969
    7070info['items'] = items
     71
     72try:
     73    info['verdict'] = context.portal_vocabularies.verdicts.get(info['doc'].current_verdict).upper()
     74except:
     75    info['verdict'] = course.current_verdict
     76
    7177return info
     78
  • WAeUP_SRP/trunk/skins/waeup_student/study_course_view.pt

    r1501 r1504  
    3232        <tr>
    3333          <td width="220px">Current Verdict:</td>
    34           <td><span tal:content="python:context.portal_vocabularies.verdicts.get(info['doc'].current_verdict).upper()" /></td>
     34          <td><span tal:content="info/verdict" /></td>
    3535        </tr>
    3636        <tr>
Note: See TracChangeset for help on using the changeset viewer.