Ignore:
Timestamp:
20 Jul 2023, 13:38:29 (16 months ago)
Author:
Henrik Bettermann
Message:

Remove redundant ‚key‘ field from exports.
Adjust tests and code.
Add columns to transcript officers landing page.

File:
1 edited

Legend:

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

    r17182 r17497  
    10891089        else:
    10901090            f_text = formatted_text('%s' % cgpa)
     1091            if not transcript_data[1]:
     1092                f_text = formatted_text('No results yet!')
    10911093        f_text = Paragraph(f_text, ENTRY1_STYLE)
    10921094        contextdata.append([f_label,f_text])
     
    10951097        data.append(contexttable)
    10961098
    1097         transcripttables = render_transcript_data(
    1098             view, tableheader, levels_data, lang=portal_language)
    1099         data.extend(transcripttables)
     1099        if transcript_data[1]:
     1100            transcripttables = render_transcript_data(
     1101                view, tableheader, levels_data, lang=portal_language)
     1102            data.extend(transcripttables)
    11001103
    11011104        # Insert signatures
Note: See TracChangeset for help on using the changeset viewer.