Bug 33157

Summary: Use template wrapper for item types administration tabs
Product: Koha Reporter: Owen Leonard <oleonard>
Component: TemplatesAssignee: Owen Leonard <oleonard>
Status: CLOSED INVALID QA Contact: Testopia <testopia>
Severity: minor    
Priority: P5 - low CC: testopia
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: Small patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Bug Depends on: 32571    
Bug Blocks:    
Attachments: Bug 33157: Use template wrapper for item types administration tabs
Bug 33157: Use template wrapper for item types administration tabs

Description Owen Leonard 2023-03-07 14:30:11 UTC
Continuing the work of Bug 32571, the item types administration page should be updated to use the new WRAPPER for tabs.
Comment 1 Owen Leonard 2023-03-07 14:34:12 UTC Comment hidden (obsolete)
Comment 2 Owen Leonard 2023-03-07 14:43:21 UTC
Created attachment 147845 [details] [review]
Bug 33157: Use template wrapper for item types administration tabs

This patch updates the item types administration template so that it
uses the new WRAPPER directive to build tabbed navigation.

To test, apply the patch and go to Administration -> Item types.

- Edit an item type.
- On the edit page you should see tabs under "Choose an icon."
- Confirm that the tabs look correct and work correctly.
- If you did not previously have any icon selected, the "None" tab
  should be active.
- If you had an icon selected, that icon set's tab should be active.
- Confirm that if you specify a remote image
  (e.g.https://via.placeholder.com/50/FF0000/FFFFFF.png) the tab is
  correctly shown after you save and re-edit.
- Confirm that changing icons works correctly and that the selected
  icon's tab is always active when you return to the edit view.
Comment 3 Owen Leonard 2023-03-07 15:30:24 UTC
There is a better way to do this...