[Rt-commit] rt branch 5.0/remove-rt-name-from-menu created. rt-5.0.4-7-g2942dbc701

BPS Git Server git at git.bestpractical.com
Mon May 15 14:09:04 UTC 2023


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "rt".

The branch, 5.0/remove-rt-name-from-menu has been created
        at  2942dbc70105255b1603deca2056c5f0533e9bad (commit)

- Log -----------------------------------------------------------------
commit 2942dbc70105255b1603deca2056c5f0533e9bad
Author: Ronaldo Richieri <ronaldo at bestpractical.com>
Date:   Mon May 15 10:55:04 2023 -0300

    Remove RT name info from the user menu
    
    "RT for ..." menu points to the root of the RT instance. This was causing
    the "About Me" menu to be active at the same time as the Home menu.

diff --git a/lib/RT/Interface/Web/MenuBuilder.pm b/lib/RT/Interface/Web/MenuBuilder.pm
index 696d21b9af..b0410d64f5 100644
--- a/lib/RT/Interface/Web/MenuBuilder.pm
+++ b/lib/RT/Interface/Web/MenuBuilder.pm
@@ -286,8 +286,6 @@ sub BuildMainNav {
         sort_order   => 99,
     );
 
-    $about_me->child( rt_name => title => loc("RT for [_1]", RT->Config->Get('rtname')), path => '/' );
-
     if ( $current_user->UserObj
          && $current_user->HasRight( Right => 'ModifySelf', Object => RT->System )) {
         my $settings = $about_me->child( settings => title => loc('Settings'), path => '/Prefs/Other.html' );

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


hooks/post-receive
-- 
rt


More information about the rt-commit mailing list