Changeset 14626


Ignore:
Timestamp:
14 Mar 2017, 16:58:34 (8 years ago)
Author:
Henrik Bettermann
Message:

We need a marker interface for GradLevelReports?.

Location:
main/waeup.aaue/trunk/src/waeup/aaue/students/reports
Files:
2 edited

Legend:

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

    r14611 r14626  
    5858# Level Report for graduating students only
    5959
     60class IGradLevelReport(ILevelReport):
     61    """Marker interface to distuingish graduating students level reports
     62    from ordinary level reports.
     63    """
     64
     65@implementer(IGradLevelReport)
    6066class GradLevelReport(CustomLevelReport):
    6167    """
     
    9399class GradLevelReportPDFView(LevelReportPDFView):
    94100
    95     grok.context(ILevelReport)
     101    grok.context(IGradLevelReport)
    96102    grok.name('pdf')
    97103    grok.require('waeup.handleReports')
    98     prefix = 'GradLevelReport'
    99104
    100105    def _filename(self):
  • main/waeup.aaue/trunk/src/waeup/aaue/students/reports/student_level_statistics.py

    r14516 r14626  
    287287    grok.name('pdf')
    288288    grok.require('waeup.handleReports')
    289     prefix = ''
    290289
    291290    def _filename(self):
Note: See TracChangeset for help on using the changeset viewer.