Ignore:
Timestamp:
10 Jun 2011, 14:59:21 (13 years ago)
Author:
Henrik Bettermann
Message:

Provide application login button (anonymous users only).

File:
1 edited

Legend:

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

    r6332 r6336  
    243243    grok.context(IWAeUPObject)
    244244    grok.order(3)
    245     grok.require('waeup.manageApplications')
     245    grok.require('waeup.Public')
    246246    grok.template('primarynavtab')
    247247
     
    276276
    277277class ApplicantsContainerManageActionButton(ManageActionButton):
     278    grok.order(1)
    278279    grok.context(IApplicantsContainer)
    279280    grok.view(ApplicantsContainerPage)
     
    281282    text = 'Manage applicants container'
    282283
     284class LoginApplicantActionButton(ManageActionButton):
     285    grok.order(2)
     286    grok.context(IApplicantsContainer)
     287    grok.view(ApplicantsContainerPage)
     288    grok.require('waeup.Anonymous')
     289    icon = 'login.png'
     290    text = 'Login for applicants'
     291    target = 'login'
    283292
    284293class ApplicantsContainerManageFormPage(WAeUPEditFormPage):
     
    374383    def delLocalRoles(self, **data):
    375384        return del_local_roles(self,3,**data)
    376 
    377385
    378386class LoginApplicant(WAeUPPage):
Note: See TracChangeset for help on using the changeset viewer.