[Rt-commit] rt branch, 4.4/modify-system-attributes-callback, created. rt-4.4.4-144-g52bf8213a2

? sunnavy sunnavy at bestpractical.com
Thu Oct 8 18:09:49 EDT 2020


The branch, 4.4/modify-system-attributes-callback has been created
        at  52bf8213a26aae7d74f4d2fc260cc37e06de145d (commit)

- Log -----------------------------------------------------------------
commit 52bf8213a26aae7d74f4d2fc260cc37e06de145d
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Fri Oct 9 05:50:10 2020 +0800

    Add ModifySystemAttributes callback to system configuration page
    
    This is initially to hide system attributes with huge content from page.

diff --git a/share/html/Admin/Tools/Configuration.html b/share/html/Admin/Tools/Configuration.html
index 1c63b50068..95a60d3c9d 100644
--- a/share/html/Admin/Tools/Configuration.html
+++ b/share/html/Admin/Tools/Configuration.html
@@ -223,6 +223,7 @@ for my $type (qw/Tickets Queues Transactions Groups PrivilegedUsers Unprivileged
 <th class="collection-as-table"><&|/l&>Value</&></th>
 </tr>
 % my $attrs = $RT::System->Attributes;
+% $m->callback( CallbackName => 'ModifySystemAttributes', Attributes => $attrs );
 % my $index_size = 0;
 % while ( my $attr = $attrs->Next ) {
 % next if $attr->Name eq 'UpgradeHistory';

-----------------------------------------------------------------------


More information about the rt-commit mailing list