Changeset 14689


Ignore:
Timestamp:
9 Jun 2017, 05:18:25 (8 years ago)
Author:
Henrik Bettermann
Message:

Change signatures on transcripts.

File:
1 edited

Legend:

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

    r13723 r14689  
    235235    """Deliver a examination schedule slip.
    236236
    237     This form page is available only in Uniben.
     237    This form page is available only in Uniben and AAUE.
    238238    """
    239239    grok.context(ICustomStudent)
     
    516516
    517517    def _sigsInFooter(self):
    518         return []
    519         #return (_('CERTIFIED TRUE COPY'),)
    520 
    521     def _signatures(self):
    522         return ([(
    523             'Current HD<br /> D. R. (Exams & Records)<br /> '
    524             'For: Registrar')],)
     518        isStudent = getattr(
     519            self.request.principal, 'user_type', None) == 'student'
     520        if not isStudent:
     521            return (_('D. R. (Exams & Records)'),_('Current Dean of Faculty'),)
     522        return ()
     523
     524    #def _signatures(self):
     525    #    return ([(
     526    #        'Current HD<br /> D. R. (Exams & Records)<br /> '
     527    #        'For: Registrar')],)
    525528
    526529    def render(self):
Note: See TracChangeset for help on using the changeset viewer.