[Rt-commit] r18168 - in rt/3.999/branches/merge_to_3.8.2: . share/html/Dashboards share/html/Dashboards/Elements

sunnavy at bestpractical.com sunnavy at bestpractical.com
Wed Feb 4 02:53:37 EST 2009


Author: sunnavy
Date: Wed Feb  4 02:53:37 2009
New Revision: 18168

Modified:
   rt/3.999/branches/merge_to_3.8.2/   (props changed)
   rt/3.999/branches/merge_to_3.8.2/share/html/Dashboards/Elements/HiddenSearches
   rt/3.999/branches/merge_to_3.8.2/share/html/Dashboards/Elements/ShowPortlet/search
   rt/3.999/branches/merge_to_3.8.2/share/html/Dashboards/Elements/ShowSubscription
   rt/3.999/branches/merge_to_3.8.2/share/html/Dashboards/Queries.html
   rt/3.999/branches/merge_to_3.8.2/share/html/Dashboards/Subscription.html

Log:
 r19500 at sunnavys-mb:  sunnavy | 2009-02-04 15:07:27 +0800
 more case fixes for share/html/Dashboards 


Modified: rt/3.999/branches/merge_to_3.8.2/share/html/Dashboards/Elements/HiddenSearches
==============================================================================
--- rt/3.999/branches/merge_to_3.8.2/share/html/Dashboards/Elements/HiddenSearches	(original)
+++ rt/3.999/branches/merge_to_3.8.2/share/html/Dashboards/Elements/HiddenSearches	Wed Feb  4 02:53:37 2009
@@ -56,7 +56,7 @@
     if ($search->name eq 'SavedSearch') {
         push @display, $search->description;
     }
-    elsif ($search->Name =~ m/^Search - (.*)/) {
+    elsif ($search->name =~ m/^Search - (.*)/) {
         push @display, $1;
     }
     else {

Modified: rt/3.999/branches/merge_to_3.8.2/share/html/Dashboards/Elements/ShowPortlet/search
==============================================================================
--- rt/3.999/branches/merge_to_3.8.2/share/html/Dashboards/Elements/ShowPortlet/search	(original)
+++ rt/3.999/branches/merge_to_3.8.2/share/html/Dashboards/Elements/ShowPortlet/search	Wed Feb  4 02:53:37 2009
@@ -52,7 +52,7 @@
 $preview => 0
 </%args>
 <%init>
-my @for_showsearch = $Dashboard->show_search_name($portlet);
+my @for_showsearch = $dashboard->show_search_name($portlet);
 </%init>
 
 <& /Elements/ShowSearch,

Modified: rt/3.999/branches/merge_to_3.8.2/share/html/Dashboards/Elements/ShowSubscription
==============================================================================
--- rt/3.999/branches/merge_to_3.8.2/share/html/Dashboards/Elements/ShowSubscription	(original)
+++ rt/3.999/branches/merge_to_3.8.2/share/html/Dashboards/Elements/ShowSubscription	Wed Feb  4 02:53:37 2009
@@ -58,15 +58,15 @@
 my $frequency = _("None");
 
 if (defined $subscription) {
-    my $freq = $subscription->sub_value('Frequency');
-    my $hour = $subscription->sub_value('Hour');
+    my $freq = $subscription->sub_value('frequency');
+    my $hour = $subscription->sub_value('hour');
 
     if ($freq eq 'weekly') {
-        my $day = $Subscription->sub_value('Dow');
+        my $day = $subscription->sub_value('dow');
         $frequency = _("weekly (on %1) at %2", _($day), $hour);
     }
     elsif ($freq eq 'monthly') {
-        $frequency = _("monthly (day %1) at %2", $Subscription->sub_value('Dom'), $hour);
+        $frequency = _("monthly (day %1) at %2", $subscription->sub_value('dom'), $hour);
     } 
     elsif ($freq eq 'daily') {
         $frequency = _("daily at %1", $hour);

Modified: rt/3.999/branches/merge_to_3.8.2/share/html/Dashboards/Queries.html
==============================================================================
--- rt/3.999/branches/merge_to_3.8.2/share/html/Dashboards/Queries.html	(original)
+++ rt/3.999/branches/merge_to_3.8.2/share/html/Dashboards/Queries.html	Wed Feb  4 02:53:37 2009
@@ -54,7 +54,7 @@
 <& /Elements/ListActions, actions => \@results &>
 
 % if (@hidden_searches) {
-<& Elements/HiddenSearches, searches => \@hidden_searches, Dashboard => $Dashboard &>
+<& Elements/HiddenSearches, searches => \@hidden_searches, dashboard => $Dashboard &>
 % }
 
 <table width="100%" border="0">
@@ -63,7 +63,7 @@
 <form action="Queries.html" name="Dashboard-<%$pane->{name}%>" method="post" enctype="multipart/form-data">
 <input type="hidden" class="hidden" name="id" value="<%$Dashboard->id%>" />
 <input type="hidden" class="hidden" name="privacy" value="<%$Dashboard->privacy%>" />
-<&| /Widgets/TitleBox, title => $pane->{DisplayName} &>
+<&| /Widgets/TitleBox, title => $pane->{display_name} &>
     <& /Widgets/SelectionBox:show, self => $pane, nojs => 1 &>
 </&>
 </form>

Modified: rt/3.999/branches/merge_to_3.8.2/share/html/Dashboards/Subscription.html
==============================================================================
--- rt/3.999/branches/merge_to_3.8.2/share/html/Dashboards/Subscription.html	(original)
+++ rt/3.999/branches/merge_to_3.8.2/share/html/Dashboards/Subscription.html	Wed Feb  4 02:53:37 2009
@@ -71,14 +71,14 @@
 <tr><td class="label">
 <&|/l&>Queries</&>:
 </td><td class="value">
-% my @portlets = grep { defined } $dashboard_obj->Portlets;
+% my @portlets = grep { defined } $dashboard_obj->portlets;
 % if (!@portlets) {
 (<&|/l&>none</&>)
 % } else {
 <ol class="dashboard-queries">
 %    for my $portlet (@portlets) {
         <li class="dashboard-query">
-            <% _($portlet->{description}, $fields{'Rows'}) %>
+            <% _($portlet->{description}, $fields{'rows'}) %>
         </li>
 %    }
 </ol>


More information about the Rt-commit mailing list