From d04bfed58ca6472950766cae8bd71c48a33d798f Mon Sep 17 00:00:00 2001 From: Aleisha Date: Thu, 17 Mar 2016 23:15:40 +0000 Subject: [PATCH] Bug 16097: Making messages for subscription fields more user friendly To test: 1) Go to Serials -> Add Subscription fields 2) Create a field, confirm message. 3) Attempt to create a new field that has the same name as an existing field, confirm message. 4) Create another field with a different name. Attempt to edit this field to have the same name as another field. Confirm message 5) Edit field (change name to something different) 6) Delete field, confirm message. 6) Turn off permissions to delete subcriptions ONLY. Attempt to delete a field, confirm message. Sponsored-by: Catalyst IT Signed-off-by: Owen Leonard Signed-off-by: Katrin Fischer Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com --- .../prog/en/modules/serials/add_fields.tt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/add_fields.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/add_fields.tt index 18c424dd7b..b5fdad4518 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/add_fields.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/add_fields.tt @@ -65,21 +65,21 @@ [% FOR message IN messages %] [% IF message.code == 'insert' %] [% IF message.number > 0 %] -
The field has been inserted
+
Field created.
[% ELSE %] -
The field has not been inserted (name still exist?)
+
The field could not be created. Perhaps the name already exists?
[% END %] [% ELSIF message.code == 'update' %] [% IF message.number > 0 %] -
The field has been updated
+
Field updated.
[% ELSE %] -
The field has not been updated (name still exist?)
+
The field could not be updated. Perhaps the name already exists?
[% END %] [% ELSIF message.code == 'delete' %] [% IF message.number > 0 %] -
The field has been deleted
+
Field deleted.
[% ELSE %] -
The field has not been deleted
+
The field could not be deleted. Check the log for errors.
[% END %] [% END %] [% END %] -- 2.39.5