Changeset 9912 for main/waeup.kofa/trunk/src/waeup/kofa
- Timestamp:
- 26 Jan 2013, 07:58:03 (12 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa/students
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/studylevel.py
r9812 r9912 24 24 from zope.component import createObject 25 25 from zope.interface import implementedBy 26 from waeup.kofa.interfaces import academic_sessions_vocab 26 27 from waeup.kofa.students.interfaces import ( 27 28 IStudentStudyLevel, IStudentNavigation, ICourseTicket) … … 81 82 82 83 @property 84 def getSessionString(self): 85 return academic_sessions_vocab.getTerm( 86 self.level_session).title 87 88 @property 83 89 def gpa(self): 84 90 gpa = 0.0 -
main/waeup.kofa/trunk/src/waeup/kofa/students/utils.py
r9911 r9912 560 560 author = '%s (%s)' % (view.request.principal.title, 561 561 view.request.principal.id) 562 footer_text = view.label 562 footer_text = view.label.split('\n')[0] 563 563 if getattr(student, 'student_id', None) is not None: 564 564 footer_text = "%s - %s - " % (student.student_id, footer_text)
Note: See TracChangeset for help on using the changeset viewer.