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/utils/utils.py

    r13132 r13198  
    349349                    return False
    350350        return True
     351
     352    def export_disabled_message(self):
     353        export_disabled_message = grok.getSite()[
     354            'configuration'].export_disabled_message
     355        if export_disabled_message:
     356            return export_disabled_message
     357        return None
Note: See TracChangeset for help on using the changeset viewer.