]> git.koha-community.org Git - koha.git/commit
Bug 21352: Allow plugins to add CSS and Javascript to Staff interface
authorKyle M Hall <kyle@bywatersolutiosn.com>
Sat, 15 Sep 2018 16:48:49 +0000 (09:48 -0700)
committerNick Clemens <nick@bywatersolutions.com>
Wed, 3 Oct 2018 17:45:57 +0000 (17:45 +0000)
commita37637e30357258885e9d0c1c7a30366869dcb08
tree6f66e22831e6e61e5a44970e91150b5b61b2711d
parentd74a05d4fe81a599c030024f7944d2bdcca43d12
Bug 21352: Allow plugins to add CSS and Javascript to Staff interface

We should have plugin hooks for the staff interface just like we have for the OPAC as detailed on bug 20181.

Test Plan:
1) Apply this patch
2) Download and install the Kitchen Sink plugin ( v2.1.19 or later )
   https://github.com/bywatersolutions/koha-plugin-kitchen-sink/releases/download/v2.1.19/koha-plugin-kitchen-sink-v2.1.19.kpz
3) Install the plugin
4) Restart all the things if you can ( restart_all if you are using kohadevbox )
   This will ensure the plugin takes effect right away, it should be
   necessary but it won't hurt anything!
5) Load the staff intranet, notice you get an console error log message and the background
   for your staff intranet is now orange ( assuming you've not customized the
   staff intranet in any way )

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Koha/Template/Plugin/KohaPlugins.pm
koha-tmpl/intranet-tmpl/prog/en/includes/doc-head-close.inc
koha-tmpl/intranet-tmpl/prog/en/includes/intranet-bottom.inc
t/db_dependent/Koha/Template/Plugin/KohaPlugins.t
t/db_dependent/Plugins.t
t/lib/Koha/Plugin/Test.pm