@@ -, +, @@ deletion confirmation dialog - Added "action" attributes to
s to fix validation errors. - Added "alert" class to confirmation dialogs so that they correctly styled. - 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(-) --- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-numberpatterns.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-numberpatterns.tt @@ -91,14 +91,14 @@ $(document).ready(function(){ [% 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 %] @@ -278,7 +278,7 @@ $(document).ready(function(){ [% ELSE %]

Numbering patterns

[% IF still_used %] -
+

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

-
- + +
[% END %] --