Changeset 9146 for main/waeup.kofa


Ignore:
Timestamp:
3 Sep 2012, 10:51:01 (12 years ago)
Author:
Henrik Bettermann
Message:

Add pre-study beds to configuration form.

File:
1 edited

Legend:

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

    r8685 r9146  
    125125        )
    126126
     127    beds_for_pre= schema.List(
     128        title = _(u'Beds for Pre-Study Students'),
     129        value_type = schema.Choice(
     130            vocabulary = bed_letters
     131            ),
     132        )
     133
    127134    beds_for_fresh = schema.List(
    128135        title = _(u'Beds for Fresh Students'),
     
    172179                hostel.beds_for_returning +
    173180                hostel.beds_for_final +
     181                hostel.beds_for_pre +
    174182                hostel.beds_for_all)
    175183        if len(beds) != len(set(beds)):
Note: See TracChangeset for help on using the changeset viewer.