Ignore:
Timestamp:
23 Apr 2015, 19:27:29 (9 years ago)
Author:
Henrik Bettermann
Message:

Convert level into a schema field to be consistent with the documentation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/students/interfaces.py

    r12518 r12873  
    562562
    563563    """
    564     level = Attribute('The level code')
    565564    number_of_tickets = Attribute('Number of tickets contained in this level')
    566565    certcode = Attribute('The certificate code of the study course')
    567566    is_current_level = Attribute('Is this level the current level of the student?')
    568567    passed_params = Attribute('Information about passed and failed courses')
     568
     569    level = schema.Choice(
     570        title = _(u'Level'),
     571        source = StudyLevelSource(),
     572        required = True,
     573        readonly = False,
     574        )
    569575
    570576    level_session = schema.Choice(
Note: See TracChangeset for help on using the changeset viewer.