Ignore:
Timestamp:
26 Mar 2022, 08:10:17 (3 years ago)
Author:
Henrik Bettermann
Message:

Disable trascript views for students.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.uniben/trunk/src/waeup/uniben/browser/pdf.py

    r16906 r16908  
    3838        if self.view and self.view.__name__ == 'transcript.pdf':
    3939            usertype = getattr(self.view.request.principal, 'user_type', None)
    40             if usertype and usertype == 'student':
     40            #if usertype and usertype == 'student':
     41            if True:
    4142                self.watermark_pos = [95, 190]
    4243                return os.path.join(
Note: See TracChangeset for help on using the changeset viewer.