From 82189ad9c0746ff4cb2221b437cc96bc24d97cc1 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 Signed-off-by: Katrin Fischer --- .../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 6c7ff32233..4a4fcff46d 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 @@ -144,7 +144,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 %] @@ -214,6 +214,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.39.5