Changeset 10589
- Timestamp:
- 5 Sep 2013, 12:35:14 (11 years ago)
- Location:
- main/waeup.uniben/trunk/src/waeup/uniben/applicants
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.uniben/trunk/src/waeup/uniben/applicants/browser.py
r10587 r10589 50 50 def form_fields(self): 51 51 form_fields = super(CustomApplicantsContainerPage, self).form_fields 52 if self.request.principal.id == 'zope.anybody': 52 usertype = getattr(self.request.principal, 'user_type', None) 53 if self.request.principal.id == 'zope.anybody' or \ 54 usertype in ('applicant', 'student'): 53 55 return form_fields.omit('application_fee') 54 56 return form_fields
Note: See TracChangeset for help on using the changeset viewer.