From af13c207e89e63572ce4239ad112518ce3e35faa Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Fri, 4 Mar 2016 12:29:03 -0500 Subject: [PATCH] [SIGNED-OFF]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
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 Works as described --- .../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 %] -- 1.7.10.4