Bugzilla – Attachment 70526 Details for
Bug 10032
Uncertain prices hide 'close basket' without explanation
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Added disabled "Close this basket" button when uncertain prices are present. Note that whilst this has a "title" attribute, there is no tooltip shown because JQueryUI disabled buttons don't get DOM events.
Added-disabled-Close-this-basket-button-when-uncer.patch (text/plain), 1.85 KB, created by
Charlotte Cordwell
on 2018-01-16 00:42:33 UTC
(
hide
)
Description:
Added disabled "Close this basket" button when uncertain prices are present. Note that whilst this has a "title" attribute, there is no tooltip shown because JQueryUI disabled buttons don't get DOM events.
Filename:
MIME Type:
Creator:
Charlotte Cordwell
Created:
2018-01-16 00:42:33 UTC
Size:
1.85 KB
patch
obsolete
>From ffc65ee168a1ca7d1ab1b7ae0479246da16b0bce Mon Sep 17 00:00:00 2001 >From: Jon Knight <J.P.Knight@lboro.ac.uk> >Date: Tue, 12 Dec 2017 17:50:36 +0000 >Subject: [PATCH] Added disabled "Close this basket" button when uncertain > prices are present. Note that whilst this has a "title" attribute, there is > no tooltip shown because JQueryUI disabled buttons don't get DOM events. > >https://bugs.koha-community.org/show_bug.cgi?id=10032 > >Signed-off-by: Charlotte Cordwell <charlotte.cordwell123@gmail.com> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt | 3 +++ > 1 file changed, 3 insertions(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt >index 81d07ff..775df53 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt >@@ -62,6 +62,9 @@ > [% IF ( unclosable ) %] > [% ELSIF ( uncertainprices ) %] > <div class="btn-group"><a href="/cgi-bin/koha/acqui/uncertainprice.pl?booksellerid=[% booksellerid %]&owner=1" class="btn btn-default btn-sm" id="uncertpricesbutton"><i class="fa fa-usd"></i> Uncertain prices</a></div> >+ <div class="btn-group"> >+ <a href="" class="btn btn-default btn-sm disabled" id="closebutton" title="Can not close baskets that have items with uncertain prices in them."><i class="fa fa-times-circle"></i> Close this basket</a> >+ </div> > [% ELSE %] > <div class="btn-group"> > <a href="/cgi-bin/koha/acqui/basket.pl?op=close&basketno=[% basketno %]&booksellerid=[% booksellerid %]" class="btn btn-default btn-sm" id="closebutton"><i class="fa fa-times-circle"></i> Close this basket</a> >-- >2.1.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 10032
:
17375
|
69748
|
70250
|
70272
|
70526
|
70527
|
71242
|
71243