[Rt-commit] r13554 - in rt/3.8/trunk: . share/html/Elements share/html/Ticket/Graphs/Elements
sartak at bestpractical.com
sartak at bestpractical.com
Mon Jun 23 19:54:58 EDT 2008
Author: sartak
Date: Mon Jun 23 19:54:57 2008
New Revision: 13554
Modified:
rt/3.8/trunk/ (props changed)
rt/3.8/trunk/share/html/Dashboards/Render.html
rt/3.8/trunk/share/html/Elements/ShowSearch
rt/3.8/trunk/share/html/Ticket/Graphs/Elements/ShowLegends
Log:
r63094 at onn: sartak | 2008-06-23 19:54:35 -0400
Don't display hide/show links in dashboard email (and a bit more infrastructure to handle it). Resolves rt3.fsck.com #9797.
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 Mon Jun 23 19:54:57 2008
@@ -61,7 +61,12 @@
% foreach ($DashboardObj->SearchIds) {
% my ($type, $id, $desc) = @$_;
% my @for_showsearch = $DashboardObj->SearchPrivacy(@$_);
- <& /Elements/ShowSearch, @for_showsearch, Override => { Rows => $rows }, IgnoreMissing => 1 &>
+ <& /Elements/ShowSearch,
+ @for_showsearch,
+ Override => { Rows => $rows },
+ IgnoreMissing => 1,
+ hideable => $Preview,
+ &>
% }
</td>
Modified: rt/3.8/trunk/share/html/Elements/ShowSearch
==============================================================================
--- rt/3.8/trunk/share/html/Elements/ShowSearch (original)
+++ rt/3.8/trunk/share/html/Elements/ShowSearch Mon Jun 23 19:54:57 2008
@@ -49,8 +49,9 @@
title => loc($search->Description, $ProcessedSearchArg->{'Rows'}),
title_href => $query_link_url.$QueryString,
titleright => $customize ? loc('Edit') : '',
- titleright_href => $customize &>
-<& $query_display_component, %$ProcessedSearchArg, ShowNavigation => 0, Class => 'RT::Tickets' &>
+ titleright_href => $customize,
+ hideable => $hideable &>
+<& $query_display_component, hideable => $hideable, %$ProcessedSearchArg, ShowNavigation => 0, Class => 'RT::Tickets' &>
</&>
<%init>
my $search;
@@ -133,8 +134,9 @@
</%init>
<%ARGS>
-$Name => undef
-$SavedSearch => undef
-%Override => ()
+$Name => undef
+$SavedSearch => undef
+%Override => ()
$IgnoreMissing => undef
+$hideable => 1
</%ARGS>
Modified: rt/3.8/trunk/share/html/Ticket/Graphs/Elements/ShowLegends
==============================================================================
--- rt/3.8/trunk/share/html/Ticket/Graphs/Elements/ShowLegends (original)
+++ rt/3.8/trunk/share/html/Ticket/Graphs/Elements/ShowLegends Mon Jun 23 19:54:57 2008
@@ -45,7 +45,7 @@
%# those contributions and any derivatives thereof.
%#
%# END BPS TAGGED BLOCK }}}
-<&| /Widgets/TitleBox, title => loc('Legends') &>
+<&| /Widgets/TitleBox, title => loc('Legends'), hideable => $hideable &>
<table>
<tr style="height: 2.8em;"><td>Status:</td><td>
@@ -69,4 +69,5 @@
<%ARGS>
$FillUsing => ''
+$hideable => 1
</%ARGS>
More information about the Rt-commit
mailing list