Changeset 7601 for main/waeup.sirp/trunk/src
- Timestamp:
- 8 Feb 2012, 07:05:16 (13 years ago)
- Location:
- main/waeup.sirp/trunk/src/waeup/sirp
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/browser/browser.txt
r7584 r7601 553 553 >>> ctrl = browser.getControl(name='form.semester') 554 554 >>> ctrl.options 555 [' 0', '1', '2', '3']555 ['9', '1', '2', '3'] 556 556 557 557 >>> ctrl.displayOptions -
main/waeup.sirp/trunk/src/waeup/sirp/students/vocabularies.py
r7532 r7601 41 41 end_level = int(studycourse.certificate.end_level) 42 42 else: 43 start_level = 043 start_level = 10 44 44 end_level = 600 45 45 levels = [level for level in range(start_level,end_level+200,10) -
main/waeup.sirp/trunk/src/waeup/sirp/university/interfaces.py
r7333 r7601 163 163 semester = schema.Choice( 164 164 title = u'Semester/Term', 165 default = 0,165 default = 9, 166 166 vocabulary = semester, 167 167 required = True, -
main/waeup.sirp/trunk/src/waeup/sirp/university/vocabularies.py
r7528 r7601 35 35 36 36 course_levels = SimpleSIRPVocabulary( 37 ('Pre-Studies', 0),37 ('Pre-Studies', 10), 38 38 ('100 (Year 1)',100), 39 39 ('200 (Year 2)',200), … … 47 47 48 48 semester = SimpleSIRPVocabulary( 49 ('N/A', 0),49 ('N/A', 9), 50 50 ('First Semester', 1), 51 51 ('Second Semester', 2), … … 58 58 ('Sandwich','sandwich'), 59 59 ('Postgraduate','pg'), 60 ('no application','no'), 60 61 ) 61 62
Note: See TracChangeset for help on using the changeset viewer.