[Rt-commit] r6543 - in rt/branches/3.6-EXPERIMENTAL-LONDRES: .
html/Search/Elements html/Widgets
jesse at bestpractical.com
jesse at bestpractical.com
Tue Nov 28 15:30:15 EST 2006
Author: jesse
Date: Tue Nov 28 15:30:14 2006
New Revision: 6543
Modified:
rt/branches/3.6-EXPERIMENTAL-LONDRES/ (props changed)
rt/branches/3.6-EXPERIMENTAL-LONDRES/html/Search/Chart.html
rt/branches/3.6-EXPERIMENTAL-LONDRES/html/Search/Elements/EditSearches
rt/branches/3.6-EXPERIMENTAL-LONDRES/html/Widgets/SavedSearch
Log:
r45535 at pinglin: jesse | 2006-11-28 15:29:55 -0500
* Allow a title on the saved searches dropdown
Modified: rt/branches/3.6-EXPERIMENTAL-LONDRES/html/Search/Chart.html
==============================================================================
--- rt/branches/3.6-EXPERIMENTAL-LONDRES/html/Search/Chart.html (original)
+++ rt/branches/3.6-EXPERIMENTAL-LONDRES/html/Search/Chart.html Tue Nov 28 15:30:14 2006
@@ -67,4 +67,5 @@
<& /Elements/ListActions, actions => \@actions &>
<& /Search/Elements/Chart, %ARGS &>
-<& /Widgets/SavedSearch:show, %ARGS, Action => 'Chart.html', self => $saved_search &>
+
+<& /Widgets/SavedSearch:show, %ARGS, Action => 'Chart.html', self => $saved_search, Title => 'Saved charts' &>
Modified: rt/branches/3.6-EXPERIMENTAL-LONDRES/html/Search/Elements/EditSearches
==============================================================================
--- rt/branches/3.6-EXPERIMENTAL-LONDRES/html/Search/Elements/EditSearches (original)
+++ rt/branches/3.6-EXPERIMENTAL-LONDRES/html/Search/Elements/EditSearches Tue Nov 28 15:30:14 2006
@@ -43,7 +43,7 @@
%# those contributions and any derivatives thereof.
%#
%# END BPS TAGGED BLOCK }}}
-<&| /Widgets/TitleBox, title => loc('Saved searches') &>
+<&| /Widgets/TitleBox, title => loc($Title)&>
%# Hide all the save functionality if the user shouldn't see it.
% if ($session{'CurrentUser'}->HasRight( Right => 'CreateSavedSearch',
% Object=> $RT::System )) {
@@ -96,4 +96,5 @@
$HideResults => 0
$Dirty => 0
$AllowCopy => 1
+$Title => 'Saved searches'
</%ARGS>
Modified: rt/branches/3.6-EXPERIMENTAL-LONDRES/html/Widgets/SavedSearch
==============================================================================
--- rt/branches/3.6-EXPERIMENTAL-LONDRES/html/Widgets/SavedSearch (original)
+++ rt/branches/3.6-EXPERIMENTAL-LONDRES/html/Widgets/SavedSearch Tue Nov 28 15:30:14 2006
@@ -88,7 +88,7 @@
<%method show>
<form method="post" action="<% $Action %>" name="SaveSearch">
<& /Search/Elements/EditSearches, Name => 'Owner', SearchType => $self->{SearchType}, AllowCopy => 0,
- CurrentSearch => $self->{CurrentSearch}, SearchId => $self->{SearchId} &><br />
+ CurrentSearch => $self->{CurrentSearch}, SearchId => $self->{SearchId}, Title => $Title &><br />
% for my $field (@{$self->{SearchFields}}) {
<input type="hidden" class="hidden" name="<%$field%>" value="<%$ARGS{$field} || ''%>" />
% }
@@ -96,6 +96,7 @@
<%ARGS>
$self => undef
$Action => ''
+$Title => 'Saved searches'
</%ARGS>
<%init>
</%init>
More information about the Rt-commit
mailing list