@@ -, +, @@
---
koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss | 3 +--
.../intranet-tmpl/prog/en/modules/tools/tools-home.tt | 15 +++++++++++++--
tools/tools-home.pl | 7 +++++++
3 files changed, 21 insertions(+), 4 deletions(-)
--- a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss
+++ a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss
@@ -1336,8 +1336,7 @@ dt {
dd {
font-size: 90%;
font-weight: normal;
- padding: .2em;
- text-indent: 2.5em;
+ padding: .2em .2em .2em 2.5em;
}
#toolbar,
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/tools-home.tt
+++ a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/tools-home.tt
@@ -120,9 +120,20 @@
Quote editor for Quote-of-the-day feature in OPAC
[% END %]
- [% IF ( Koha.ArePluginsEnabled() && CAN_user_plugins_tool ) %]
+ [% IF ( Koha.ArePluginsEnabled() && CAN_user_plugins_tool && tool_plugins ) %]
Tool plugins
- Use tool plugins
+
+ Use tool plugins
+
+
[% END %]
[% IF ( CAN_user_tools_upload_general_files ) %]
--- a/tools/tools-home.pl
+++ a/tools/tools-home.pl
@@ -42,4 +42,11 @@ $template->param(
pendingtags => $pendingtags
);
+if ( C4::Context->config('enable_plugins') ) {
+ my @tool_plugins = Koha::Plugins->new()->GetPlugins({
+ method => 'tool',
+ });
+ $template->param( tool_plugins => \@tool_plugins );
+}
+
output_html_with_http_headers $query, $cookie, $template->output;
--