Changeset 14699
- Timestamp:
- 21 Jun 2017, 22:51:42 (8 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/interfaces.py
r14698 r14699 149 149 """A source for filtering groups of students 150 150 """ 151 #: name of dict to deliver from kofa utils. 151 152 DICT_NAME = 'DISABLE_PAYMENT_GROUP_DICT' 152 153 154 class EnableScoreEditingGroupSource(ContextualDictSourceFactoryBase):155 """A source for filtering groups of students156 """157 DICT_NAME = 'ENABLE_SCORE_EDITING_GROUP_DICT'158 159 153 160 154 # Define a validation method for email addresses … … 744 738 current_academic_session = schema.Choice( 745 739 title = _(u'Current Academic Session'), 746 description = _(u'Session for which score editing is enabled'),740 description = _(u'Session for which score editing is allowed'), 747 741 source = academic_sessions_vocab, 748 742 default = None, 749 743 required = False, 750 744 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,760 745 ) 761 746 -
main/waeup.kofa/trunk/src/waeup/kofa/utils/utils.py
r14698 r14699 139 139 } 140 140 141 ENABLE_SCORE_EDITING_GROUP_DICT = {} # not configured in base package142 143 141 DISABLE_PAYMENT_GROUP_DICT = { 144 142 'sf_all': 'School Fee - All Students', … … 202 200 203 201 MODE_GROUPS = { 204 'All': ('all',),205 'Undergraduate Full-Time': ('ug_ft',),206 'Undergraduate Part-Time': ('ug_pt',),207 'Postgraduate Full-Time': ('pg_ft',),208 'Postgraduate Part-Time': ('pg_pt',),209 }210 211 SCORE_EDITING_GROUP_DICT = {212 202 'All': ('all',), 213 203 'Undergraduate Full-Time': ('ug_ft',),
Note: See TracChangeset for help on using the changeset viewer.