]> 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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Fri, 19 Oct 2018 07:54:42 +0000 (09:54 +0200)
commit3d3b3ed057994d8719c88dad5cde4d65ffd9288b
treef4ccf3fe60f0648525cbec484c1e69726fc3b0f8
parent997376f8f13cd91753013f23ad7d300d459ca042
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>
(cherry picked from commit ee19e31ce05c927cff3505171eb9d7e68bfdd7bb)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.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