Changeset 13617 for main/waeup.kofa/trunk/src/waeup/kofa/browser
- Timestamp:
- 15 Jan 2016, 15:34:03 (9 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa/browser
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/browser/pages.py
r13608 r13617 580 580 def _set_inst_types(self): 581 581 study_modes = getUtility(IKofaUtils).INST_TYPES_DICT 582 self.inst_types = s tudy_modes.items()582 self.inst_types = sorted(study_modes.items()) 583 583 return 584 584 … … 603 603 def _set_study_modes(self): 604 604 study_modes = getUtility(IKofaUtils).STUDY_MODES_DICT 605 self.study_modes = study_modes.items() 605 self.study_modes = sorted(study_modes.items()) 606 return 607 608 def _set_degrees(self): 609 degrees = getUtility(IKofaUtils).DEGREES_DICT 610 self.degrees = sorted(degrees.items()) 606 611 return 607 612 … … 613 618 def _set_verdicts(self): 614 619 verdicts = getUtility(IKofaUtils).VERDICTS_DICT 615 self.verdicts = verdicts.items()620 self.verdicts = sorted(verdicts.items()) 616 621 return 617 622 … … 660 665 self._set_study_levels() 661 666 self._set_study_modes() 667 self._set_degrees() 662 668 self._set_student_states() 663 669 self._set_verdicts() -
main/waeup.kofa/trunk/src/waeup/kofa/browser/viewlets.py
r13434 r13617 925 925 title = _('Study Modes') 926 926 927 class DegreeSource(InstTypesSource): 928 """Available study modes for the sources overview page. 929 """ 930 grok.order(6) 931 name = 'Degrees' 932 source_name = 'degrees' 933 title = _('Degrees') 934 927 935 class PaymentCatsSource(InstTypesSource): 928 936 """Available payment categories for the sources overview page. 929 937 """ 930 grok.order( 6)938 grok.order(7) 931 939 name = 'PaymentCats' 932 940 source_name = 'payment_cats' … … 936 944 """Available application types for the sources overview page. 937 945 """ 938 grok.order( 7)946 grok.order(8) 939 947 name = 'AppTypes' 940 948 source_name = 'app_types' … … 944 952 """Available application categories for the sources overview page. 945 953 """ 946 grok.order( 8)954 grok.order(9) 947 955 name = 'AppCats' 948 956 source_name = 'app_cats'
Note: See TracChangeset for help on using the changeset viewer.