Changeset 10685 for main/waeup.kofa/trunk/src/waeup/kofa/browser
- Timestamp:
- 2 Nov 2013, 09:02:26 (11 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/interfaces.py
r10684 r10685 24 24 from waeup.kofa.interfaces import MessageFactory as _ 25 25 from waeup.kofa.university.interfaces import ( 26 IFacultiesContainer, IFaculty, IDepartment, IDepartmentAdd,27 ICoursesContainer, ICourse, IC ourseAdd, ICertificatesContainer,28 ICertificate, ICertificate Add, ICertificateCourse, ICertificateCourseAdd)26 IFacultiesContainer, IFaculty, IDepartment, 27 ICoursesContainer, ICourse, ICertificatesContainer, 28 ICertificate, ICertificateCourse) 29 29 30 30 class IBreadcrumb(Interface): -
main/waeup.kofa/trunk/src/waeup/kofa/browser/pages.py
r10684 r10685 47 47 from waeup.kofa.browser.interfaces import ( 48 48 IUniversity, IFacultiesContainer, IFaculty, 49 IDepartment, I DepartmentAdd, ICourse, ICourseAdd, ICertificate,50 ICertificate Add, ICertificateCourse, ICertificateCourseAdd,49 IDepartment, ICourse, ICertificate, 50 ICertificateCourse, 51 51 ICaptchaManager, IChangePassword) 52 52 from waeup.kofa.browser.layout import jsaction, action, UtilityView … … 1904 1904 grok.require('waeup.manageAcademics') 1905 1905 label = _('Add department') 1906 form_fields = grok.AutoFields(IDepartment Add)1906 form_fields = grok.AutoFields(IDepartment) 1907 1907 pnav = 1 1908 1908 … … 1977 1977 tabfouractions2 = [_('Add local role')] 1978 1978 1979 form_fields = grok.AutoFields(IDepartment) 1979 form_fields = grok.AutoFields(IDepartment).omit('code') 1980 1980 1981 1981 @property … … 2058 2058 grok.require('waeup.manageAcademics') 2059 2059 label = _(u'Add course') 2060 form_fields = grok.AutoFields(ICourse Add)2060 form_fields = grok.AutoFields(ICourse) 2061 2061 pnav = 1 2062 2062 … … 2099 2099 grok.require('waeup.manageAcademics') 2100 2100 label = _(u'Add certificate') 2101 form_fields = grok.AutoFields(ICertificate Add)2101 form_fields = grok.AutoFields(ICertificate) 2102 2102 pnav = 1 2103 2103 … … 2163 2163 tabtwoactions2 = [_('Add local role')] 2164 2164 2165 form_fields = grok.AutoFields(ICourse) 2165 form_fields = grok.AutoFields(ICourse).omit('code') 2166 2166 2167 2167 def update(self): … … 2224 2224 label = _('Edit certificate') 2225 2225 2226 form_fields = grok.AutoFields(ICertificate) 2226 form_fields = grok.AutoFields(ICertificate).omit('code') 2227 2227 2228 2228 pnav = 1 … … 2283 2283 grok.name('addcertificatecourse') 2284 2284 grok.require('waeup.manageAcademics') 2285 form_fields = grok.AutoFields(ICertificateCourse Add)2285 form_fields = grok.AutoFields(ICertificateCourse) 2286 2286 pnav = 1 2287 2287 label = _('Add certificate course') … … 2336 2336 grok.name('manage') 2337 2337 grok.require('waeup.manageAcademics') 2338 form_fields = grok.AutoFields(ICertificateCourse) 2338 form_fields = grok.AutoFields(ICertificateCourse).omit('code') 2339 2339 label = _('Edit certificate course') 2340 2340 pnav = 1
Note: See TracChangeset for help on using the changeset viewer.