Ignore:
Timestamp:
3 Jul 2012, 21:07:34 (12 years ago)
Author:
Henrik Bettermann
Message:

Add personal manage form page including button viewlet.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/students/browser.py

    r8885 r8903  
    557557            mapping = {'a':self.context.display_fullname})
    558558
    559 class StudentPersonalEditFormPage(KofaEditFormPage):
    560     """ Page to edit personal data
     559class StudentPersonalManageFormPage(KofaEditFormPage):
     560    """ Page to manage personal data
    561561    """
    562562    grok.context(IStudent)
    563     grok.name('edit_personal')
    564     grok.require('waeup.handleStudent')
     563    grok.name('manage_personal')
     564    grok.require('waeup.manageStudent')
    565565    form_fields = grok.AutoFields(IStudentPersonal)
    566     label = _('Edit personal data')
     566    label = _('Manage personal data')
    567567    pnav = 4
    568568
     
    571571        msave(self, **data)
    572572        return
     573
     574class StudentPersonalEditFormPage(StudentPersonalManageFormPage):
     575    """ Page to edit personal data
     576    """
     577    grok.name('edit_personal')
     578    grok.require('waeup.handleStudent')
     579    label = _('Edit personal data')
     580    pnav = 4
    573581
    574582class StudyCourseDisplayFormPage(KofaDisplayFormPage):
Note: See TracChangeset for help on using the changeset viewer.