Bug 27827: (follow-up) add a hint for clarification
authorAndreas Roussos <a.roussos@dataly.gr>
Wed, 24 Mar 2021 12:56:15 +0000 (13:56 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 16 Apr 2021 14:27:29 +0000 (16:27 +0200)
commitc359c154364b0aa2aff0f368e21bd30e458173a9
tree8d6b49b048ef13502ee67b6a43cbe861f1e75a12
parente20e0006914a118c8c6278be6165ae241a94f0c3
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 <david@davidnind.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/authtypes.tt