Changeset 15621


Ignore:
Timestamp:
30 Sep 2019, 06:58:01 (5 years ago)
Author:
Henrik Bettermann
Message:

Names are very long in Nigeria.

Location:
main/waeup.kofa/trunk/src/waeup/kofa/students
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/students/browser.py

    r15620 r15621  
    2626from hurry.workflow.interfaces import IWorkflowInfo, IWorkflowState
    2727from urllib import urlencode
     28from reportlab.platypus import Paragraph
    2829from zope.catalog.interfaces import ICatalog
    2930from zope.component import queryUtility, getUtility, createObject
     
    3637from waeup.kofa.accesscodes import invalidate_accesscode, get_access_code
    3738from waeup.kofa.accesscodes.workflow import USED
     39from waeup.kofa.browser.pdf import ENTRY1_STYLE
    3840from waeup.kofa.browser.breadcrumbs import Breadcrumb
    3941from waeup.kofa.browser.interfaces import ICaptchaManager
     
    37763778                                          str(value.student.matric_number))
    37773779        for ticket in ctlist:
     3780            name = Paragraph(ticket.student.display_fullname, ENTRY1_STYLE)
    37783781            row = [sn,
    37793782                  ticket.student.matric_number,
    3780                   ticket.student.display_fullname, # 47 * ' '
     3783                  name,
    37813784                  ticket.level,
    37823785                  ticket.student.certcode,
  • main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_browser.py

    r15609 r15621  
    45884588        self.course.title = (u'Lorem ipsum     dolor sit amet, consectetur     adipisici, '
    45894589                             u'sed         eiusmod tempor    incidunt ut  labore et dolore')
     4590        self.student.firstname = u'Emmanuella Woyengifigha Mercy Onosemudiana'
     4591        self.student.lastname = u'OYAKEMIEGBEGHA'
    45904592        self.login_as_lecturer()
    45914593        pdf_url = '%s/attendance.pdf' % self.course_url
  • main/waeup.kofa/trunk/src/waeup/kofa/students/utils.py

    r15618 r15621  
    10451045        pdf_data.append(Spacer(1, 20))
    10461046        colWidths = [None] * len(data[0][0])
     1047        colWidths[2] = 6*cm
    10471048        pdf_data += [Table(data[0], colWidths=colWidths, style=CONTENT_STYLE,
    10481049                           repeatRows=1)]
Note: See TracChangeset for help on using the changeset viewer.