From adad38a0edb9c21d0ec51aefa9f2c5b394c81a4f 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. Signed-off-by: Lucas Gass Signed-off-by: Kyle M Hall --- .../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 cc02e5b2499..b5df7f7599a 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('admin') %] +
  • Run admin tool
  • + [% END %] + [% END %] + [% IF ( CAN_user_plugins_configure ) %] [% IF plugin.can('configure') %]
  • Configure
  • -- 2.30.2