Bug 19710: Move plugins templates javascript to the footer
authorOwen Leonard <oleonard@myacpl.org>
Tue, 28 Nov 2017 19:04:43 +0000 (19:04 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 11 Dec 2017 14:34:23 +0000 (11:34 -0300)
commit76d9c74ffaea455bdb8b1756b69ee2af1f40d090
treef400b47e3f987833ffeb33fb50aa5592bf512eca
parent44e7d5e84b2e4020011500ccf0f0f53f974af73d
Bug 19710: Move plugins templates javascript to the footer

This patch modifies the staff client plugins template so that
JavaScript is included in the footer instead of the header.

To test, apply the patch and test the JavaScript-driven features of
the modified template:

- The plugins link should be bold in the sidebar menu.
- Choosing "Uninstall" for an installed plugin should trigger a
  confirmation alert.

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/plugins/plugins-home.tt
koha-tmpl/intranet-tmpl/prog/js/tools-menu.js