Bug 2720: (follow-up) improve data entry form for manual restrictions
authorOwen Leonard <oleonard@myacpl.org>
Fri, 5 Jul 2013 17:05:27 +0000 (13:05 -0400)
committerGalen Charlton <gmc@esilibrary.com>
Thu, 31 Oct 2013 01:54:20 +0000 (01:54 +0000)
commit0532bdc95616f80c24f935d1bb5875b2f5e267dd
tree6a6a58bf8a55b82c3f0e64bba996616f419e5051
parent80897930b73dcd17b377ce2d175a85a720117922
Bug 2720: (follow-up) improve data entry form for manual restrictions

This follow-up to Bug 2720 makes some template changes which I think
make the interface a little more consistent and streamlined.

Instead of incorporating the manual entry form into the table it is
broken out and follows standard form structure. This lets the table be
hidden altogether if there are no existing restrictions.

The manual entry form is hidden by default and shown when you click a
link to add a manual restriction.

These changes have been applied to both the include file used for
circulation and patron detail and to the patron entry form template.

To test, add and remove manual restrictions from the circulation page,
the patron detail page, and the patron edit page. All operations should
work correctly.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
koha-tmpl/intranet-tmpl/prog/en/includes/borrower_debarments.inc
koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt