Ignore:
Timestamp:
17 Nov 2014, 06:29:21 (10 years ago)
Author:
Henrik Bettermann
Message:

Add more tests and solve problems which are unveiled thy these tests.

File:
1 edited

Legend:

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

    r11967 r11977  
    234234        return "return window.confirm(%s);" % _(
    235235            "'A history message will be added. Are you sure?'")
     236
     237class CustomerPasswordActionButton(ManageActionButton):
     238    grok.order(2)
     239    grok.context(ICustomer)
     240    grok.view(CustomerBaseDisplayFormPage)
     241    grok.require('waeup.handleCustomer')
     242    icon = 'actionicon_key.png'
     243    text = _('Change password')
     244    target = 'changepassword'
Note: See TracChangeset for help on using the changeset viewer.