From 392ad31d3c3d47633bb7af52466d6c971203aae8 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 --- .../prog/en/modules/circ/circulation.tt | 18 +++++------ .../intranet-tmpl/prog/en/modules/circ/renew.tt | 12 ++++---- .../intranet-tmpl/prog/en/modules/circ/returns.tt | 32 +++++++++----------- 3 files changed, 30 insertions(+), 32 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 6fd722c..802186f 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 5a33706..0c099b3 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 a56b8e6..13b7aaf 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: