[Rt-commit] r19262 - in rt/3.8/trunk: . share/html/Dashboards/Elements

sartak at bestpractical.com sartak at bestpractical.com
Thu Apr 16 21:45:46 EDT 2009


Author: sartak
Date: Thu Apr 16 21:45:46 2009
New Revision: 19262

Modified:
   rt/3.8/trunk/   (props changed)
   rt/3.8/trunk/share/html/Dashboards/Elements/Deleted
   rt/3.8/trunk/share/html/Dashboards/Queries.html

Log:
 r82275 at onn:  sartak | 2009-04-16 21:45:39 -0400
 Display description instead of name where able


Modified: rt/3.8/trunk/share/html/Dashboards/Elements/Deleted
==============================================================================
--- rt/3.8/trunk/share/html/Dashboards/Elements/Deleted	(original)
+++ rt/3.8/trunk/share/html/Dashboards/Elements/Deleted	Thu Apr 16 21:45:46 2009
@@ -54,7 +54,7 @@
 
 <ul>
 % for (@searches) {
-    <li><% loc('[_1] (from pane [_2])', $_->{name}, $_->{pane}) %></li>
+    <li><% loc('[_1] (from pane [_2])', ($_->{description} || $_->{name}), $_->{pane}) %></li>
 % }
 </ul>
 </&>

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 21:45:46 2009
@@ -150,7 +150,11 @@
             }
 
             if (!$still_exists{$name}) {
-                push @deleted, { pane => $pane, name => $name };
+                push @deleted, {
+                    pane => $pane,
+                    name => $name,
+                    description => $portlet->{description},
+                };
                 next;
             }
 


More information about the Rt-commit mailing list