[Koha-bugs] [Bug 33158] Use template wrapper for authorized values and item types administration tabs

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Mar 7 16:43:43 CET 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33158

--- Comment #1 from Owen Leonard <oleonard at myacpl.org> ---
Created attachment 147854
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=147854&action=edit
Bug 33158: Use template wrapper for authorized values and item types
administration tabs

This patch updates the authorized values and item types administration
templates so that they use the new WRAPPER directive to build tabbed
navigation.

Seeing that the markup in itemtypes.tt and authorised_values.tt is
indential when it comes to icon selection, I have moved that section of
the template into an include file and updated both templates to use it.

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.

Perform the same tests in Administration -> Authorized values.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list