projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rt 4.2.13 ticket#13852
[freeside.git]
/
rt
/
share
/
html
/
Admin
/
Users
/
MyRT.html
diff --git
a/rt/share/html/Admin/Users/MyRT.html
b/rt/share/html/Admin/Users/MyRT.html
index
0fcd63b
..
0bd2473
100644
(file)
--- a/
rt/share/html/Admin/Users/MyRT.html
+++ b/
rt/share/html/Admin/Users/MyRT.html
@@
-2,7
+2,7
@@
%#
%# COPYRIGHT:
%#
%#
%# COPYRIGHT:
%#
-%# This software is Copyright (c) 1996-201
2
Best Practical Solutions, LLC
+%# This software is Copyright (c) 1996-201
6
Best Practical Solutions, LLC
%# <sales@bestpractical.com>
%#
%# (Except where explicitly superseded by other copyright notices)
%# <sales@bestpractical.com>
%#
%# (Except where explicitly superseded by other copyright notices)
@@
-48,8
+48,6
@@
<& /Admin/Elements/Header, Title => $title &>
<& /Elements/Tabs &>
<& /Admin/Elements/Header, Title => $title &>
<& /Elements/Tabs &>
-<& /Widgets/SelectionBox:header, nojs => 1 &>
-
<& /Elements/ListActions, actions => \@actions &>
<form method="post" action="MyRT.html">
<& /Elements/ListActions, actions => \@actions &>
<form method="post" action="MyRT.html">
@@
-62,7
+60,7
@@
% for my $pane (@panes) {
<&|/Widgets/TitleBox, title => loc('RT at a glance').': '.loc($pane->{Name}), bodyclass => "" &>
% for my $pane (@panes) {
<&|/Widgets/TitleBox, title => loc('RT at a glance').': '.loc($pane->{Name}), bodyclass => "" &>
-<& /Widgets/SelectionBox:show, self => $pane
, nojs => 1
&></&>
+<& /Widgets/SelectionBox:show, self => $pane &></&>
<br />
% }
<br />
% }
@@
-83,7
+81,7
@@
my $portlets = $UserObj->Preferences('HomepageSettings', $default_portlets ? $d
my %allowed_components = map {$_ => 1} @{ RT->Config->Get('HomepageComponents') };
my @items;
my %allowed_components = map {$_ => 1} @{ RT->Config->Get('HomepageComponents') };
my @items;
-push @items, map {["component-$_",
$_
]} sort keys %allowed_components;
+push @items, map {["component-$_",
loc($_)
]} sort keys %allowed_components;
my $sys = RT::System->new( RT::CurrentUser->new($UserObj) );
my @objs = ($sys);
my $sys = RT::System->new( RT::CurrentUser->new($UserObj) );
my @objs = ($sys);
@@
-92,23
+90,24
@@
push @objs, RT::SavedSearch->new( RT::CurrentUser->new( $UserObj ) )->ObjectsFor
for my $object (@objs) {
for ($m->comp("/Search/Elements/SearchesForObject", Object => $object)) {
for my $object (@objs) {
for ($m->comp("/Search/Elements/SearchesForObject", Object => $object)) {
- my ($desc, $search) = @$_;
+ my ($desc, $
loc_desc, $
search) = @$_;
my $SearchType = $search->Content->{'SearchType'} || 'Ticket';
if ($object eq $sys && $SearchType eq 'Ticket') {
my $SearchType = $search->Content->{'SearchType'} || 'Ticket';
if ($object eq $sys && $SearchType eq 'Ticket') {
- push @items, ["system-$desc", $desc];
+ push @items, ["system-$desc", $
loc_
desc];
}
else {
my $oid = ref($object).'-'.$object->Id.'-SavedSearch-'.$search->Id;
my $type = ($SearchType eq 'Ticket')
}
else {
my $oid = ref($object).'-'.$object->Id.'-SavedSearch-'.$search->Id;
my $type = ($SearchType eq 'Ticket')
- ? 'Saved Search' : $SearchType; # loc
- push @items, ["saved-$oid", loc($type).": $desc"];
+ ? 'Saved Search' # loc
+ : $SearchType;
+ push @items, ["saved-$oid", loc($type).": $loc_desc"];
}
}
}
my @panes = $m->comp(
'/Admin/Elements/ConfigureMyRT',
}
}
}
my @panes = $m->comp(
'/Admin/Elements/ConfigureMyRT',
- panes => ['body', 's
ummary
'],
+ panes => ['body', 's
idebar
'],
Action => "MyRT.html?id=$id",
items => \@items,
current_portlets => $portlets,
Action => "MyRT.html?id=$id",
items => \@items,
current_portlets => $portlets,
@@
-119,7
+118,7
@@
my @panes = $m->comp(
}
);
}
);
-$m->comp( '/Widgets/SelectionBox:process', %ARGS, self => $_
, nojs => 1
)
+$m->comp( '/Widgets/SelectionBox:process', %ARGS, self => $_ )
for @panes;
</%init>
for @panes;
</%init>