Changeset 13878


Ignore:
Timestamp:
5 Jun 2016, 04:48:14 (8 years ago)
Author:
Henrik Bettermann
Message:

Apply textwrap.fill to list of failed courses column.

File:
1 edited

Legend:

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

    r12913 r13878  
    1717##
    1818import grok
     19import textwrap
    1920from zope.i18n import translate
    2021from zope.catalog.interfaces import ICatalog
     
    5859            continue
    5960        passed_params = level_obj.passed_params
     61        failed_courses = textwrap.fill(passed_params[4], 30)
    6062        line = (
    6163                #stud.student_id,
     
    6567                passed_params[2],
    6668                level_obj.gpa,
    67                 passed_params[4],
     69                failed_courses,
    6870                level_obj.cumulative_params[3],
    6971                level_obj.cumulative_params[4],
Note: See TracChangeset for help on using the changeset viewer.