Ignore:
Timestamp:
6 Jan 2017, 07:46:04 (8 years ago)
Author:
Henrik Bettermann
Message:

Break long fullnames in cell.

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

Legend:

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

    r14368 r14372  
    6060        passed_params = level_obj.passed_params
    6161        failed_courses = textwrap.fill(passed_params[4], 35)
     62        fullname = textwrap.fill(stud.display_fullname, 29)
    6263        # This is a very special column requested by AAUE, Nigeria.
    6364        # The 'remark' column remains empty in base package.
     
    6667                #stud.student_id,
    6768                stud.matric_number,
    68                 stud.display_fullname,
     69                fullname,
    6970                level_obj.gpa_params[1],
    7071                passed_params[2],
     
    117118            TTR(translate(_('Total Credits Taken'))),
    118119            TTR(translate(_('Total Credits Passed'))),
    119             TTR(translate(_('Courses Without Result'))),
     120            TTR(translate(_('Courses w/o Result'))),
    120121            TTR(translate(_('GPA'))),
    121122            translate(_('Courses Failed')),
  • main/waeup.kofa/trunk/src/waeup/kofa/students/reports/tests/test_level_report.py

    r14368 r14372  
    4646
    4747    def test_create_pdf(self):
     48        self.student.firstname = u'Johnathan Emmanuel Amenaghawon'
     49        self.student.lastname = u'Ehissouria'
    4850        ticket = createObject('waeup.CourseTicket')
    4951        ticket.code = 'Course2'
Note: See TracChangeset for help on using the changeset viewer.