- Timestamp:
- 24 Jan 2024, 06:26:42 (11 months ago)
- Location:
- main/waeup.kofa/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/CHANGES.txt
r17650 r17678 4 4 1.8.2.dev0 (unreleased) 5 5 ======================= 6 7 * Show 'Remove' tick bullet on `DatacenterImportStep2` only to user admin. 6 8 7 9 * Implement a QR Code view. -
main/waeup.kofa/trunk/src/waeup/kofa/browser/pages.py
r17458 r17678 1633 1633 mode_locked = False 1634 1634 1635 @property 1636 def show_remove_button(self): 1637 return self.request.principal.id in ('admin', 'zope.manager', 'zope.mgr') 1638 1635 1639 def getPreviewHeader(self): 1636 1640 """Get the header fields of attached CSV file. -
main/waeup.kofa/trunk/src/waeup/kofa/browser/templates/datacenterimport2page.pt
r11254 r17678 46 46 disabled python: view.mode != 'update' and view.mode_locked and 'disabled' or ''" /> 47 47 Update 48 <input type="radio" name="mode" value="remove" 48 <input type="radio" name="mode" value="remove" tal:condition="view/show_remove_button" 49 49 tal:attributes="checked python: view.mode == 'remove' and 'checked' or ''; 50 50 disabled python: view.mode != 'remove' and view.mode_locked and 'disabled' or ''" /> 51 Remove 51 Remove <span tal:condition="not: view/show_remove_button">(N/A)</span> 52 52 <p> 53 53 </p>
Note: See TracChangeset for help on using the changeset viewer.