Bug 16071: Use Font Awesome icons in authority duplicate warning dialog
authorOwen Leonard <oleonard@myacpl.org>
Mon, 14 Mar 2016 17:47:01 +0000 (13:47 -0400)
committerBrendan A Gallagher <brendan@bywatersolutions.com>
Wed, 23 Mar 2016 20:43:37 +0000 (20:43 +0000)
commit2e82e781f9174c32d3e5c5a5716ff91404dd22dd
tree17b764314b39c8da5db327fa295f76b8d4f9ccad
parent6445161937f9641c0c3546014e55034dfb211361
 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 <h3> instead of <h4> 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 <hector.hecaxmmx@gmail.com>
Works as advertised

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Brendan A Gallagher <brendan@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities.tt