X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Fshare%2Fhtml%2FPrefs%2FMyRT.html;h=55e5cc9d7b8d9dbe9a6619c3a92d50a7b1a020e1;hb=f3c4966ed1f6ec3db7accd6dcdd3a5a3821d72a7;hp=3bcea53f2274adf9bd26c13a4e81e6f14526a3a2;hpb=0fb307c305e4bc2c9c27dc25a3308beae3a4d33c;p=freeside.git diff --git a/rt/share/html/Prefs/MyRT.html b/rt/share/html/Prefs/MyRT.html index 3bcea53f2..55e5cc9d7 100644 --- a/rt/share/html/Prefs/MyRT.html +++ b/rt/share/html/Prefs/MyRT.html @@ -2,7 +2,7 @@ %# %# COPYRIGHT: %# -%# This software is Copyright (c) 1996-2011 Best Practical Solutions, LLC +%# This software is Copyright (c) 1996-2012 Best Practical Solutions, LLC %# %# %# (Except where explicitly superseded by other copyright notices) @@ -46,19 +46,12 @@ %# %# END BPS TAGGED BLOCK }}} <& /Elements/Header, Title => $title &> -<& /Prefs/Elements/Tabs, - current_tab => 'Prefs/MyRT.html', - Title => $title, - Searches => \@sys_searches +<& /Elements/Tabs &> <& /Elements/ListActions, actions => \@results &> <& /Widgets/SelectionBox:header, nojs => 1 &> -
- - -

@@ -78,6 +71,13 @@ +<&|/Widgets/TitleBox, title => loc("Reset RT at a glance") &> +
+ + +
+ + <%INIT> my @results; @@ -115,7 +115,7 @@ my @items = map ["component-$_", $_], grep !$seen{$_}++, @{RT->Config->Get('Home my $sys = RT::System->new($session{'CurrentUser'}); my @objs = ($sys); -push @objs, RT::SavedSearches->new( $session{CurrentUser} )->_PrivacyObjects +push @objs, RT::SavedSearch->new( $session{CurrentUser} )->ObjectsForLoading if $session{'CurrentUser'}->HasRight( Right => 'LoadSavedSearch', Object => $RT::System );