]> git.koha-community.org Git - koha.git/commit
Bug 15691: Show card number minimum and maximum in visible hint when adding a patron
authorOwen Leonard <oleonard@myacpl.org>
Thu, 28 Jan 2016 13:54:56 +0000 (08:54 -0500)
committerJulian Maurice <julian.maurice@biblibre.com>
Mon, 7 Mar 2016 09:20:49 +0000 (10:20 +0100)
commit276b59e5bcce0f68dfbce32f2c94e8d5178500a7
tree1b187da4b7385062d2764f80bb0dc15b14916ff5
parent2c186dd5a00cf8cb18fb596957a5ddfa9559bc42
Bug 15691: Show card number minimum and maximum in visible hint when adding a patron

The CardnumberLength system preference defines card number minimum and
maximum allowed values when adding a patron. This information is
currently hidden in a title attribute on the card number input field.

This patch moves the information into a <div class="hint">, matching
other fields in the entry form which offer details about entry
guidelines.

To test, apply the patch and open the new patron entry form. Test for
various values of CardnumberLength, and with 'cardnumber' mandatory or
not mandatory as defined in BorrowerMandatoryField.

Signed-off-by: Hector Castro <hector.hecaxmmx@gmail.com>
Works as advertised

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com
(cherry picked from commit 9f172a3c1bc8c7cd1664eabac81c5b66877b3952)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt