Ignore:
Timestamp:
15 Aug 2015, 07:44:00 (9 years ago)
Author:
Henrik Bettermann
Message:

Add switch to disable all exports.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/students/browser.py

    r13177 r13198  
    32363236            return
    32373237        utils = queryUtility(IKofaUtils)
     3238        if utils.export_disabled_message():
     3239            self.flash(utils.export_disabled_message(), type='danger')
     3240            self.entries = doll_up(self, user=None)
     3241            return
    32383242        if not utils.expensive_actions_allowed():
    32393243            self.flash(_(
Note: See TracChangeset for help on using the changeset viewer.