From fb70908a3a4df09a22a465e07c9c7e4173e219f1 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Fri, 4 Mar 2016 12:29:03 -0500 Subject: [PATCH] Bug 15983 - Use Font Awesome icons in serial numbering pattern deletion confirmation dialog Content-Type: text/plain; charset="utf-8" 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
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. --- .../prog/en/modules/serials/subscription-numberpatterns.tt | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-numberpatterns.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-numberpatterns.tt index e0c56fe..e1921a9 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-numberpatterns.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-numberpatterns.tt @@ -81,14 +81,14 @@ function show_blocking_subs() { [% IF (new) %]

New numbering pattern

[% IF (error_existing_numberpattern) %] -
+

A pattern with this name already exists.

[% END %] [% ELSE %]

Modify pattern: [% label %]

[% IF (error_existing_numberpattern) %] -
+

Another pattern with this name already exists.

[% END %] @@ -268,7 +268,7 @@ function show_blocking_subs() { [% ELSE %]

Numbering patterns

[% IF still_used %] -
+

This pattern is still used by [% subscriptions.size %] subscription(s). Do you still want to delete it? @@ -282,14 +282,14 @@ function show_blocking_subs() { [% END %] - + - +

-
- + +
[% END %] -- 2.1.4