Changeset 10688 for main/waeup.kofa/trunk/src/waeup/kofa
- Timestamp:
- 4 Nov 2013, 06:46:51 (11 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa/students
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/browser.py
r10650 r10688 1249 1249 prefix = 'form' 1250 1250 omit_fields = ( 1251 'department', 'faculty', ' entry_session', 'certificate',1251 'department', 'faculty', 'current_mode', 'entry_session', 'certificate', 1252 1252 'password', 'suspended', 'phone', 'email', 1253 1253 'adm_code', 'suspended_comment') -
main/waeup.kofa/trunk/src/waeup/kofa/students/utils.py
r10686 r10688 161 161 'studycourse'].certificate.__parent__.__parent__.__parent__.longtitle, 162 162 ) 163 f_text = Paragraph(f_text, ENTRY1_STYLE) 164 data_right.append([f_label,f_text]) 165 if not 'current_mode' in omit_fields: 166 studymodes_dict = getUtility(IKofaUtils).STUDY_MODES_DICT 167 sm = studymodes_dict[studentview.context[ 168 'studycourse'].certificate.study_mode] 169 f_label = trans(_('Study Mode:'), lang) 170 f_label = Paragraph(f_label, ENTRY1_STYLE) 171 f_text = formatted_text(sm) 163 172 f_text = Paragraph(f_text, ENTRY1_STYLE) 164 173 data_right.append([f_label,f_text])
Note: See TracChangeset for help on using the changeset viewer.