From 82a220d5c1e7ae881cee102908c1647831613c01 Mon Sep 17 00:00:00 2001 From: ava li Date: Thu, 21 Jan 2021 03:21:54 +0000 Subject: [PATCH] Bug 24288: Add wording to authorized value interface to indicate valid code length TEST PLAN: 1) Apply the patch 2) Add a new authorised value policy in the LOST, NOTFORLOAN, DAMAGED, RESTRICTED, and WITHDRAWN categories 3) Check that there is a new warning displaying next to the Authorized value field stating "The authorized value field in the X category must be a one-digit numeric value" 4) Check that this same warning appears when modifying the same authorised values 5) Check that the warning doesn't appear in any other authorized value category. Signed-off-by: Barbara Johnson --- koha-tmpl/intranet-tmpl/prog/en/modules/admin/authorised_values.tt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authorised_values.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authorised_values.tt index c87bbf7aba..bfe62daa7b 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authorised_values.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authorised_values.tt @@ -71,6 +71,9 @@ [% IF ( action_modify ) %][% END %] + [% IF category_name == 'LOST' OR category_name == 'WITHDRAWN' OR category_name == 'NOT_LOAN' OR category_name == 'DAMAGED' OR category_name == 'RESTRICTED' %] + The authorized value field in the [% category_name | html %] category must be a one-digit numeric value + [% END %]
  • -- 2.11.0