[Rt-commit] rt branch, rt-at-a-glance-renames, created. rt-3.9.7-890-g307a478
Shawn Moore
sartak at bestpractical.com
Wed Dec 15 23:24:08 EST 2010
The branch, rt-at-a-glance-renames has been created
at 307a4783273b75bbe3d355a423a90be8bb1788ab (commit)
- Log -----------------------------------------------------------------
commit 95eba72f5efe98a9b9fbb68d60a0b00e58a53569
Author: Shawn M Moore <sartak at bestpractical.com>
Date: Wed Dec 15 23:17:54 2010 -0500
Begin renaming summary to sidebar
diff --git a/share/html/Admin/Global/MyRT.html b/share/html/Admin/Global/MyRT.html
index 2f67984..9601d72 100644
--- a/share/html/Admin/Global/MyRT.html
+++ b/share/html/Admin/Global/MyRT.html
@@ -86,7 +86,7 @@ my @panes = $m->comp(
'/Admin/Elements/ConfigureMyRT',
panes => [
'body', #loc
- 'summary', #loc
+ 'sidebar', #loc
],
Action => 'MyRT.html',
items => \@items,
diff --git a/share/html/Elements/MyRT b/share/html/Elements/MyRT
index 1fa4443..e03c077 100644
--- a/share/html/Elements/MyRT
+++ b/share/html/Elements/MyRT
@@ -53,9 +53,9 @@
% $show_cb->($_) foreach @$body;
</td>
-% if ( $summary ) {
+% if ( $sidebar ) {
<td class="boxcontainer">
-% $show_cb->($_) foreach @$summary;
+% $show_cb->($_) foreach @$sidebar;
</td>
% }
@@ -75,12 +75,12 @@ unless ( $Portlets ) {
);
}
-my ($body, $summary) = @{$Portlets}{qw(body summary)};
+my ($body, $sidebar) = @{$Portlets}{qw(body sidebar)};
unless( $body && @$body ) {
- $body = $summary || [];
- $summary = undef;
+ $body = $sidebar || [];
+ $sidebar = undef;
}
-$summary = undef unless $summary && @$summary;
+$sidebar = undef unless $sidebar && @$sidebar;
my $Rows = $user->Preferences( 'SummaryRows', ( RT->Config->Get('DefaultSummaryRows') || 10 ) );
diff --git a/share/html/Prefs/MyRT.html b/share/html/Prefs/MyRT.html
index 42bc1ea..b0a4d14 100644
--- a/share/html/Prefs/MyRT.html
+++ b/share/html/Prefs/MyRT.html
@@ -148,7 +148,7 @@ for my $object (@objs) {
my @panes = $m->comp(
'/Admin/Elements/ConfigureMyRT',
- panes => ['body', 'summary'],
+ panes => ['body', 'sidebar'],
Action => 'MyRT.html',
items => \@items,
current_portlets => $portlets,
commit c35ae7729a7b82c6d9345a3662398c990524f70f
Author: Shawn M Moore <sartak at bestpractical.com>
Date: Wed Dec 15 23:23:28 2010 -0500
Rename summary to sidebar in initialdata
diff --git a/etc/initialdata b/etc/initialdata
index 82e0fb0..803f95e 100755
--- a/etc/initialdata
+++ b/etc/initialdata
@@ -591,7 +591,7 @@ Hour: { $SubscriptionObj->SubValue('Hour') }
{ type => 'system', name => 'Bookmarked Tickets' },
{ type => 'component', name => 'QuickCreate' },
],
- 'summary' => # loc
+ 'sidebar' => # loc
[
{ type => 'component', name => 'MyReminders' },
{ type => 'component', name => 'Quicksearch' },
commit 307a4783273b75bbe3d355a423a90be8bb1788ab
Author: Shawn M Moore <sartak at bestpractical.com>
Date: Wed Dec 15 23:23:45 2010 -0500
Fix sidebar in admin UI for other users
diff --git a/share/html/Admin/Users/MyRT.html b/share/html/Admin/Users/MyRT.html
index b0d065a..adbb12a 100644
--- a/share/html/Admin/Users/MyRT.html
+++ b/share/html/Admin/Users/MyRT.html
@@ -108,7 +108,7 @@ for my $object (@objs) {
my @panes = $m->comp(
'/Admin/Elements/ConfigureMyRT',
- panes => ['body', 'summary'],
+ panes => ['body', 'sidebar'],
Action => "MyRT.html?id=$id",
items => \@items,
current_portlets => $portlets,
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list