Changeset 9842 for main/waeup.kofa/trunk/src/waeup/kofa/browser
- Timestamp:
- 8 Jan 2013, 07:52:55 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/browser/viewlets.py
r9819 r9842 472 472 text = _('Edit course') 473 473 474 class ManageCertificateActionButton(ManageActionButton):475 """ 'Manage settings' button for certificates.476 """477 grok.context(ICertificate)478 grok.view(CertificatePage)479 text = _('Manage certificate')480 481 474 class ShowCourseStudentsActionButton(ManageActionButton): 482 475 """ 'Show students' button in course. … … 489 482 target = 'students' 490 483 484 class ManageCertificateActionButton(ManageActionButton): 485 """ 'Manage settings' button for certificates. 486 """ 487 grok.context(ICertificate) 488 grok.view(CertificatePage) 489 text = _('Manage certificate') 490 grok.order(1) 491 491 492 class ShowCertificateStudentsActionButton(ManageActionButton): 492 493 """ 'Show students' button for certificates. … … 498 499 text = _('Show students') 499 500 target = 'students' 501 grok.order(2) 502 503 class ExportCertificateStudentsActionButton(ManageActionButton): 504 """ 'Export student data' button for certificates. 505 """ 506 grok.context(ICertificate) 507 grok.view(CertificatePage) 508 grok.require('waeup.showStudents') 509 icon = 'actionicon_down.png' 510 text = _('Export student data') 511 target = 'exports' 512 grok.order(3) 500 513 501 514 class ManageCertificateCourseActionButton(ManageActionButton):
Note: See TracChangeset for help on using the changeset viewer.