Changeset 6107 for main


Ignore:
Timestamp:
15 May 2011, 16:53:30 (14 years ago)
Author:
Henrik Bettermann
Message:

Rename views and page templates according to the convention in the university package.

Location:
main/waeup.sirp/trunk/src/waeup/sirp/applicants
Files:
1 edited
3 moved

Legend:

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

    r6105 r6107  
    8989    grok.context(IApplicantsRoot)
    9090    grok.name('manage')
    91     grok.template('applicantsrooteditpage')
     91    grok.template('applicantsrootmanagepage')
    9292    title = 'Applicants'
    9393    label = 'Manage application section'
     
    136136    grok.require('waeup.manageUniversity')
    137137    grok.name('add')
    138     grok.template('applicantscontaineraddformpage')
     138    grok.template('applicantscontaineraddpage')
    139139    title = 'Applicants'
    140140    label = 'Add applicants container'
     
    226226        return self.context.title
    227227
    228 class ManageApplicantsContainerActionButton(ManageActionButton):
     228class ApplicantsContainerManageActionButton(ManageActionButton):
    229229    grok.context(IApplicantsContainer)
    230230    grok.view(ApplicantsContainerPage)
     
    232232
    233233
    234 class ManageApplicantsContainer(WAeUPEditFormPage):
     234class ApplicantsContainerManageFormPage(WAeUPEditFormPage):
    235235    grok.context(IApplicantsContainer)
    236236    grok.name('manage')
    237     grok.template('form_manage_applicants_container')
     237    grok.template('applicantscontainermanagepage')
    238238    form_fields = grok.AutoFields(IApplicantsContainer).omit('title')
    239239    taboneactions = ['Save','Cancel']
     
    257257        tabs.need()
    258258        datatable.need()  # Enable jQurey datatables for contents listing
    259         return super(ManageApplicantsContainer, self).update()
     259        return super(ApplicantsContainerManageFormPage, self).update()
    260260
    261261    @grok.action('Save')
Note: See TracChangeset for help on using the changeset viewer.