Ignore:
Timestamp:
26 Oct 2022, 12:03:56 (2 years ago)
Author:
Henrik Bettermann
Message:

Allow postgrad students to change their passport picture.

File:
1 edited

Legend:

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

    r17125 r17142  
    6363            return 
    6464        PORTRAIT_CHANGE_STATES = getUtility(IStudentsUtils).PORTRAIT_CHANGE_STATES
    65         if self.context.state not in PORTRAIT_CHANGE_STATES:
     65        if self.context.state not in PORTRAIT_CHANGE_STATES and not self.context.is_postgrad:
    6666            return ''
    6767        return self.view.url(self.view.context, self.target)
Note: See TracChangeset for help on using the changeset viewer.