From 5d15615ff2aae4530f4c314defa3b402162db60f Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Thu, 7 Dec 2017 13:25:11 +0000 Subject: [PATCH] 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. --- koha-tmpl/intranet-tmpl/prog/en/modules/clubs/club-enrollments.tt | 1 + koha-tmpl/intranet-tmpl/prog/en/modules/clubs/clubs.tt | 2 +- koha-tmpl/intranet-tmpl/prog/js/tools-menu.js | 4 +++- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/club-enrollments.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/club-enrollments.tt index daf07d0..dfca97a 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/club-enrollments.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/club-enrollments.tt @@ -51,6 +51,7 @@ [% MACRO jsinclude BLOCK %] [% INCLUDE 'datatables.inc' %] +