- Timestamp:
- 28 Aug 2026, 21:50:22 (3 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.unidel/trunk/src/kofacustom/unidel/interfaces.py
r18282 r18313 21 21 from zc.sourcefactory.basic import BasicSourceFactory 22 22 from waeup.kofa.interfaces import (SimpleKofaVocabulary, 23 ISessionConfiguration, academic_sessions_vocab) 23 ISessionConfiguration, academic_sessions_vocab, 24 ContextualDictSourceFactoryBase) 24 25 25 26 _ = MessageFactory = zope.i18nmessageid.MessageFactory('kofacustom.unidel') 27 28 class EnableScoreEditingGroupSource(ContextualDictSourceFactoryBase): 29 """A source for filtering groups of students 30 """ 31 DICT_NAME = 'ENABLE_SCORE_EDITING_GROUP_DICT' 26 32 27 33 class ICustomSessionConfiguration(ISessionConfiguration): … … 190 196 default = 0.0, 191 197 required = False, 198 ) 199 200 score_editing_enabled = schema.List( 201 title = _(u'Score editing enabled'), 202 value_type = schema.Choice( 203 source = EnableScoreEditingGroupSource(), 204 ), 205 required = False, 206 defaultFactory=list, 192 207 ) 193 208
Note: See TracChangeset for help on using the changeset viewer.
