Ignore:
Timestamp:
15 Oct 2012, 09:56:35 (12 years ago)
Author:
Henrik Bettermann
Message:

Add views for temporarily login as student.

File:
1 edited

Legend:

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

    r9273 r9338  
    175175    target = 'trigtrans'
    176176
     177class StudentLoginAsActionButton(ManageActionButton):
     178    grok.order(3)
     179    grok.context(IStudent)
     180    grok.view(StudentBaseDisplayFormPage)
     181    grok.require('waeup.loginAsStudent')
     182    icon = 'actionicon_mask.png'
     183    text = _(u'Login as student')
     184    target = 'loginasstep1'
     185
    177186class AdmissionSlipActionButton(ManageActionButton):
    178187    grok.order(4)
Note: See TracChangeset for help on using the changeset viewer.