Ignore:
Timestamp:
26 Nov 2011, 06:49:16 (13 years ago)
Author:
Henrik Bettermann
Message:

academics: Show students in departments.

students: Search for students in department.

File:
1 edited

Legend:

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

    r7202 r7205  
    416416    text = 'Manage department'
    417417
     418class ShowDepartmentStudentsActionButton(ManageActionButton):
     419    """ 'Show students' button for departments.
     420    """
     421    grok.context(IDepartment)
     422    grok.view(DepartmentPage)
     423    grok.require('waeup.showStudents')
     424    icon = 'actionicon_student.png'
     425    text = 'Show students'
     426    target = 'showstudents'
     427
    418428class ManageCourseActionButton(ManageActionButton):
    419429    """ 'Edit settings' button for courses.
Note: See TracChangeset for help on using the changeset viewer.