Changeset 9698 for main/waeup.kofa/trunk/src/waeup/kofa/students/browser.py
- Timestamp:
- 20 Nov 2012, 09:08:13 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/browser.py
r9697 r9698 106 106 value._p_activate() 107 107 value_dict = dict([i for i in value.__dict__.items()]) 108 value_dict[' mandatory_bool'] = value.mandatory108 value_dict['removable_by_student'] = value.removable_by_student 109 109 value_dict['mandatory'] = translate(str(value.mandatory), 'zope', 110 110 target_language=lang) … … 1306 1306 form_fields['passmark'].for_display = True 1307 1307 form_fields['credits'].for_display = True 1308 form_fields['mandatory'].for_display = True1308 form_fields['mandatory'].for_display = False 1309 1309 form_fields['automatic'].for_display = True 1310 1310 form_fields['carry_over'].for_display = True … … 2227 2227 for id in child_id: 2228 2228 # Students are not allowed to remove core tickets 2229 if not self.context[id].mandatory:2229 if self.context[id].removable_by_student: 2230 2230 del self.context[id] 2231 2231 deleted.append(id)
Note: See TracChangeset for help on using the changeset viewer.