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

Implement course result validation workflow for lecturers.

File:
1 edited

Legend:

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

    r15175 r15422  
    3232    OnlinePaymentDisplayFormPage, BedTicketDisplayFormPage,
    3333    StudentClearanceEditFormPage, StudentPersonalEditFormPage,
    34     PaymentsManageFormPage, StudyCourseTranscriptPage, EditScoresPage)
     34    PaymentsManageFormPage, StudyCourseTranscriptPage)
    3535from waeup.kofa.students.interfaces import (
    3636    IStudentsContainer, IStudent, IStudentStudyCourse, IStudentStudyLevel,
     
    4141    ADMITTED, PAID, REQUESTED, CLEARED, REGISTERED, VALIDATED, GRADUATED,
    4242    TRANSREQ, TRANSVAL, TRANSREL)
    43 from waeup.kofa.university.interfaces import ICourse
    4443
    4544
     
    922921            ]
    923922        return targets
    924 
    925 
    926 class DownloadCSVFileActionButton(ManageActionButton):
    927     """ 'Download csv file' button for courses.
    928     """
    929     grok.context(ICourse)
    930     grok.view(EditScoresPage)
    931     grok.name('downloadcsv')
    932     grok.require('waeup.editScores')
    933     icon = 'actionicon_down.png'
    934     text = _('Download csv file (editable scores only)')
    935     target = 'download_scores'
    936     grok.order(1)
    937 
    938 
    939 class DownloadTicketOverviewActionButton(ManageActionButton):
    940     """ 'Download ticket overview' button for courses.
    941     """
    942     grok.context(ICourse)
    943     grok.view(EditScoresPage)
    944     grok.name('coursetickets')
    945     grok.require('waeup.editScores')
    946     icon = 'actionicon_pdf.png'
    947     text = _('Download pdf file')
    948     target = 'coursetickets.pdf'
    949     grok.order(2)
Note: See TracChangeset for help on using the changeset viewer.