[Rt-commit] r19241 - in rt/3.8/trunk: . share/html/Dashboards
sartak at bestpractical.com
sartak at bestpractical.com
Thu Apr 16 20:02:21 EDT 2009
Author: sartak
Date: Thu Apr 16 20:02:18 2009
New Revision: 19241
Modified:
rt/3.8/trunk/ (props changed)
rt/3.8/trunk/lib/RT/Dashboard.pm
rt/3.8/trunk/share/html/Dashboards/Queries.html
rt/3.8/trunk/share/html/Dashboards/Render.html
Log:
r82233 at onn: sartak | 2009-04-16 20:02:07 -0400
Minor cleanup
Modified: rt/3.8/trunk/lib/RT/Dashboard.pm
==============================================================================
--- rt/3.8/trunk/lib/RT/Dashboard.pm (original)
+++ rt/3.8/trunk/lib/RT/Dashboard.pm Thu Apr 16 20:02:18 2009
@@ -58,7 +58,7 @@
Dashboard is an object that can belong to either an RT::User or an
RT::Group. It consists of an ID, a name, and a number of
- saved searches.
+ saved searches and portlets.
=head1 METHODS
Modified: rt/3.8/trunk/share/html/Dashboards/Queries.html
==============================================================================
--- rt/3.8/trunk/share/html/Dashboards/Queries.html (original)
+++ rt/3.8/trunk/share/html/Dashboards/Queries.html Thu Apr 16 20:02:18 2009
@@ -98,7 +98,7 @@
if ($portlet->{portlet_type} eq 'search') {
$name = join '-', 'search', $portlet->{id}, $portlet->{privacy};
}
- else {
+ elsif ($portlet->{portlet_type} eq 'component') {
$name = join '-', 'component', $portlet->{component};
}
Modified: rt/3.8/trunk/share/html/Dashboards/Render.html
==============================================================================
--- rt/3.8/trunk/share/html/Dashboards/Render.html (original)
+++ rt/3.8/trunk/share/html/Dashboards/Render.html Thu Apr 16 20:02:18 2009
@@ -102,8 +102,8 @@
my $show_cb = sub {
my $portlet = shift;
my $portlet_type = $portlet->{portlet_type};
- my $component = "Elements/ShowPortlet/$portlet_type";
- $m->comp($component,
+ my $comp = "Elements/ShowPortlet/$portlet_type";
+ $m->comp($comp,
Portlet => $portlet,
Rows => $rows,
Preview => $Preview,
More information about the Rt-commit
mailing list