From 301a51f3747a513a8aaddd63f013c4fe7e8d9910 Mon Sep 17 00:00:00 2001 From: Aleisha Date: Thu, 17 Mar 2016 23:15:40 +0000 Subject: [PATCH] [PASSED QA] 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 --- .../intranet-tmpl/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 a7f847b..d84df87 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 @@ -62,21 +62,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 %] -- 1.9.1