]> 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)
committerFrédéric Demians <f.demians@tamil.fr>
Tue, 15 Mar 2016 07:54:29 +0000 (08:54 +0100)
commit9fc70f8a0cf6fa6fda369837726e73b91b6cdf40
treea51313b842c2c6d5a0cfba5d367a6f84a8bc25c5
parentbfd565089ec4845b1390b760a30b922a6445116b
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>
(cherry picked from commit 276b59e5bcce0f68dfbce32f2c94e8d5178500a7)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt