- Timestamp:
- 11 Jun 2016, 09:21:50 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/branches/uli-scores-upload/src/waeup/kofa/browser/viewlets.py
r13908 r13913 27 27 DepartmentPage, CoursePage, CertificatePage, CertificateCoursePage, 28 28 UsersContainerPage, UserManageFormPage, DatacenterImportStep1) 29 from waeup.kofa.students.browser import EditScoresPage30 29 from waeup.kofa.browser.interfaces import ( 31 30 IFacultiesContainer, IFaculty, IDepartment, ICourse, ICertificate, … … 555 554 grok.order(4) 556 555 557 class DownloadCSVFileActionButton(ManageActionButton):558 """ 'Download csv file' button for courses.559 """560 grok.context(ICourse)561 grok.view(EditScoresPage)562 grok.name('downloadcsv')563 grok.require('waeup.editScores')564 icon = 'actionicon_down.png'565 text = _('Download editable tickets')566 target = 'download_scores'567 grok.order(1)568 569 class DownloadTicketOverviewActionButton(ManageActionButton):570 """ 'Download ticket overview' button for courses.571 """572 grok.context(ICourse)573 grok.view(EditScoresPage)574 grok.name('coursetickets')575 grok.require('waeup.editScores')576 icon = 'actionicon_pdf.png'577 text = _('Download pdf file')578 target = 'coursetickets.pdf'579 grok.order(2)580 556 581 557 class ManageCertificateActionButton(ManageActionButton):
Note: See TracChangeset for help on using the changeset viewer.