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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.