Changeset 16126 for main


Ignore:
Timestamp:
25 Jun 2020, 05:15:48 (5 years ago)
Author:
Henrik Bettermann
Message:

Fix footer text.

File:
1 edited

Legend:

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

    r16113 r16126  
    788788                              view.request.principal.id)
    789789        footer_text = view.label.split('\n')
    790         if len(footer_text) > 1:
     790        if len(footer_text) > 2:
    791791            # We can add a department in first line, second line is used
    792792            footer_text = footer_text[1]
     
    894894                              view.request.principal.id)
    895895        footer_text = view.label.split('\n')
    896         if len(footer_text) > 1:
     896        if len(footer_text) > 2:
    897897            # We can add a department in first line
    898898            footer_text = footer_text[1]
Note: See TracChangeset for help on using the changeset viewer.