Changeset 6004 for main/waeup.sirp/trunk/src/waeup/sirp
- Timestamp:
- 1 May 2011, 20:14:27 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/browser/pages.py
r6003 r6004 859 859 # self.flash('Could not delete %s.' % code) 860 860 861 class AddFacultyFormPage(WAeUPAddFormPage):861 class FacultyAddFormPage(WAeUPAddFormPage): 862 862 """ Page form to add a new faculty to a faculty container. 863 863 """ … … 865 865 grok.require('waeup.manageUniversity') 866 866 grok.name('add') 867 label = ' '868 title = 'A dd faculty'867 label = 'Add faculty' 868 title = 'Academics' 869 869 form_fields = grok.AutoFields(IFacultyAdd) 870 870 pnav = 1 … … 925 925 # self.flash('Could not delete %s.' % code) 926 926 927 class AddDepartmentFormPage(WAeUPAddFormPage):927 class DepartmentAddFormPage(WAeUPAddFormPage): 928 928 """Add a department to a faculty. 929 929 """ … … 959 959 self.redirect(self.url(self.context)) 960 960 961 class ManageFacultyFormPage(WAeUPEditFormPage):961 class FacultyManageFormPage(WAeUPEditFormPage): 962 962 """Manage the basic properties of a `Faculty` instance. 963 963 """ … … 984 984 tabs.need() 985 985 #warning.need() 986 return super( ManageFacultyFormPage, self).update()986 return super(FacultyManageFormPage, self).update() 987 987 988 988 @grok.action('Save') … … 1021 1021 return 1022 1022 1023 class ManageFacultyContainerFormPage(WAeUPEditFormPage):1023 class FacultyContainerManageFormPage(WAeUPEditFormPage): 1024 1024 """Manage the basic properties of a `Faculty` instance. 1025 1025 """ … … 1040 1040 tabs.need() 1041 1041 #warning.need() 1042 return super( ManageFacultyContainerFormPage, self).update()1042 return super(FacultyContainerManageFormPage, self).update() 1043 1043 1044 1044 # ToDo: Show warning message before deletion … … 1198 1198 return 1199 1199 1200 class DepartmentAddCourseFormPage(WAeUPAddFormPage):1200 class CourseAddFormPage(WAeUPAddFormPage): 1201 1201 """Add-form to add course to a department. 1202 1202 """ … … 1230 1230 return 1231 1231 1232 class DepartmentAddCertificateFormPage(WAeUPAddFormPage):1232 class CertificateAddFormPage(WAeUPAddFormPage): 1233 1233 """Add-form to add certificate to a department. 1234 1234 """ … … 1384 1384 return levels 1385 1385 1386 class CertificateManageForm (WAeUPEditFormPage):1386 class CertificateManageFormPage(WAeUPEditFormPage): 1387 1387 """Manage the basic properties of a `Certificate` instance. 1388 1388 """
Note: See TracChangeset for help on using the changeset viewer.