Bug 19627: (follow-up) Include tools-menu.js on required templates
authorOwen Leonard <oleonard@myacpl.org>
Thu, 7 Dec 2017 13:25:11 +0000 (13:25 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 14 Dec 2017 19:58:14 +0000 (16:58 -0300)
commit214cae8d3daf131e733b71453d56bec6f03f6162
treee33f2115aa70b4bc90b5a7e97b0cdec790c1f142
parenta52b0f596f5890c147992120edd6f0227073a571
Bug 19627: (follow-up) Include tools-menu.js on required templates

This follow-up adds tools-menu.js to the two patron clubs templates
which include the tools sidebar menu.

The patch also modifies tools-menu.js so that the correct sidebar link
is highlighted when editing or viewing club enrollments.

To test, apply the patch and view the patron clubs main page and the
patron clubs enrollments page. The sidebar menu should have the correct
link highlighted in both cases.

Signed-off-by: Claire Gravely <claire.gravely@bsz-bw.de>
Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/modules/clubs/club-enrollments.tt
koha-tmpl/intranet-tmpl/prog/en/modules/clubs/clubs.tt
koha-tmpl/intranet-tmpl/prog/js/tools-menu.js