From 10a9a1e147699bdb1fd2b58ab93fe87cb82074cf Mon Sep 17 00:00:00 2001 From: Aleisha Date: Mon, 15 Feb 2016 22:14:43 +0000 Subject: [PATCH] Bug 15821: Use Font Awesome icons in confirmation dialogs - Circulation To test, apply the patch and test deletion in the following cases. Test both confirmation and cancel actions. Circulation -> Check out -> An item that is checked out by someone else -> An item that is on hold to someone else -> To a patron that has more than noisuescharge in fines (Allow AllowFineOverride syspref) -> To a patron that has reached the max amount of checkouts (Allow AllowTooManyOverride syspref) -> To a patron that has more than noissuescharge in fines (Allow AllowFineOverride syspref and set noissuescharge syspref) -> Renew -> An item that is on hold to someone else -> To a patron that is at max renewals (Allow AllowRenewalLimitOverride syspref) -> An item that is not checked out by anyone -> Check in -> An item that is in transit to another branch And look for other confirmation dialogs and check if I've missed any Sponsored-by: Catalyst IT EDIT: Made changes from Comment 2 Signed-off-by: Owen Leonard Signed-off-by: Jonathan Druart Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com --- .../prog/en/modules/circ/circulation.tt | 18 +++++------ .../prog/en/modules/circ/renew.tt | 12 +++---- .../prog/en/modules/circ/returns.tt | 31 +++++++++---------- 3 files changed, 30 insertions(+), 31 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt index 5038e47371..36c44f59c5 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt @@ -363,9 +363,9 @@ $(document).ready(function() { [% IF ( RENEW_ISSUE ) %] - + [% ELSE %] - + [% END %] @@ -377,7 +377,7 @@ $(document).ready(function() { - + [% END %] @@ -387,7 +387,7 @@ $(document).ready(function() { - + [% END %] @@ -399,18 +399,18 @@ $(document).ready(function() { [% IF CAN_user_circulate_force_checkout or HIGHHOLDS %] [% IF ( RENEW_ISSUE ) %] - + [% ELSE %] - + [% END %] [% ELSE %] - + [% END %] [% END %] @@ -451,7 +451,7 @@ $(document).ready(function() { - + [% END %] [% ELSE %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/renew.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/renew.tt index da3b83bc18..7c481f4e56 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/renew.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/renew.tt @@ -49,7 +49,7 @@
- +
[% END %] @@ -61,7 +61,7 @@
- +
[% END %] @@ -73,7 +73,7 @@
- +
[% END %] @@ -85,7 +85,7 @@
- +
[% END %] @@ -97,7 +97,7 @@ - + [% ELSIF error == "patron_restricted" %] @@ -111,7 +111,7 @@ [% END %]
- +
[% END %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt index 38c5887069..822b70e345 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt @@ -181,7 +181,7 @@ $(document).ready(function () {

Please return item to: [% Branches.GetName( TransferWaitingAt ) %]

[% itembarcode |html %]: [% title |html %]

- + [% IF ( wborcnum ) %]
Hold for:
  • [% borsurname %], [% borfirstname %] ([% borcnum %])
  • @@ -196,11 +196,11 @@ $(document).ready(function () { - + - + @@ -233,11 +233,10 @@ $(document).ready(function () {

    Hold at [% destbranchname %]

    [% END %]
    - - + - + @@ -284,11 +283,11 @@ $(document).ready(function () { [% END %] - + - + [% FOREACH inputloo IN inputloop %] @@ -321,10 +320,10 @@ $(document).ready(function () { Transfer now?
    [% IF itemnumber %] - + [% END %] - - + + @@ -397,13 +396,13 @@ $(document).ready(function () { [% IF ( transfertodo ) %] - - + + + [% END %] - + [% FOREACH inputloo IN inputloop %] -- 2.39.5