Changeset 16286


Ignore:
Timestamp:
18 Oct 2020, 22:22:58 (4 years ago)
Author:
Henrik Bettermann
Message:

Students must not see the send email button.

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

Legend:

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

    r16266 r16286  
    742742    def label(self):
    743743        portal_language = getUtility(IKofaUtils).PORTAL_LANGUAGE
    744         return translate(_('Base and Study Course Data of'),
     744        return translate(_('Study Course Data of'),
    745745            'waeup.kofa', target_language=portal_language) \
    746746            + ' %s' % self.context.student.display_fullname
  • main/waeup.kofa/trunk/src/waeup/kofa/students/viewlets.py

    r16187 r16286  
    181181    grok.context(IStudent)
    182182    grok.view(StudentBaseDisplayFormPage)
    183     grok.require('waeup.viewStudent')
     183    grok.require('waeup.manageStudent')
    184184    icon = 'actionicon_mail.png'
    185185    text = _('Send email')
Note: See TracChangeset for help on using the changeset viewer.