Ignore:
Timestamp:
6 Dec 2016, 15:41:25 (8 years ago)
Author:
Henrik Bettermann
Message:

Provide option to render performance data in custom packages.

File:
1 edited

Legend:

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

    r14305 r14314  
    32673267    grok.require('waeup.editScores')
    32683268
    3269     def table_data(self, session):
     3269    def data(self, session):
    32703270        cat = queryUtility(ICatalog, name='coursetickets_catalog')
    32713271        coursetickets = cat.searchResults(
     
    32903290                  ticket.score]
    32913291            tickets.append(row)
    3292         return header + sorted(tickets, key=lambda value: value[0])
     3292        return header + sorted(tickets, key=lambda value: value[0]), None
    32933293
    32943294    def render(self):
     
    32993299        students_utils = getUtility(IStudentsUtils)
    33003300        return students_utils.renderPDFCourseticketsOverview(
    3301             self, session, self.table_data(session), lecturers)
     3301            self, session, self.data(session), lecturers)
    33023302
    33033303class ExportJobContainerOverview(KofaPage):
Note: See TracChangeset for help on using the changeset viewer.