- Timestamp:
- 27 May 2015, 08:31:16 (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
r12961 r13004 70 70 from waeup.kofa.mandates.mandate import PasswordMandate 71 71 from waeup.kofa.datacenter import DataCenterFile 72 73 from waeup.kofa.applicants.interfaces import IApplicantsUtils 72 74 73 75 from waeup.kofa.students.catalog import StudentQueryResultItem … … 577 579 return 578 580 581 def _set_app_types(self): 582 app_types = getUtility(IApplicantsUtils).APP_TYPES_DICT 583 self.app_types = [(x[0], x[1][0]) for x in app_types.items()] 584 return 585 579 586 def _set_payment_cats(self): 580 587 payment_cats = getUtility(IKofaUtils).PAYMENT_CATEGORIES … … 601 608 self._set_exam_grades() 602 609 self._set_app_cats() 610 self._set_app_types() 603 611 self._set_payment_cats() 604 612 self._set_sex() -
main/waeup.kofa/trunk/src/waeup/kofa/browser/viewlets.py
r12955 r13004 902 902 title = _('Study Modes') 903 903 904 class AppCatsSource(InstTypesSource):905 """Available application categories for the sources overview page.906 """907 grok.order(5)908 name = 'AppCats'909 source_name = 'app_cats'910 title = _('Application Categories')911 912 904 class PaymentCatsSource(InstTypesSource): 913 905 """Available payment categories for the sources overview page. … … 917 909 source_name = 'payment_cats' 918 910 title = _('Payment Categories') 911 912 class AppTypesSource(InstTypesSource): 913 """Available application types for the sources overview page. 914 """ 915 grok.order(7) 916 name = 'AppTypes' 917 source_name = 'app_types' 918 title = _('Application Types (Prefixes)') 919 920 class AppCatsSource(InstTypesSource): 921 """Available application categories for the sources overview page. 922 """ 923 grok.order(8) 924 name = 'AppCats' 925 source_name = 'app_cats' 926 title = _('Application Categories') 919 927 920 928 class StudentStatesSource(InstTypesSource):
Note: See TracChangeset for help on using the changeset viewer.