From 9f34b23d1c6ade924595bc2ffc70cc1095d7831c Mon Sep 17 00:00:00 2001 From: Andreas Roussos Date: Wed, 24 Mar 2021 13:56:15 +0100 Subject: [PATCH] Bug 27827: (follow-up) add a hint for clarification When adding a new authority type, there is no indication of how big the authority type code can be (auth_types.authtypecode in the DB has a maximum length of 10 characters). This patch fixes that. To test, apply the patch and notice the hint appearing right above the "Authority type:" text box as you add a new authority type: it should display "10 characters maximum" in grey colour. Signed-off-by: David Nind --- koha-tmpl/intranet-tmpl/prog/en/modules/admin/authtypes.tt | 1 + 1 file changed, 1 insertion(+) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authtypes.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authtypes.tt index 29b0092a75..7787bac812 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authtypes.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authtypes.tt @@ -73,6 +73,7 @@ [% authority_type.authtypecode | html %] [% ELSE %] +
10 characters maximum
Required -- 2.11.0