Ignore:
Timestamp:
2 Aug 2024, 19:38:16 (3 months ago)
Author:
Henrik Bettermann
Message:

Hide final clearance button.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/students/viewlets.py

    r17866 r17869  
    106106    @property
    107107    def target_url(self):
     108        final_clearance_enabled = getUtility(
     109            IStudentsUtils).final_clearance_enabled(self.context)
     110        if not final_clearance_enabled:
     111            return ''
    108112        if self.context.finally_cleared_by:
    109113            return ''
Note: See TracChangeset for help on using the changeset viewer.