- Timestamp:
- 19 Nov 2012, 12:33:08 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/browser.py
r9684 r9685 96 96 97 97 def translated_values(view): 98 """Translate course ticket attribute values to be displayed on 99 studylevel pages. 100 """ 98 101 lang = view.request.cookies.get('kofa.language') 99 102 for value in view.context.values(): … … 110 113 value_dict['automatic'] = translate(str(value.automatic), 'zope', 111 114 target_language=lang) 115 value_dict['grade'] = value.grade 116 value_dict['weight'] = value.weight 112 117 yield value_dict 113 118
Note: See TracChangeset for help on using the changeset viewer.