Bug 15980: Use Font Awesome icons in subscription frequency deletion confirmation...
authorOwen Leonard <oleonard@myacpl.org>
Fri, 4 Mar 2016 16:37:42 +0000 (11:37 -0500)
committerBrendan Gallagher <brendan@bywatersolutions.com>
Sat, 12 Mar 2016 23:30:01 +0000 (23:30 +0000)
commit7742d8911b08516bc3fae9ea01aa3d5ad576b06a
tree7d4fb000cb797c37e5231e3106a6fd56357021a8
parent364844cfd75bc2fdc188147993344bd63eb5d0a9
Bug 15980: Use Font Awesome icons in subscription frequency deletion confirmation dialog

If you try to delete a subscription frequency 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 dialog so that it is correctly
  styled.

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

- Click "Delete" on a frequency 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 frequency.

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 Gallagher brendan@bywatersolutions.com
koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-frequencies.tt