Ignore:
Timestamp:
12 Jun 2012, 05:22:54 (12 years ago)
Author:
Henrik Bettermann
Message:

Add 'Add applicant' action button.

File:
1 edited

Legend:

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

    r8666 r8684  
    334334    form_fields = grok.AutoFields(IApplicantsContainer).omit('title')
    335335    taboneactions = [_('Save'),_('Cancel')]
    336     tabtwoactions = [_('Add applicant'), _('Remove selected'),_('Cancel'),
     336    tabtwoactions = [_('Remove selected'),_('Cancel'),
    337337        _('Create students from selected')]
    338338    tabthreeactions1 = [_('Remove selected local roles')]
     
    422422                mapping = {'a':', '.join(deleted)}))
    423423        self.redirect(self.url(self.context, u'@@manage')+'?tab2')
    424         return
    425 
    426     @action(_('Add applicant'), validator=NullValidator)
    427     def addApplicant(self, **data):
    428         self.redirect(self.url(self.context, 'addapplicant'))
    429424        return
    430425
Note: See TracChangeset for help on using the changeset viewer.