Changeset 16908
- Timestamp:
- 26 Mar 2022, 08:10:17 (3 years ago)
- Location:
- main/waeup.uniben/trunk/src/waeup/uniben
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.uniben/trunk/src/waeup/uniben/browser/pdf.py
r16906 r16908 38 38 if self.view and self.view.__name__ == 'transcript.pdf': 39 39 usertype = getattr(self.view.request.principal, 'user_type', None) 40 if usertype and usertype == 'student': 40 #if usertype and usertype == 'student': 41 if True: 41 42 self.watermark_pos = [95, 190] 42 43 return os.path.join( -
main/waeup.uniben/trunk/src/waeup/uniben/students/browser.py
r16906 r16908 708 708 """ Page to display the student's transcript. 709 709 """ 710 grok.require('waeup.viewStudent')710 # grok.require('waeup.viewStudent') 711 711 712 712 class CustomExportPDFTranscriptSlip(ExportPDFTranscriptSlip): 713 713 """Deliver a PDF slip of the context. 714 714 """ 715 grok.require('waeup.viewStudent')715 # grok.require('waeup.viewStudent') 716 716 717 717 def _sigsInFooter(self):
Note: See TracChangeset for help on using the changeset viewer.