Changeset 15624
- Timestamp:
- 30 Sep 2019, 10:34:21 (5 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/browser.py
r15623 r15624 26 26 from hurry.workflow.interfaces import IWorkflowInfo, IWorkflowState 27 27 from urllib import urlencode 28 from reportlab.platypus import Paragraph 28 29 from zope.catalog.interfaces import ICatalog 29 30 from zope.component import queryUtility, getUtility, createObject … … 36 37 from waeup.kofa.accesscodes import invalidate_accesscode, get_access_code 37 38 from waeup.kofa.accesscodes.workflow import USED 39 from waeup.kofa.browser.pdf import ENTRY1_STYLE 38 40 from waeup.kofa.browser.breadcrumbs import Breadcrumb 39 41 from waeup.kofa.browser.interfaces import ICaptchaManager … … 3776 3778 str(value.student.matric_number)) 3777 3779 for ticket in ctlist: 3780 name = Paragraph(ticket.student.display_fullname, ENTRY1_STYLE) 3778 3781 row = [sn, 3779 3782 ticket.student.matric_number, 3780 47 * ' ', # ticket.student.display_fullname,3783 name, 3781 3784 ticket.level, 3782 3785 ticket.student.certcode, 3783 None,3786 20 * ' ', 3784 3787 27 * ' ', 3785 3788 ] -
main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_browser.py
r15621 r15624 4590 4590 self.student.firstname = u'Emmanuella Woyengifigha Mercy Onosemudiana' 4591 4591 self.student.lastname = u'OYAKEMIEGBEGHA' 4592 self.student.matric_number = u'hdk7gd62i872z27zt27ge' 4592 4593 self.login_as_lecturer() 4593 4594 pdf_url = '%s/attendance.pdf' % self.course_url
Note: See TracChangeset for help on using the changeset viewer.