[Rt-commit] rtir branch, 5.0/move-rtir-top-menu-item, created. 4.0.1rc1-217-g323cf0ae

Jim Brandt jbrandt at bestpractical.com
Fri Jun 12 17:38:50 EDT 2020


The branch, 5.0/move-rtir-top-menu-item has been created
        at  323cf0ae125e9f6d91b8ef3dcd489b6f470a3d8c (commit)

- Log -----------------------------------------------------------------
commit 323cf0ae125e9f6d91b8ef3dcd489b6f470a3d8c
Author: Jim Brandt <jbrandt at bestpractical.com>
Date:   Fri Jun 12 17:31:43 2020 -0400

    Move the RTIR menu directly next to the RT Home menu
    
    For RT deployments with RTIR installed, the RTIR elements are
    a primary part of the system. Moving the default menu directly
    after Home reflects the primary nature of the RTIR tools in these
    RTs, rather than defaulting to the far right side after all other
    menus.

diff --git a/docs/UPGRADING-5.0 b/docs/UPGRADING-5.0
index 532ab8c7..ce817774 100644
--- a/docs/UPGRADING-5.0
+++ b/docs/UPGRADING-5.0
@@ -12,11 +12,14 @@ details for previous versions.
 
 In RTIR 4.0, we modified the menu display to move each queue to a
 top level menu item when working inside RTIR. Each menu ended up
-having just a "Create" entry and we haven't found new menu items
+having only a single "Create" entry and we haven't found new menu items
 to add for each queue. This change made it harder to access the
 default RT menus, so we have reverted to the previous configuration
 with a single RTIR menu item containing relevant links.
 
+To make it easier to access the RTIR menu, we have also moved it
+to the left, directly after the default RT Home menu.
+
 =item *
 
 To align with RT's create pages we removed the modal to select queue
diff --git a/html/Callbacks/RTIR/Elements/Tabs/Privileged b/html/Callbacks/RTIR/Elements/Tabs/Privileged
index 88fda05c..da8cb976 100644
--- a/html/Callbacks/RTIR/Elements/Tabs/Privileged
+++ b/html/Callbacks/RTIR/Elements/Tabs/Privileged
@@ -119,7 +119,7 @@ if ( $m->request_comp->path =~ m{^/Search/} ) {
     }
 }
 
-my $root = Menu->child( rtir => title => loc('RTIR'), path => '/RTIR/' );
+my $root = Menu->child( rtir => title => loc('RTIR'), path => '/RTIR/', sort_order => '1.5' );
 
 my $search = $root->child( search => title => loc('Search'), path => RT::IR->HREFTo('', IncludeWebPath => 0) );
 $search->child( new => title => loc('New Search'), path => '/Search/Build.html?NewQuery=1&ExtraQueryParams=RTIR&RTIR=1' );

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


More information about the rt-commit mailing list