Ignore:
Timestamp:
26 Feb 2015, 07:35:00 (10 years ago)
Author:
Henrik Bettermann
Message:

Add components to configure a student export jobs in faculties.

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

Legend:

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

    r12518 r12632  
    347347        self.assertTrue(
    348348            'zope.mgr - students.browser.DatacenterExportJobContainerJobConfig '
    349             '- exported: students (None, None, None, None, None, None, None), '
     349            '- exported: students (None, None, None, None, None, None, None, None), '
    350350            'job_id=%s'
    351351            % job_id in logcontent)
  • main/waeup.kofa/trunk/src/waeup/kofa/browser/viewlets.py

    r11862 r12632  
    444444    target = 'find_students'
    445445
     446class ExportFacultyStudentsActionButton(ManageActionButton):
     447    """ 'Export student data' button for faculties.
     448    """
     449    grok.order(3)
     450    grok.context(IFaculty)
     451    grok.view(FacultyPage)
     452    grok.name('exportfacultystudents')
     453    grok.require('waeup.showStudents')
     454    icon = 'actionicon_down.png'
     455    text = _('Export student data')
     456    target = 'exports'
     457
    446458class ManageDepartmentActionButton(ManageActionButton):
    447459    """ 'Manage settings' button for departments.
Note: See TracChangeset for help on using the changeset viewer.