Bug 16025 [Revised] Use Font Awesome icons on item types localization page
commit23c83561d5a51d572f008ab6d8cae9309f50cd29
authorOwen Leonard <oleonard@myacpl.org>
Wed, 9 Mar 2016 15:27:03 +0000 (9 10:27 -0500)
committerJulian Maurice <julian.maurice@biblibre.com>
Fri, 8 Apr 2016 07:20:20 +0000 (8 09:20 +0200)
tree384b62fd37144624229e2c604ba5959c8af7e2e8
parent626ef1091e67800208d4461aa9234e82c2464f01
Bug 16025 [Revised] Use Font Awesome icons on item types localization page

The item types localization page uses a Glyphicon. This patch converts
it to a Font Awesome icon.

Also changed in this patch: "Delete" text has been added to the delete
link, and a dummy "href" attribute has been added to the link so that it
triggers the right kind of cursor. The deletion confirmation JavaScript
has been edited to ignore the default click action.

To test, apply the patch and go to Administration -> Item types.

- Edit any existing item type and click the "Translate into other
  languages" link.
- If there is not an existing translation, add one. Close the modal
  window and click the "Translate into other languages" link again to
  redisplay it.
- Confirm that there is a "Delete" link next to your translation which
  is styled correctly.
- Confirm that the behavior of the "Delete" link is correct both when
  confirming and when canceling.

Revision adds the "actions" class to the table cell with the delete link
to prevent a line break between the icon and the text.

Signed-off-by: Marc VĂ©ron <veron@veron.ch>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com
(cherry picked from commit dfb8982ca79595297c7430243ad90b77e21d8a67)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/localization.tt