Ignore:
Timestamp:
21 Nov 2014, 13:05:56 (10 years ago)
Author:
Henrik Bettermann
Message:

Add view and viewlet for customer document transitions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.ikoba/trunk/src/waeup/ikoba/customers/viewlets.py

    r12018 r12028  
    202202    grok.require('waeup.triggerTransition')
    203203    icon = 'actionicon_trigtrans.png'
    204     text = _(u'Trigger transition')
     204    text = _(u'Transition')
    205205    target = 'trigtrans'
    206206
     
    323323
    324324
     325class DocumentTrigTransActionButton(ManageActionButton):
     326    grok.order(2)
     327    grok.context(ICustomerDocument)
     328    grok.view(DocumentDisplayFormPage)
     329    grok.require('waeup.triggerTransition')
     330    icon = 'actionicon_trigtrans.png'
     331    text = _(u'Transition')
     332    target = 'trigtrans'
     333
     334
    325335class DocumentViewActionButton(ManageActionButton):
    326336    grok.order(1)
Note: See TracChangeset for help on using the changeset viewer.