From 5b4c6f311ed53be4e00add92779b1d76176d8373 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Wed, 2 Mar 2016 11:37:09 -0500 Subject: [PATCH] Bug 15959: Use Font Awesome icons for attach item confirmations When attaching an existing item to a record, the confirmation and error dialogs should be styled using Font Awesome icons. This patch revises the buttons and revises the global CSS file. To test, apply the patch and clear your cache if necessary. - Locate a record in the catalog to which you can attach an item. - Select "Attach item" from the "Edit" menu. - Submit a barcode for an exising item. - Verify that the confirmation dialog is correctly styled. - Test the operation of both the "OK" and the "Attach another item" buttons. - Submit an invalid barcode. - Verify that the error dialog is correctly styled. - Test the operation of both the "OK" and the "Try again" buttons. Signed-off-by: Hector Castro Works as described Signed-off-by: Jonathan Druart Signed-off-by: Brendan A Gallagher --- koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css | 4 ++++ .../intranet-tmpl/prog/en/modules/cataloguing/moveitem.tt | 8 ++++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css b/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css index 23283048d2..8abb9ee9d7 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css +++ b/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css @@ -1217,6 +1217,10 @@ div.alert strong { color: #cc0000; } +.new i.fa { + color: #425FAF; +} + a.clear-field { background : transparent url("../../img/clear-field.png") center left no-repeat; padding-left : 16px; diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/moveitem.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/moveitem.tt index e998929b80..f11dc7decc 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/moveitem.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/moveitem.tt @@ -21,11 +21,11 @@ [% END %] [% BLOCK fail %] - +
- +
[% END %] @@ -55,11 +55,11 @@
The item has successfully been attached to [% INCLUDE 'biblio-default-view.inc' %][% bibliotitle |html %].

[% INCLUDE actions %] - +

- +

-- 2.39.5