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/browser.py

    r17458 r17497  
    16021602            self.redirect(self.url(self.context))
    16031603            return
     1604        self.tdata = self.context.getTranscriptData()
     1605        #if not self.tdata[1]:
     1606        #    self.flash(_('No results yet!'), type="warning")
     1607        #    self.redirect(self.url(self.context))
     1608        #    return
    16041609        super(StudyCourseTranscriptPage, self).update()
    16051610        self.semester_dict = getUtility(IKofaUtils).SEMESTER_DICT
     
    16361641            self.redirect(self.url(self.context))
    16371642            return
     1643        tdata = self.context.getTranscriptData()
     1644        #if not tdata[1]:
     1645        #    self.flash(_('No results yet!'), type="warning")
     1646        #    self.redirect(self.url(self.context))
     1647        #    return
    16381648        super(ExportPDFTranscriptSlip, self).update()
    16391649        self.semester_dict = getUtility(IKofaUtils).SEMESTER_DICT
Note: See TracChangeset for help on using the changeset viewer.