- Timestamp:
- 24 May 2019, 09:11:40 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/viewlets.py
r15175 r15422 32 32 OnlinePaymentDisplayFormPage, BedTicketDisplayFormPage, 33 33 StudentClearanceEditFormPage, StudentPersonalEditFormPage, 34 PaymentsManageFormPage, StudyCourseTranscriptPage , EditScoresPage)34 PaymentsManageFormPage, StudyCourseTranscriptPage) 35 35 from waeup.kofa.students.interfaces import ( 36 36 IStudentsContainer, IStudent, IStudentStudyCourse, IStudentStudyLevel, … … 41 41 ADMITTED, PAID, REQUESTED, CLEARED, REGISTERED, VALIDATED, GRADUATED, 42 42 TRANSREQ, TRANSVAL, TRANSREL) 43 from waeup.kofa.university.interfaces import ICourse44 43 45 44 … … 922 921 ] 923 922 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.