Changeset 16578 for main/waeup.kofa/trunk/src/waeup
- Timestamp:
- 19 Aug 2021, 20:28:54 (3 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa/applicants
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/applicants/browser.py
r16564 r16578 1173 1173 return False 1174 1174 1175 @property 1176 def picture_editable(self): 1177 return self.context.__parent__.with_picture 1178 1175 1179 # This method is also used by the ApplicantEditFormPage 1176 1180 def delPaymentTickets(self, **data): … … 1273 1277 [_('Remove selected tickets')]] 1274 1278 return actions 1279 1280 @property 1281 def picture_editable(self): 1282 return self.context.__parent__.picture_editable 1275 1283 1276 1284 def unremovable(self, ticket): -
main/waeup.kofa/trunk/src/waeup/kofa/applicants/browser_templates/applicanteditpage.pt
r16545 r16578 22 22 <tbody> 23 23 <tal:widgets content="structure provider:widgets" /> 24 <tr tal:condition=" python: context.__parent__.picture_editable">24 <tr tal:condition="view/picture_editable"> 25 25 <td class="fieldname" i18n:translate=""> 26 26 Passport Photo:
Note: See TracChangeset for help on using the changeset viewer.