Bug 41536

Summary: ILL "Confirm Request" button fails to stand out as a primary action
Product: Koha Reporter: Pedro Amorim <pedro.amorim>
Component: ILLAssignee: Pedro Amorim <pedro.amorim>
Status: Needs Signoff --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: andrew.auld, lisette, martin.renvoize, pedro.amorim, richard.bridgen, tomascohen
Version: MainKeywords: Sandbox
Hardware: All   
OS: All   
GIT URL: Initiative type: ---
Sponsorship status: --- Comma delimited list of Sponsors:
Crowdfunding goal: 0 Patch complexity: Trivial patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Attachments: Bug 41536: Add 'btn-primary' class to 'Confirm request' button
Bug 41536: Move 'Edit request' button to after backend actions buttons
Toolbar look before and after 41536

Description Pedro Amorim 2026-01-07 10:25:03 UTC

    
Comment 1 Pedro Amorim 2026-01-07 10:36:04 UTC
Created attachment 190979 [details] [review]
Bug 41536: Add 'btn-primary' class to 'Confirm request' button

This makes the button stand out from the other available actions
Comment 2 Pedro Amorim 2026-01-07 10:36:07 UTC
Created attachment 190980 [details] [review]
Bug 41536: Move 'Edit request' button to after backend actions buttons

This ensures that the 'Confirm request' will always be the first button in the toolbar.

Test plan:
1) Apply patch (skip this if sandbox)
2) Enable the ILLModule sys pref
3) Create a new request, visit:
<staff_url>/cgi-bin/koha/ill/ill-requests.pl?method=create&backend=Standard
4) Add any type, '42' as cardnumber, any library. Click 'Create'.
5) Notice the 'Confirm request' button is shown first, and with the 'primary button' styling.
Comment 3 Pedro Amorim 2026-01-07 10:36:54 UTC
Created attachment 190981 [details]
Toolbar look before and after 41536

Top is before, bottom is after bug 41536