Ignore:
Timestamp:
12 Aug 2010, 12:59:55 (14 years ago)
Author:
uli
Message:

Add a button on portal settings to update the plugins. This is not
very sophisticated, but might work for now.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/pages.py

    r5386 r5422  
    138138        return
    139139
     140    @grok.action('Update plugins', validator=NullValidator)
     141    def updatePlugins(self, **data):
     142        self.context.updatePlugins()
     143        self.flash('Plugins were updated. See log file for details.')
     144        self.redirect(self.url(self.context))
     145        return
     146
    140147class AdministrationPage(WAeUPPage):
    141148    """ The administration overview page.
Note: See TracChangeset for help on using the changeset viewer.