[Rt-commit] r12093 - in rt/branches/3.8-TESTING: html/Dashboards

sartak at bestpractical.com sartak at bestpractical.com
Tue May 6 06:39:02 EDT 2008


Author: sartak
Date: Tue May  6 06:38:59 2008
New Revision: 12093

Modified:
   rt/branches/3.8-TESTING/   (props changed)
   rt/branches/3.8-TESTING/html/Dashboards/Queries.html
   rt/branches/3.8-TESTING/html/Dashboards/Subscription.html

Log:
 r55083 at onn:  sartak | 2008-05-05 21:44:10 -0400
 Minor fixes and cleanups


Modified: rt/branches/3.8-TESTING/html/Dashboards/Queries.html
==============================================================================
--- rt/branches/3.8-TESTING/html/Dashboards/Queries.html	(original)
+++ rt/branches/3.8-TESTING/html/Dashboards/Queries.html	Tue May  6 06:38:59 2008
@@ -83,7 +83,7 @@
 
 use RT::Dashboard;
 my $Dashboard = new RT::Dashboard($session{'CurrentUser'});
-my ($ok) = $Dashboard->LoadById($id)
+my ($ok) = $Dashboard->LoadById($id);
 $ok || Abort("Couldn't load dashboard.");
 my $title = loc("Modify the queries of dashboard [_1]", $Dashboard->Name);
 
@@ -159,7 +159,6 @@
 
 </%INIT>
 <%ARGS>
-$Privacy
 $id => '' unless defined $id
 </%ARGS>
 

Modified: rt/branches/3.8-TESTING/html/Dashboards/Subscription.html
==============================================================================
--- rt/branches/3.8-TESTING/html/Dashboards/Subscription.html	(original)
+++ rt/branches/3.8-TESTING/html/Dashboards/Subscription.html	Tue May  6 06:38:59 2008
@@ -78,7 +78,6 @@
 % } else {
 <ol>
 %    for my $query (@searches) {
-%       my $priv = $query->Privacy;
 %       my $name;
 %       if ($query->{Attribute}->Name =~ /^Search - (.*)$/) {
 %           $name = $1;
@@ -190,13 +189,13 @@
             Name => 'Subscription',
             Description => 'Subscription to dashboard ' . $DashboardId,
             Content => {
-                DashboardId  => $DashboardId,
-                Privacy   => $Privacy,
-                Frequency => 'daily',
-                Hour      => '06:00',
-                Dow       => 'Monday',
-                Dom       => 1,
-                Rows      => 20,
+                DashboardId => $DashboardId,
+                Privacy     => $ARGS{'Privacy'},
+                Frequency   => 'daily',
+                Hour        => '06:00',
+                Dow         => 'Monday',
+                Dom         => 1,
+                Rows        => 20,
             },
             ContentType => 'storable',
             Object      => $session{'CurrentUser'}->UserObj,
@@ -252,6 +251,5 @@
 $Dom         => undef
 $Rows        => undef
 $Unsubscribe => undef
-$Privacy
 </%ARGS>
 


More information about the Rt-commit mailing list