Bug 38942 - Item template toolbar is not like other toolbars
Summary: Item template toolbar is not like other toolbars
Status: Signed Off
Alias: None
Product: Koha
Classification: Unclassified
Component: Staff interface (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Lucas Gass (lukeg)
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-01-21 21:26 UTC by Lucas Gass (lukeg)
Modified: 2025-02-11 20:00 UTC (History)
2 users (show)

See Also:
Change sponsored?: ---
Patch complexity: String patch
Documentation contact:
Documentation submission:
Text to go in the release notes:
This enhancement improves the item-template-toolbar in Koha, adding some classes to be consistent with other toolbars in Koha.
Version(s) released in:
Circulation function:


Attachments
Bug 38942: Fix display issues with item-template-toolbar (7.65 KB, patch)
2025-01-21 21:31 UTC, Lucas Gass (lukeg)
Details | Diff | Splinter Review
Bug 38942: Fix display issues with item-template-toolbar (7.71 KB, patch)
2025-01-22 17:08 UTC, PTFS Europe Sandboxes
Details | Diff | Splinter Review
Bug 38942: Fix display issues with item-template-toolbar (52.15 KB, patch)
2025-02-11 18:20 UTC, Lucas Gass (lukeg)
Details | Diff | Splinter Review
Bug 38942: Fix display issues with item-template-toolbar (9.51 KB, patch)
2025-02-11 20:00 UTC, Jonathan Druart
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Lucas Gass (lukeg) 2025-01-21 21:26:32 UTC
If you look at the item-template-toolbar in Koha, it looks quite different from other toolbars in Koha. 

TO recreate:
-Add an item and 'Save as template'
-Notice the toolbar buttons look different from other toolbars in Koha.
Comment 1 Lucas Gass (lukeg) 2025-01-21 21:31:54 UTC
Created attachment 176885 [details] [review]
Bug 38942: Fix display issues with item-template-toolbar

This patch does the following:
-Adds a 'btn' and 'btn-default' class to the buttons in the item-template-toolbar
-Removes the btn-group parent containers
-Changes the wording of the remember session checkbox to 'Remember for session', just like it is on the check out screen for due dates.
-Adds a visual divider after the 'Remember for session' checkbox
-Add CSS to addbiblio.css to make the checkbox/label appear a little nicer

To test:
-Add an item and 'Save as template'
-Notice the toolbar buttons look different from other toolbars in Koha.
-Apply patch
-Look again, the buttons should look better, hopefully!
Comment 2 PTFS Europe Sandboxes 2025-01-22 17:08:48 UTC
Created attachment 176923 [details] [review]
Bug 38942: Fix display issues with item-template-toolbar

This patch does the following:
-Adds a 'btn' and 'btn-default' class to the buttons in the item-template-toolbar
-Removes the btn-group parent containers
-Changes the wording of the remember session checkbox to 'Remember for session', just like it is on the check out screen for due dates.
-Adds a visual divider after the 'Remember for session' checkbox
-Add CSS to addbiblio.css to make the checkbox/label appear a little nicer

To test:
-Add an item and 'Save as template'
-Notice the toolbar buttons look different from other toolbars in Koha.
-Apply patch
-Look again, the buttons should look better, hopefully!

Signed-off-by: Barbara Johnson <barbara.johnson@bedfordtx.gov>
Comment 3 Lucas Gass (lukeg) 2025-02-11 18:20:33 UTC
Created attachment 177748 [details] [review]
Bug 38942: Fix display issues with item-template-toolbar

This patch does the following:
-Adds a 'btn' and 'btn-default' class to the buttons in the item-template-toolbar
-Removes the btn-group parent containers
-Changes the wording of the remember session checkbox to 'Remember for session', just like it is on the check out screen for due dates.
-Adds a visual divider after the 'Remember for session' checkbox
-Add CSS to addbiblio.css to make the checkbox/label appear a little nicer

To test:
-Add an item and 'Save as template'
-Notice the toolbar buttons look different from other toolbars in Koha.
-Apply patch
-Look again, the buttons should look better, hopefully!

Signed-off-by: Barbara Johnson <barbara.johnson@bedfordtx.gov>
Comment 4 Jonathan Druart 2025-02-11 20:00:21 UTC
Created attachment 177754 [details] [review]
Bug 38942: Fix display issues with item-template-toolbar

This patch does the following:
-Adds a 'btn' and 'btn-default' class to the buttons in the item-template-toolbar
-Removes the btn-group parent containers
-Changes the wording of the remember session checkbox to 'Remember for session', just like it is on the check out screen for due dates.
-Adds a visual divider after the 'Remember for session' checkbox
-Add CSS to addbiblio.css to make the checkbox/label appear a little nicer

To test:
-Add an item and 'Save as template'
-Notice the toolbar buttons look different from other toolbars in Koha.
-Apply patch
-Look again, the buttons should look better, hopefully!

Signed-off-by: Barbara Johnson <barbara.johnson@bedfordtx.gov>