From a4e9075a2da9c6bfd029e394a90861f6de1e8774 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Wed, 22 Jul 2020 09:10:29 +0100 Subject: [PATCH] Bug 25672: (QA follow-up) Hide install after search button If plugin upload is disabled, but there are git repositories listed in the config for plugin searching, then you can search for a plugin and attempt to install it. The install leads to an error page. This patch removes the actions column and install button should the enable_browser_upload option be disabled Signed-off-by: Martin Renvoize Signed-off-by: Kyle M Hall Signed-off-by: David Cook Signed-off-by: Kyle M Hall --- .../intranet-tmpl/prog/en/modules/plugins/plugins-home.tt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/plugins/plugins-home.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/plugins/plugins-home.tt index 98f71298a32..aefd39d1e27 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/plugins/plugins-home.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/plugins/plugins-home.tt @@ -90,7 +90,9 @@ Description Organization Latest version + [% IF ( enable_browser_upload ) %]   + [% END %] @@ -100,7 +102,9 @@ [% sr.result.description | html %] [% sr.repo.name | html %] [% sr.result.tag_name | html %] + [% IF ( enable_browser_upload ) %] Install + [% END %] [% END %] -- 2.30.2