Changeset 16171 for main/waeup.uniben
- Timestamp:
- 19 Jul 2020, 20:56:10 (4 years ago)
- Location:
- main/waeup.uniben/trunk/src/waeup/uniben/students
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.uniben/trunk/src/waeup/uniben/students/browser.py
r16088 r16171 39 39 from waeup.kofa.students.workflow import (CREATED, ADMITTED, PAID, 40 40 CLEARANCE, REQUESTED, RETURNING, CLEARED, REGISTERED, VALIDATED, 41 GRADUATED, FORBIDDEN_POSTGRAD_TRANS)41 GRADUATED, TRANSREQ, TRANSVAL, TRANSREL, FORBIDDEN_POSTGRAD_TRANS) 42 42 from waeup.kofa.students.interfaces import IStudentsUtils, ICourseTicket 43 43 from waeup.kofa.students.workflow import FORBIDDEN_POSTGRAD_TRANS … … 659 659 """ 660 660 661 #def _sigsInFooter(self):662 #isStudent = getattr(663 #self.request.principal, 'user_type', None) == 'student'664 # if not isStudent:665 #return (_('D. R. (Exams & Records)'),_('Current Dean of Faculty'),)666 #return ()661 def _sigsInFooter(self): 662 isStudent = getattr( 663 self.request.principal, 'user_type', None) == 'student' 664 if not isStudent and self.context.student.state in (TRANSVAL, TRANSREL): 665 return (_('D. R. (Exams & Records)'),_('Current Dean of Faculty'),) 666 return () 667 667 668 668 #def _signatures(self): -
main/waeup.uniben/trunk/src/waeup/uniben/students/tests/test_browser.py
r15828 r16171 992 992 def test_transcripts(self): 993 993 studylevel = createObject(u'waeup.StudentStudyLevel') 994 IWorkflowState(self.student).setState('transcript validated') 994 995 studylevel.level = 100 995 996 studylevel.level_session = 2005
Note: See TracChangeset for help on using the changeset viewer.