From 7516ff5e06429fd720f2b383c3aa701c6bc6e621 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Fri, 1 Mar 2024 08:08:08 +0000 Subject: [PATCH] Bug 36206: Add 'Run administration tool' to plugin actions This patch adds the new 'Run administration tool' option to the plugin actions dropdown menu for plugins with such a function. --- .../intranet-tmpl/prog/en/modules/plugins/plugins-home.tt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 2ab2d916b77..23704ccba0c 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 @@ -141,7 +141,7 @@ Maximum Koha version Last updated Status - [% IF ( CAN_user_plugins_configure || CAN_user_plugins_manage || CAN_user_plugins_report || CAN_user_plugins_tool ) %] + [% IF ( CAN_user_plugins_configure || CAN_user_plugins_manage || CAN_user_plugins_report || CAN_user_plugins_tool || CAN_user_plugins_admin ) %] Actions [% END %] @@ -211,6 +211,12 @@ [% END %] [% END %] + [% IF ( CAN_user_plugins_admin ) %] + [% IF plugin.can('tool') %] +
  • Run admin tool
  • + [% END %] + [% END %] + [% IF ( CAN_user_plugins_configure ) %] [% IF plugin.can('configure') %]
  • Configure
  • -- 2.44.0