~bestpractical/rt/master

« back to all changes in this revision

Viewing changes to lib/RT/Interface/Web/MenuBuilder.pm

  • Committer: sunnavy
  • Date: 2023-10-19 19:45:11 UTC
  • mfrom: (8471.1.577)
  • Revision ID: git-v1:9fca83d11d15fb8034308194b9c9052d5df7d454
Merge branch '5.0-trunk'

Show diffs side-by-side

added added

removed removed

Lines of Context:
271
271
        );
272
272
    }
273
273
 
 
274
    $tools->child( preview_searches =>
 
275
        title       => loc('Search Modules'),
 
276
        description => loc('Preview results of search modules'),
 
277
        path        => '/Tools/PreviewSearches.html',
 
278
    );
 
279
 
274
280
    if ( $current_user->HasRight( Right => 'ShowConfigTab', Object => RT->System ) )
275
281
    {
276
282
        _BuildAdminMenu( $request_path, $top, $widgets, $page, %args );
1565
1571
 
1566
1572
            $page->child( basics => title => loc('Basics') => path => "/Admin/Scrips/Modify.html?id=" . $id . $from_query_param );
1567
1573
            $page->child( 'applies-to' => title => loc('Applies to'), path => "/Admin/Scrips/Objects.html?id=" . $id . $from_query_param );
 
1574
            $page->child( 'logging' => title => loc('Log Output'), path => "/Admin/Scrips/Logging.html?id=" . $id . $from_query_param );
1568
1575
        }
1569
1576
        elsif ( $request_path =~ m{^/Admin/Scrips/(index\.html)?$} ) {
1570
1577
            HTML::Mason::Commands::PageMenu->child( select => title => loc('Select') => path => "/Admin/Scrips/" );