From 6863dfd98ebc7263f9e3c5c41c67582d0b272705 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Tue, 8 Mar 2016 21:08:01 -0500 Subject: [PATCH] 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 Signed-off-by: Jonathan Druart Signed-off-by: Brendan A Gallagher --- .../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 0d31c4b42b..09342b384a 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 %] -- 2.39.5