]> git.koha-community.org Git - koha.git/commit
Bug 22053: ability to enable/disable some plugins
authorAlex Arnaud <alex.arnaud@biblibre.com>
Fri, 28 Dec 2018 16:50:14 +0000 (17:50 +0100)
committerNick Clemens <nick@bywatersolutions.com>
Thu, 9 May 2019 18:54:44 +0000 (18:54 +0000)
commit7394028b27a36b55fd85285a87c8d2f00649e6e9
tree4c45432afa0d0e64df6452ac0c28e0702052ae32
parent0a262a214f2c2ff6e836d7283cae413ee354cdce
Bug 22053: ability to enable/disable some plugins

Test plan:

  - apply this patch(es),
  - launch an updatedabase,
  - go to plugins/plugins-home.pl
    and deal with enable/disable method
  - install a plugin like KitchenSink
    https://github.com/bywatersolutions/koha-plugin-kitchen-sink
  - once installed, the plugin change the background color
    of the staff client to orange.
  - disable the plugin,
  - background color should be set back to the original one

Rebased-on: 2019-03-25 Alex Arnaud <alex.arnaud@biblibre.com>

Signed-off-by: Claire Gravely <claire.gravely@bsz-bw.de>
Signed-off-by: Agustin Moyano <agustinmoyano@theke.io>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Koha/Plugins.pm
Koha/Plugins/Base.pm
koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss
koha-tmpl/intranet-tmpl/prog/en/modules/plugins/plugins-home.tt
plugins/plugins-enable.pl [new file with mode: 0755]
plugins/plugins-home.pl