Ignore:
Timestamp:
2 Oct 2012, 16:50:57 (12 years ago)
Author:
Henrik Bettermann
Message:

Add special permission and view for triggering transitions

File:
1 edited

Legend:

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

    r9257 r9273  
    166166    target = 'manage_base'
    167167
     168class StudentTrigTransActionButton(ManageActionButton):
     169    grok.order(2)
     170    grok.context(IStudent)
     171    grok.view(StudentBaseDisplayFormPage)
     172    grok.require('waeup.triggerTransition')
     173    icon = 'actionicon_trigtrans.png'
     174    text = _(u'Trigger transition')
     175    target = 'trigtrans'
     176
    168177class AdmissionSlipActionButton(ManageActionButton):
    169178    grok.order(4)
Note: See TracChangeset for help on using the changeset viewer.