From 7bd23ba6e494468a49e9a2ad6f7918861683a4a9 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 Content-Type: text/plain; charset="utf-8" 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. --- koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css | 4 ++++ koha-tmpl/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 58a1d15..8bb863d 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css +++ b/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css @@ -1225,6 +1225,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 e998929..f11dc7d 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.1.4