- Timestamp:
- 7 Oct 2021, 11:06:40 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/viewlets.py
r16610 r16671 617 617 @property 618 618 def target_url(self): 619 PORTRAIT_CHANGE_STATES = getUtility( 620 IStudentsUtils).PORTRAIT_CHANGE_STATES 621 if self.context.state not in PORTRAIT_CHANGE_STATES: 619 if not getUtility(IStudentsUtils).allowPortraitChange(self.context): 622 620 return '' 623 621 return self.view.url(self.view.context, self.target)
Note: See TracChangeset for help on using the changeset viewer.