From 761fe583df3dec5532c1e848f2ed967873180399 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..36e1364ae68 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.44.0