Changeset 14699


Ignore:
Timestamp:
21 Jun 2017, 22:51:42 (8 years ago)
Author:
Henrik Bettermann
Message:

Revert changes of previous revision.

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  
    149149    """A source for filtering groups of students
    150150    """
     151    #: name of dict to deliver from kofa utils.
    151152    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 
    159153
    160154# Define a validation method for email addresses
     
    744738    current_academic_session = schema.Choice(
    745739        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'),
    747741        source = academic_sessions_vocab,
    748742        default = None,
    749743        required = False,
    750744        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,
    760745        )
    761746
  • main/waeup.kofa/trunk/src/waeup/kofa/utils/utils.py

    r14698 r14699  
    139139        }
    140140
    141     ENABLE_SCORE_EDITING_GROUP_DICT = {} # not configured in base package
    142 
    143141    DISABLE_PAYMENT_GROUP_DICT = {
    144142        'sf_all': 'School Fee - All Students',
     
    202200
    203201    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 = {
    212202        'All': ('all',),
    213203        'Undergraduate Full-Time': ('ug_ft',),
Note: See TracChangeset for help on using the changeset viewer.