From 8b5bb1770ae622222847f33c4b339b06b063b941 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Tue, 8 Mar 2016 21:08:01 -0500 Subject: [PATCH] [SIGNED-OFF]Bug 16059: Use Font Awesome icons in standard cataloging duplicate warning dialog In the standard MARC 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 Cataloging -> 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 items" buttons work correctly. Signed-off-by: Hector Castro Works as advertised --- .../intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt index 0d31c4b..09342b3 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt @@ -410,17 +410,17 @@ function Changefwk(FwkList) { [% IF ( duplicatebiblionumber ) %]
-

Duplicate record suspected

-

Is this a duplicate of [% duplicatetitle %]?

+

Duplicate record suspected

+

Is this a duplicate of [% duplicatetitle %] ?

[% IF ( CAN_user_editcatalogue_edit_items ) %]
- +
[% ELSE %]
[% END %]
- [% IF ( CAN_user_editcatalogue_edit_items ) %][% ELSE %][% END %] + [% IF ( CAN_user_editcatalogue_edit_items ) %][% ELSE %][% END %]
[% END %] -- 1.7.10.4