Ignore:
Timestamp:
17 Jan 2013, 13:03:55 (12 years ago)
Author:
Henrik Bettermann
Message:

Let's create all students from applicants root.

File:
1 edited

Legend:

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

    r9759 r9900  
    139139
    140140class AllStudentsCreateActionButton(ManageActionButton):
    141     grok.order(1)
    142     grok.context(IApplicantsContainer)
    143     grok.view(ApplicantsStatisticsPage)
     141    grok.order(3)
     142    grok.context(IApplicantsRoot)
     143    grok.view(ApplicantsRootPage)
    144144    grok.require('waeup.managePortal')
    145145    icon = 'actionicon_entrance.png'
    146146    text = _('Create all student records')
    147147    target ='createallstudents'
     148
     149class ContainerStudentsCreateActionButton(AllStudentsCreateActionButton):
     150    grok.context(IApplicantsContainer)
     151    grok.order(1)
     152    grok.view(ApplicantsStatisticsPage)
    148153
    149154class ApplicantViewActionButton(ManageActionButton):
Note: See TracChangeset for help on using the changeset viewer.