Bugzilla – Attachment 142220 Details for
Bug 31810
Place hold button should be yellow
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 31810: Define 'Place hold' button as primary
Bug-31810-Define-Place-hold-button-as-primary.patch (text/plain), 4.83 KB, created by
Fridolin Somers
on 2022-10-20 01:49:34 UTC
(
hide
)
Description:
Bug 31810: Define 'Place hold' button as primary
Filename:
MIME Type:
Creator:
Fridolin Somers
Created:
2022-10-20 01:49:34 UTC
Size:
4.83 KB
patch
obsolete
>From 2a8fca61f8b3b03f66675070641503f71b0c6d31 Mon Sep 17 00:00:00 2001 >From: Fridolin Somers <fridolin.somers@biblibre.com> >Date: Wed, 19 Oct 2022 15:42:50 -1000 >Subject: [PATCH] Bug 31810: Define 'Place hold' button as primary > >When placing a hold in staff, the 'Place hold' button should be yellow for the most important action on this form. > >Patch changes this button from btn-default to btn-primary. > >Test plan : >Play with placing hold, one and several, with cases : >- normal >- override required >- none available >--- > .../prog/en/modules/reserve/request.tt | 20 +++++++++---------- > 1 file changed, 10 insertions(+), 10 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt >index 5f751da506..d9801f2ae0 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt >@@ -631,11 +631,11 @@ > <fieldset class="action"> > [% IF ( patron.borrowernumber ) %] > [% IF ( override_required ) %] >- <button type="submit" class="btn btn-default warning"><i class="fa fa-exclamation-triangle "></i> Place hold</button> >+ <button type="submit" class="btn btn-primary warning"><i class="fa fa-exclamation-triangle "></i> Place hold</button> > [% ELSIF ( none_available ) %] >- <button type="submit" disabled="disabled" class="btn btn-default btn-disabled">Place hold</button> >+ <button type="submit" disabled="disabled" class="btn btn-primary btn-disabled">Place hold</button> > [% ELSE %] >- <button type="submit" class="btn btn-default">Place hold</button> >+ <button type="submit" class="btn btn-primary">Place hold</button> > [% END %] > [% END %] > </fieldset> >@@ -966,21 +966,21 @@ > [% IF ( patron AND patron.borrowernumber ) %] > [% IF ( multi_hold ) %] > [% IF ( override_required ) %] >- <button type="submit" class="btn btn-default warning"><i class="fa fa-exclamation-triangle "></i> Place holds</button> >+ <button type="submit" class="btn btn-primary warning"><i class="fa fa-exclamation-triangle "></i> Place holds</button> > [% ELSIF ( no_bibs_available ) %] >- <button type="submit" class="btn btn-default btn-disabled" disabled="disabled">Place holds</button> >+ <button type="submit" class="btn btn-primary btn-disabled" disabled="disabled">Place holds</button> > [% ELSIF ( none_available ) %] >- <button type="submit" class="btn btn-default">Place holds</button> >+ <button type="submit" class="btn btn-primary">Place holds</button> > [% ELSE %] >- <button type="submit" class="btn btn-default" id="multi_hold_submit">Place holds</button> >+ <button type="submit" class="btn btn-primary" id="multi_hold_submit">Place holds</button> > [% END %] > [% ELSE %] > [% IF ( override_required ) %] >- <button type="submit" class="btn btn-default warning"><i class="fa fa-exclamation-triangle "></i> Place hold</button> >+ <button type="submit" class="btn btn-primary warning"><i class="fa fa-exclamation-triangle "></i> Place hold</button> > [% ELSIF ( none_available ) %] >- <button type="submit" class="btn btn-default btn-disabled" disabled="disabled">Place hold</button> >+ <button type="submit" class="btn btn-primary btn-disabled" disabled="disabled">Place hold</button> > [% ELSE %] >- <button type="submit" class="btn btn-default">Place hold</button> >+ <button type="submit" class="btn btn-primary">Place hold</button> > [% END %] > [% END %] > [% END # /IF patron %] >-- >2.35.4
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 31810
:
142220
|
142223
|
142294