Ignore:
Timestamp:
24 May 2019, 09:59:55 (5 years ago)
Author:
Henrik Bettermann
Message:

Add attendance_sheet.pdf view.

File:
1 edited

Legend:

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

    r15422 r15423  
    628628    grok.order(5)
    629629
     630class DownloadAttendanceSheetActionButton(ManageActionButton):
     631    """ 'Download ticket overview' button for courses.
     632    """
     633    grok.context(ICourse)
     634    grok.view(CoursePage)
     635    grok.name('attendance')
     636    grok.require('waeup.showStudents')
     637    icon = 'actionicon_pdf.png'
     638    text = _('Download attendance sheet')
     639    target = 'attendance.pdf'
     640    grok.order(6)
     641
    630642class DownloadCSVFileActionButton(ManageActionButton):
    631643    """ 'Download csv file' button for courses.
     
    638650    text = _('Download csv file (editable scores only)')
    639651    target = 'download_scores'
    640     grok.order(7)
     652    grok.order(1)
    641653
    642654class ManageCertificateActionButton(ManageActionButton):
Note: See TracChangeset for help on using the changeset viewer.