Changeset 16387
- Timestamp:
- 27 Jan 2021, 09:57:32 (4 years ago)
- Location:
- main/waeup.kofa/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/CHANGES.txt
r16327 r16387 4 4 1.6.1.dev0 (unreleased) 5 5 ======================= 6 7 * Disable clearance request button if not in state 'clearance started'. 6 8 7 9 * Make maximum number of applicants on `ApplicantsContainerManageFormPage` -
main/waeup.kofa/trunk/src/waeup/kofa/students/browser.py
r16329 r16387 938 938 return form_fields 939 939 940 @property 941 def do_not_render_buttons(self): 942 if self.context.state != CLEARANCE: 943 return ('Save and request clearance',) 944 return () 945 940 946 @action(_('Save'), style='primary') 941 947 def save(self, **data): -
main/waeup.kofa/trunk/src/waeup/kofa/students/browser_templates/clearanceeditpage.pt
r13104 r16387 24 24 <br /> 25 25 <div tal:condition="view/availableActions"> 26 <input tal:repeat="action view/actions" 27 tal:replace="structure action/render" 28 /> 26 <span tal:repeat="action view/actions" 27 tal:omit-tag=""> 28 <input tal:replace="structure action/render" 29 tal:condition="python:action.label not in view.do_not_render_buttons" 30 /> 31 </span> 29 32 </div> 30 33 </div>
Note: See TracChangeset for help on using the changeset viewer.