[Rt-commit] rt branch, 4.6/custom-date-ranges-config-in-web-ui, updated. rt-4.4.4-725-g449fdee76a

Michel Rodriguez michel at bestpractical.com
Tue Feb 4 14:28:29 EST 2020


The branch, 4.6/custom-date-ranges-config-in-web-ui has been updated
       via  449fdee76a9d7184c3e59e69d735dc2b87f2190c (commit)
      from  cb661b4f789d4ba8e8f243423c5613c4fa0a7678 (commit)

Summary of changes:
 share/html/Admin/Tools/Configuration.html | 2 ++
 1 file changed, 2 insertions(+)

- Log -----------------------------------------------------------------
commit 449fdee76a9d7184c3e59e69d735dc2b87f2190c
Author: michel <michel at bestpractical.com>
Date:   Tue Feb 4 20:28:21 2020 +0100

    Hide Global Attribute display for Dual config options.

diff --git a/share/html/Admin/Tools/Configuration.html b/share/html/Admin/Tools/Configuration.html
index 5e91a01751..13842c280c 100644
--- a/share/html/Admin/Tools/Configuration.html
+++ b/share/html/Admin/Tools/Configuration.html
@@ -254,6 +254,8 @@ for my $type (qw/Tickets Queues Transactions Groups PrivilegedUsers Unprivileged
 % my $index_size = 0;
 % while ( my $attr = $attrs->Next ) {
 % next if $attr->Name eq 'UpgradeHistory';
+% my $meta = RT->Config->Meta( $attr->Name );
+% next if $meta && $meta->{Dual};
 <div class="<% $index_size%2 ? 'oddline' : 'evenline'%> form-row">
 % if ($attr->Name eq 'UserLogo') {
 %   my $content = $attr->Content;

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


More information about the rt-commit mailing list