From 97f5834b95872673a54384747c77d88c60530892 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. --- 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.20.1