Bugzilla – Attachment 142223 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.88 KB, created by
David Nind
on 2022-10-20 02:34:59 UTC
(
hide
)
Description:
Bug 31810: Define 'Place hold' button as primary
Filename:
MIME Type:
Creator:
David Nind
Created:
2022-10-20 02:34:59 UTC
Size:
4.88 KB
patch
obsolete
>From 3c29ef2d3ba466cd52b839eee3bebe83760a0a46 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 > >Signed-off-by: David Nind <david@davidnind.com> >--- > .../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.30.2
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