Changeset 11438


Ignore:
Timestamp:
26 Feb 2014, 07:59:40 (11 years ago)
Author:
Henrik Bettermann
Message:

Show tooltip alert and warning window before updating plugins. Officers have used this method in the past without knowing what they do.

Location:
main/waeup.kofa/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/CHANGES.txt

    r11437 r11438  
    441.0.1dev (unreleased)
    55=====================
     6
     7* Show tooltip alert and warning window before updating plugins.
    68
    79* JSAction has been deprecated. KofaAction can be used instead. Additional
  • main/waeup.kofa/trunk/src/waeup/kofa/browser/pages.py

    r11254 r11438  
    821821        return
    822822
    823     @action(_('Update plugins'), validator=NullValidator)
     823    @action(_('Update plugins'),
     824              tooltip=_('For experts only!'),
     825              warning=_('Plugins may only be updated after software upgrades. '
     826                        'Are you really sure?'),
     827              validator=NullValidator)
    824828    def updatePlugins(self, **data):
    825829        grok.getSite().updatePlugins()
Note: See TracChangeset for help on using the changeset viewer.