From eada7a25eeb1b1e6697d5ac15f90c18bfbe0dbfa Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Mon, 14 Mar 2016 13:47:01 -0400 Subject: [PATCH] Bug 16071: Use Font Awesome icons in authority duplicate warning dialog In the authority editor, when a duplicate record is suspected a dialog is shown. This patch updates the template to show Font Awesome icons in this dialog. Also changed: Using

instead of

in dialog so that it is correctly styled. Adding "popup" class to duplicate record link to indicate that a new window will be opened. To test, apply the patch and go to Authorities -> New record. - Use Z39.50 to import a record which is already in your catalog. - Save the record. Confirm that the duplicate warning dialog is styled correctly. - Confirm that both the "Save as new" and "Edit existing" buttons work correctly. Signed-off-by: Hector Castro Works as advertised Signed-off-by: Jonathan Druart --- .../intranet-tmpl/prog/en/modules/authorities/authorities.tt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities.tt index 7faf688..d8501a3 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities.tt @@ -181,15 +181,15 @@ function confirmnotdup(redirect){ [% IF ( duplicateauthid ) %]
-

Duplicate record suspected

-

Is this a duplicate of [% duplicateauthvalue %]?

+

Duplicate record suspected

+

Is this a duplicate of [% duplicateauthvalue %] ?

- +
- +
[% END %] -- 2.7.0