Bug 15983: Use Font Awesome icons in serial numbering pattern deletion confirmation...
authorOwen Leonard <oleonard@myacpl.org>
Fri, 4 Mar 2016 17:29:03 +0000 (12:29 -0500)
committerBrendan Gallagher <brendan@bywatersolutions.com>
Sat, 12 Mar 2016 23:29:07 +0000 (23:29 +0000)
commit364844cfd75bc2fdc188147993344bd63eb5d0a9
tree9fff5ac9e35a46a6180d43a496078c043ae30d2f
parent71e1f75a30b8e2d8dfca47f0174c99e09f74fb0e
Bug 15983: Use Font Awesome icons in serial numbering pattern deletion confirmation dialog

If you try to delete a serial numbering pattern which is in use by an
existing subscription you will be shown a confirmation dialog. This
dialog should use Font Awesome icons.

Other minor changes:

- Added "action" attributes to <form>s to fix validation errors.
- Added "alert" class to confirmation dialogs so that they correctly
  styled.

To test, apply the patch and go to Serials -> Numbering patterns.

- Click "Delete" on a numbering pattern which is in use by a
  subscription.
- Verify that the confirmation dialog is styled correctly.
- Test that the "No, do not delete" button works correctly.
- Test that the "Yes, delete" button deletes the correct numbering
  pattern.

Signed-off-by: Hector Castro <hector.hecaxmmx@gmail.com>
Works as described

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