[Rt-commit] rt branch, 4.2/config-page-extensions, created. rt-4.2.13-53-gfd10c24
Dustin Collins
strega at bestpractical.com
Fri Aug 26 18:49:57 EDT 2016
The branch, 4.2/config-page-extensions has been created
at fd10c24838c55d5ae237feddc1f6ac2854895d48 (commit)
- Log -----------------------------------------------------------------
commit fd10c24838c55d5ae237feddc1f6ac2854895d48
Author: Dustin Collins <strega at MacBook-2015.local>
Date: Fri Aug 26 18:48:34 2016 -0400
Added loaded RT Extension names and version numbers to admin config page
Fixes: I#31482
diff --git a/share/html/Admin/Tools/Configuration.html b/share/html/Admin/Tools/Configuration.html
index 4535827..315ffa5 100644
--- a/share/html/Admin/Tools/Configuration.html
+++ b/share/html/Admin/Tools/Configuration.html
@@ -241,6 +241,23 @@ for my $type (qw/Tickets Queues Transactions Groups PrivilegedUsers Unprivileged
</table>
</&>
+
+<&|/Widgets/TitleBox, title => loc("Loaded RT Extensions")&>
+<table border="0" cellspacing="0" cellpadding="5" width="100%" class="collection">
+<tr class="collection-as-table">
+<th class="collection-as-table"><&|/l&>Extension</&></th>
+<th class="collection-as-table"><&|/l&>Version</&></th>
+% my $row = 0;
+% foreach my $pluginName (grep $_, RT->Config->Get('Plugins')) {
+% my $plugin = RT::Plugin->new( name => $pluginName );
+<tr class="<% $row++ %2 ? 'oddline' : 'evenline'%>">
+<td class="collection-as-table"><%$plugin->Name()%></td>
+<td class="collection-as-table"><%$pluginName->VERSION%></td>
+</tr>
+% }
+</table>
+</&>
+
<&|/Widgets/TitleBox, title => loc("Loaded perl modules")&>
<table border="0" cellspacing="0" cellpadding="5" width="100%" class="collection">
<tr class="collection-as-table">
-----------------------------------------------------------------------
More information about the rt-commit
mailing list