Bug 27114: Use Template Toolkit plugin for Koha plugins hook 'intranet_catalog_biblio...
authorFridolin Somers <fridolin.somers@biblibre.com>
Mon, 30 Nov 2020 07:39:41 +0000 (08:39 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 22 Apr 2021 12:37:14 +0000 (14:37 +0200)
commitd0fecf3ff77da1344e915fe027a6fb11af475bb5
tree48afacb24965649b8ae710128973b9b49508ad83
parentadcc5d6273a82ae37251e8b861f43243273a52cd
Bug 27114: Use Template Toolkit plugin for Koha plugins hook 'intranet_catalog_biblio_tab'

Koha plugins hook 'intranet_catalog_biblio_tab' is for a template,
it will be better it uses Template Toolkit plugin like intranet_js, ...
It will allow using it in other places like MARC details page for example.

Test plan uses a plugin from git.biblibre.com because this hook is not
yet in KitchenSink.

Test plan :
1) Enable Koha plugins
2) Download and install the latest version of this plugin
https://git.biblibre.com/biblibre/koha-plugin-intranet-detail-hook
3) Browse to catalogue/detail.pl for a record
4) Note you see two new tabs with content

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Koha/Template/Plugin/KohaPlugins.pm
catalogue/detail.pl
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt