]> 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)
committerBrendan Gallagher <brendan@bywatersolutions.com>
Tue, 23 Feb 2016 22:46:10 +0000 (22:46 +0000)
commit9f172a3c1bc8c7cd1664eabac81c5b66877b3952
tree7bcfb52c01a95ce7f2a8a2d72d4848ca7d23f650
parenta382c8c1cb10687117083be29478a246859daf07
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
koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt