Changeset 16085 for main


Ignore:
Timestamp:
5 May 2020, 06:27:21 (5 years ago)
Author:
Henrik Bettermann
Message:

Do not show parents email on transcripts. Change permiddion for 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

    r16046 r16085  
    13921392    omit_fields = (
    13931393        'department', 'faculty', 'current_mode', 'entry_session', 'certificate',
    1394         'password', 'suspended', 'phone', 'email',
     1394        'password', 'suspended', 'phone', 'email', 'parents_email',
    13951395        'adm_code', 'suspended_comment', 'current_level', 'flash_notice')
    13961396
  • main/waeup.kofa/trunk/src/waeup/kofa/students/viewlets.py

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