Changeset 10633


Ignore:
Timestamp:
21 Sep 2013, 06:05:58 (11 years ago)
Author:
Henrik Bettermann
Message:

Add action button.

Location:
main/waeup.kofa/trunk/src/waeup/kofa/browser
Files:
1 added
1 edited

Legend:

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

    r10247 r10633  
    506506    grok.order(3)
    507507
     508class UpdateScoresActionButton(ManageActionButton):
     509    """ 'Update scores' button in course.
     510    """
     511    grok.context(ICourse)
     512    grok.view(CoursePage)
     513    grok.require('waeup.editScores')
     514    icon = 'actionicon_scores.png'
     515    text = _('Update scores')
     516    target = 'edit_scores'
     517    grok.order(4)
     518
    508519class ManageCertificateActionButton(ManageActionButton):
    509520    """ 'Manage settings' button for certificates.
Note: See TracChangeset for help on using the changeset viewer.