Changeset 6004


Ignore:
Timestamp:
1 May 2011, 20:14:27 (13 years ago)
Author:
Henrik Bettermann
Message:

Standardize names of page classes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/pages.py

    r6003 r6004  
    859859    #            self.flash('Could not delete %s.' % code)
    860860
    861 class AddFacultyFormPage(WAeUPAddFormPage):
     861class FacultyAddFormPage(WAeUPAddFormPage):
    862862    """ Page form to add a new faculty to a faculty container.
    863863    """
     
    865865    grok.require('waeup.manageUniversity')
    866866    grok.name('add')
    867     label = ''
    868     title = 'Add faculty'
     867    label = 'Add faculty'
     868    title = 'Academics'
    869869    form_fields = grok.AutoFields(IFacultyAdd)
    870870    pnav = 1
     
    925925    #            self.flash('Could not delete %s.' % code)
    926926
    927 class AddDepartmentFormPage(WAeUPAddFormPage):
     927class DepartmentAddFormPage(WAeUPAddFormPage):
    928928    """Add a department to a faculty.
    929929    """
     
    959959        self.redirect(self.url(self.context))
    960960
    961 class ManageFacultyFormPage(WAeUPEditFormPage):
     961class FacultyManageFormPage(WAeUPEditFormPage):
    962962    """Manage the basic properties of a `Faculty` instance.
    963963    """
     
    984984        tabs.need()
    985985        #warning.need()
    986         return super(ManageFacultyFormPage, self).update()
     986        return super(FacultyManageFormPage, self).update()
    987987
    988988    @grok.action('Save')
     
    10211021        return
    10221022
    1023 class ManageFacultyContainerFormPage(WAeUPEditFormPage):
     1023class FacultyContainerManageFormPage(WAeUPEditFormPage):
    10241024    """Manage the basic properties of a `Faculty` instance.
    10251025    """
     
    10401040        tabs.need()
    10411041        #warning.need()
    1042         return super(ManageFacultyContainerFormPage, self).update()
     1042        return super(FacultyContainerManageFormPage, self).update()
    10431043
    10441044    # ToDo: Show warning message before deletion
     
    11981198        return
    11991199
    1200 class DepartmentAddCourseFormPage(WAeUPAddFormPage):
     1200class CourseAddFormPage(WAeUPAddFormPage):
    12011201    """Add-form to add course to a department.
    12021202    """
     
    12301230        return
    12311231
    1232 class DepartmentAddCertificateFormPage(WAeUPAddFormPage):
     1232class CertificateAddFormPage(WAeUPAddFormPage):
    12331233    """Add-form to add certificate to a department.
    12341234    """
     
    13841384        return levels
    13851385
    1386 class CertificateManageForm(WAeUPEditFormPage):
     1386class CertificateManageFormPage(WAeUPEditFormPage):
    13871387    """Manage the basic properties of a `Certificate` instance.
    13881388    """
Note: See TracChangeset for help on using the changeset viewer.