Changeset 16133 for main/waeup.kofa/trunk/src/waeup/kofa/applicants
- Timestamp:
- 28 Jun 2020, 17:43:38 (4 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa/applicants
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/applicants/browser_templates/applicanteditpage.pt
r15946 r16133 22 22 <tbody> 23 23 <tal:widgets content="structure provider:widgets" /> 24 <tr tal:condition="python: context.__parent__. with_picture">24 <tr tal:condition="python: context.__parent__.picture_editable"> 25 25 <td class="fieldname" i18n:translate=""> 26 26 Passport Photo: … … 42 42 </span> 43 43 <span tal:replace="view/max_upload_size">10 KB</span> 44 </td> 44 45 </tr> 45 46 … … 101 102 102 103 <div tal:condition="python: not view.manage_applications 103 and context.__parent__. with_picture">104 and context.__parent__.picture_editable"> 104 105 <input id="confirm_passport" name="confirm_passport" 105 106 type="checkbox" value="True"/> -
main/waeup.kofa/trunk/src/waeup/kofa/applicants/container.py
r15517 r16133 59 59 'waeup.local.ApplicationsManager', 60 60 ] 61 62 @property 63 def picture_editable(self): 64 # not used in base package 65 return self.with_picture 61 66 62 67 def addApplicant(self, applicant): -
main/waeup.kofa/trunk/src/waeup/kofa/applicants/interfaces.py
r16058 r16133 193 193 description_dict = Attribute('Language translation dictionary with values in HTML format') 194 194 local_roles = Attribute('List of local role names') 195 picture_editable = Attribute('False if applicants are not allowed to edit uploaded pictures.') 195 196 196 197
Note: See TracChangeset for help on using the changeset viewer.