Ignore:
Timestamp:
29 Sep 2016, 08:54:59 (8 years ago)
Author:
Henrik Bettermann
Message:

Students can view the transcript buttons.

File:
1 edited

Legend:

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

    r13637 r14207  
    2525    AddPreviousPaymentActionButton, AddBalancePaymentActionButton,
    2626    ManageActionButton, StudentBaseDisplayFormPage,
    27     StudentPassportActionButton)
     27    StudentPassportActionButton,
     28    StudyCourseTranscriptActionButton,
     29    TranscriptSlipActionButton)
    2830from waeup.kofa.students.browser import StudyLevelDisplayFormPage
    2931
     
    119121    which requires that no application slip exists.
    120122    """
     123
     124class CustomStudyCourseTranscriptActionButton(StudyCourseTranscriptActionButton):
     125    grok.require('waeup.viewStudent')
     126    grok.name('transcript')
     127
     128class CustomTranscriptSlipActionButton(TranscriptSlipActionButton):
     129    grok.require('waeup.viewStudent')
     130    grok.name('transcript_slip')
Note: See TracChangeset for help on using the changeset viewer.