From 4aa0abf4be7aad553b965447fc738b1af1f1b902 Mon Sep 17 00:00:00 2001 From: Agustin Moyano Date: Wed, 26 Jun 2019 16:15:43 -0300 Subject: [PATCH] Bug 23222: Update plugins-home.tt with new ENABLE/DISABLE flag name MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit At some point of history, the flag to indicate if a plugin was enabled/disabled was called "enabled", now it's called "is_enabled" To test: 1) get a fresh master copy 2) Enable plugins 3) Install any plugin CHECK => plugin appears as disabled => If you try to enable it, it just appears as disabled just the same 4) Apply this patch 5) Reload page SUCCESS => plugin appears as enabled => enable / disable action works again 6) Sign off Signed-off-by: Frédéric Demians Signed-off-by: Tomas Cohen Arazi --- .../intranet-tmpl/prog/en/modules/plugins/plugins-home.tt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 786290bb64..5d598c525e 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 @@ -79,7 +79,7 @@ [% plugin.metadata.name | html %] - [% IF ( plugin.enabled ) %] + [% IF ( plugin.is_enabled ) %] ENABLED [% ELSE %] DISABLED @@ -131,7 +131,7 @@ [% END %] [% IF ( CAN_user_plugins_manage ) %]
  • Uninstall
  • - [% IF ( plugin.enabled ) %] + [% IF ( plugin.is_enabled ) %]
  • Disable
  • [% ELSE %]
  • Enable
  • -- 2.22.0