Bugzilla – Attachment 190980 Details for
Bug 41536
ILL "Confirm Request" button fails to stand out as a primary action
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 41536: Move 'Edit request' button to after backend actions buttons
Bug-41536-Move-Edit-request-button-to-after-backen.patch (text/plain), 2.64 KB, created by
Pedro Amorim
on 2026-01-07 10:36:07 UTC
(
hide
)
Description:
Bug 41536: Move 'Edit request' button to after backend actions buttons
Filename:
MIME Type:
Creator:
Pedro Amorim
Created:
2026-01-07 10:36:07 UTC
Size:
2.64 KB
patch
obsolete
>From 701980aa33e2bd77e5bc3ef71ee8941e99e9724f Mon Sep 17 00:00:00 2001 >From: Pedro Amorim <pedro.amorim@openfifth.co.uk> >Date: Wed, 7 Jan 2026 10:27:29 +0000 >Subject: [PATCH] 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. >--- > .../intranet-tmpl/prog/en/modules/ill/ill-requests.tt | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt >index aab07cdd241..02fd4a14321 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt >@@ -513,10 +513,6 @@ > > <h1>Manage ILL request [% request.id_prefix _ request.illrequest_id | html %]</h1> > <div id="request-toolbar" class="btn-toolbar"> >- <a title="Edit request" id="ill-toolbar-btn-edit-action" class="btn btn-default" href="/cgi-bin/koha/ill/ill-requests.pl?op=edit_action&illrequest_id=[% request.illrequest_id | html %]"> >- <i class="fa-solid fa-pencil" aria-hidden="true"></i> >- Edit request >- </a> > [% FOREACH action IN request.available_actions %] > [% needs_prefs = action.needs_prefs.size ? action.needs_prefs : [] %] > [% needs_perms = action.needs_perms.size ? action.needs_perms : [] %] >@@ -600,6 +596,10 @@ > </a> > [% END %] > [% END %] >+ <a title="Edit request" id="ill-toolbar-btn-edit-action" class="btn btn-default" href="/cgi-bin/koha/ill/ill-requests.pl?op=edit_action&illrequest_id=[% request.illrequest_id | html %]"> >+ <i class="fa-solid fa-pencil" aria-hidden="true"></i> >+ Edit request >+ </a> > [% IF request.borrowernumber %] > <div class="dropdown btn-group"> > <button class="btn btn-default dropdown-toggle" type="button" id="ill-notice-dropdown" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="true"> >-- >2.39.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 41536
:
190979
| 190980 |
190981