Changeset 14698 for main/waeup.kofa/trunk/src/waeup/kofa/interfaces.py
- Timestamp:
- 21 Jun 2017, 22:12:04 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/interfaces.py
r14539 r14698 149 149 """A source for filtering groups of students 150 150 """ 151 #: name of dict to deliver from kofa utils.152 151 DICT_NAME = 'DISABLE_PAYMENT_GROUP_DICT' 152 153 154 class EnableScoreEditingGroupSource(ContextualDictSourceFactoryBase): 155 """A source for filtering groups of students 156 """ 157 DICT_NAME = 'ENABLE_SCORE_EDITING_GROUP_DICT' 158 153 159 154 160 # Define a validation method for email addresses … … 738 744 current_academic_session = schema.Choice( 739 745 title = _(u'Current Academic Session'), 740 description = _(u'Session for which score editing is allowed'),746 description = _(u'Session for which score editing is enabled'), 741 747 source = academic_sessions_vocab, 742 748 default = None, 743 749 required = False, 744 750 readonly = False, 751 ) 752 753 score_editing_enabled = schema.List( 754 title = _(u'Score editing enabled (not used)'), 755 value_type = schema.Choice( 756 source = EnableScoreEditingGroupSource(), 757 ), 758 required = False, 759 defaultFactory=list, 745 760 ) 746 761
Note: See TracChangeset for help on using the changeset viewer.