Changeset 6419


Ignore:
Timestamp:
20 Jun 2011, 14:40:31 (13 years ago)
Author:
uli
Message:

Update AccessCode? interface.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/accesscodes/interfaces.py

    r6415 r6419  
    2424        default = 0.0, min = 0.0,
    2525        )
    26     invalidation_date = schema.Datetime(
    27         title = u'Datetime of invalidation',
    28         required = False,
    29         default = None,
     26    disabled = schema.Bool(
     27        title = u'Access code is disabled',
     28        default = False,
     29        readonly = True,
    3030        )
    31     student_id = schema.TextLine(
    32         title = u'Student ID or registration number',
    33         required = False,
    34         default = None,
     31    used = schema.Bool(
     32        title = u'Access code is already in use.',
     33        default = False,
     34        readonly = True,
    3535        )
    3636    representation = schema.TextLine(
Note: See TracChangeset for help on using the changeset viewer.