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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 29 Apr 2021 09:27:52 +0000 (11:27 +0200)
commitc3c8274197fe925eb2915dbee42d8f6415733d80
treea364b12643022bf94ad97eebfbee507de4e909c0
parent772c53b31c2ac0646f937bb6790d81398c7fa521
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>
(cherry picked from commit c359c154364b0aa2aff0f368e21bd30e458173a9)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/authtypes.tt