From e102daaf310de6a64389e33f7c7fd473752c5e33 Mon Sep 17 00:00:00 2001 From: Fridolin Somers Date: Fri, 24 Mar 2023 15:19:06 -1000 Subject: [PATCH] Bug 33336: Use a dedicated column for plugin status in plugins table In plugins table plugins/plugins-home.pl the status enable/disable is with the name, styled as a label. With new interface ENABLED is yellow, this looks weird. Also I bet this is bad for accessibility. I propose to move this info to a dedicated column. I use bootstrap classes bg-success and bg-warning like in about.pl Test plan: 1) Install some plugins 2) Go to Administration > Manage plugins 3) Check you see table with column status 4) Disable a plugin 5) Check you see 'Disabled' in status Signed-off-by: Laura Escamilla Signed-off-by: Katrin Fischer Signed-off-by: Tomas Cohen Arazi --- .../prog/en/modules/plugins/plugins-home.tt | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 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 0ee44d36b8..9aa516a0d9 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 @@ -122,6 +122,7 @@ Minimum Koha version Maximum Koha version Last updated + Status [% IF ( CAN_user_plugins_configure || CAN_user_plugins_manage || CAN_user_plugins_report || CAN_user_plugins_tool ) %] Actions [% END %] @@ -145,11 +146,6 @@ [% plugin.metadata.name | html %] - [% IF ( plugin.is_enabled ) %] - ENABLED - [% ELSE %] - DISABLED - [% END %] [% plugin.metadata.description | html %] @@ -171,6 +167,13 @@ [% plugin.metadata.minimum_version | html %] [% plugin.metadata.maximum_version | html %] [% plugin.metadata.date_updated | $KohaDates %] + + [% IF ( plugin.is_enabled ) %] + Enabled + [% ELSE %] + Disabled + [% END %] + [% IF ( CAN_user_plugins_configure || CAN_user_plugins_manage || CAN_user_plugins_report || CAN_user_plugins_tool ) %]
-- 2.39.5