Changeset 14978 for main/waeup.aaue/trunk
- Timestamp:
- 26 Mar 2018, 18:37:38 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/students/reports/session_results_presentation.py
r14972 r14978 37 37 plurals = '' 38 38 num_students = sum([len(i) for i in self.data]) 39 site = grok.getSite() 40 certificate = site[ 41 'faculties'][self.faccode][self.depcode].certificates[self.certcode] 42 study_mode = getattr(certificate, 'study_mode', None) 39 43 if num_students == 0: 40 44 return '' … … 54 58 if self.faccode == 'FBM': 55 59 board = 'College Academic Board' 60 elif study_mode and study_mode.startswith('dp'): 61 board = 'Institute Board' 56 62 else: 57 63 board = 'Faculty Board'
Note: See TracChangeset for help on using the changeset viewer.