Changeset 9762
- Timestamp:
- 3 Dec 2012, 07:31:43 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/utils.py
r9717 r9762 29 29 from zope.i18n import translate 30 30 from waeup.kofa.interfaces import ( 31 IExtFileStore, IKofaUtils, RETURNING, PAID, CLEARED) 31 IExtFileStore, IKofaUtils, RETURNING, PAID, CLEARED, 32 academic_sessions_vocab) 32 33 from waeup.kofa.interfaces import MessageFactory as _ 33 34 from waeup.kofa.students.interfaces import IStudentsUtils … … 160 161 'studycourse'].certificate.__parent__.__parent__.__parent__.longtitle(), 161 162 size=12) 163 f_text = Paragraph(f_text, style["Normal"]) 164 data_right.append([f_label,f_text]) 165 166 f_label = formatted_label(size=12) % _('Entry Session') 167 f_label = Paragraph(f_label, style["Normal"]) 168 entry_session = studentview.context['studycourse'].entry_session 169 entry_session = academic_sessions_vocab.getTerm(entry_session).title 170 f_text = formatted_text(entry_session, size=12) 162 171 f_text = Paragraph(f_text, style["Normal"]) 163 172 data_right.append([f_label,f_text])
Note: See TracChangeset for help on using the changeset viewer.