]> 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)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 8 Oct 2018 08:51:44 +0000 (09:51 +0100)
commitee19e31ce05c927cff3505171eb9d7e68bfdd7bb
treeab4e46c75975b7f0e2fa23f62d9353437ce4859c
parenta3f097958cae68e4f3f16c8eb5aa5411d2488bc2
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>
(cherry picked from commit a37637e30357258885e9d0c1c7a30366869dcb08)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.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