Ignore:
Timestamp:
31 Aug 2021, 15:26:22 (3 years ago)
Author:
Henrik Bettermann
Message:

Adjust to changes in base package.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.skeleton/trunk/src/kofacustom/skeleton/remita/browser.py

    r15847 r16592  
    9090        if not module_activated(
    9191            self.context.student.current_session, self.context):
     92            self.flash(_('Forbidden'), type='danger')
     93            self.redirect(self.url(self.context, '@@index'))
    9294            return
    9395        self.orderId = self.context.p_id
     
    157159        if not module_activated(
    158160            self.context.__parent__.__parent__.year, self.context):
     161            self.flash(_('Forbidden'), type='danger')
     162            self.redirect(self.url(self.context, '@@index'))
    159163            return
    160164        self.orderId = self.context.p_id
Note: See TracChangeset for help on using the changeset viewer.