Bugzilla – Attachment 163272 Details for
Bug 36206
Administrative plugins
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 36206: Add 'Run administration tool' to plugin actions
Bug-36206-Add-Run-administration-tool-to-plugin-ac.patch (text/plain), 2.70 KB, created by
Kyle M Hall (khall)
on 2024-03-15 18:20:09 UTC
(
hide
)
Description:
Bug 36206: Add 'Run administration tool' to plugin actions
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2024-03-15 18:20:09 UTC
Size:
2.70 KB
patch
obsolete
>From adad38a0edb9c21d0ec51aefa9f2c5b394c81a4f Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >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 <lucas@bywatersolutions.com> > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > .../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 @@ > <th>Maximum Koha version</th> > <th>Last updated</th> > <th>Status</th> >- [% 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 ) %] > <th class="noExport NoSort">Actions</th> > [% END %] > </tr> >@@ -211,6 +211,12 @@ > [% END %] > [% END %] > >+ [% IF ( CAN_user_plugins_admin ) %] >+ [% IF plugin.can('admin') %] >+ <li><a href="/cgi-bin/koha/plugins/run.pl?class=[% plugin.class | uri %]&method=admin"><i class="fa fa-wrench fa-fw"></i> Run admin tool</a></li> >+ [% END %] >+ [% END %] >+ > [% IF ( CAN_user_plugins_configure ) %] > [% IF plugin.can('configure') %] > <li><a href="/cgi-bin/koha/plugins/run.pl?class=[% plugin.class | uri %]&method=configure"><i class="fa fa-cog fa-fw"></i> Configure</a></li> >-- >2.30.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 36206
:
162615
|
162639
|
162640
|
162641
|
162779
|
162780
|
162781
|
162782
|
162783
|
163270
|
163271
| 163272 |
163273
|
163274
|
165533
|
165534
|
165695