[Rt-commit] r3407 - in rt/branches/3.5-TESTING: . html/Elements
html/Prefs
trs at bestpractical.com
trs at bestpractical.com
Wed Jul 6 19:09:01 EDT 2005
Author: trs
Date: Wed Jul 6 19:09:00 2005
New Revision: 3407
Modified:
rt/branches/3.5-TESTING/ (props changed)
rt/branches/3.5-TESTING/html/Elements/ListActions
rt/branches/3.5-TESTING/html/Elements/PageLayout
rt/branches/3.5-TESTING/html/Prefs/Search.html
Log:
r4837 at wintermute: tom | 2005-07-06 19:08:04 -0400
Miscellaneous minor changes
Modified: rt/branches/3.5-TESTING/html/Elements/ListActions
==============================================================================
--- rt/branches/3.5-TESTING/html/Elements/ListActions (original)
+++ rt/branches/3.5-TESTING/html/Elements/ListActions Wed Jul 6 19:09:00 2005
@@ -43,19 +43,18 @@
%# those contributions and any derivatives thereof.
%#
%# END BPS TAGGED BLOCK }}}
-% if ($actions[0] ) {
+% if (@actions) {
<&| /Widgets/TitleBox, title => loc('Results') &>
-<ul>
+ <ul class="action-results">
% foreach my $action (@actions) {
-% next unless ($action);
-% my $skip = 0;
-% $m->comp('/Elements/Callback', _CallbackName => 'ModifyRow', row => \$action, skip => \$skip, %ARGS);
-% next if $skip;
-<li><%$action%></li>
+% next unless $action;
+% my $skip = 0;
+% $m->comp('/Elements/Callback', _CallbackName => 'ModifyRow', row => \$action, skip => \$skip, %ARGS);
+% next if $skip;
+ <li><%$action%></li>
% }
-</ul>
+ </ul>
</&>
-<br />
% }
<%init>
@actions = grep (/./, at actions);
Modified: rt/branches/3.5-TESTING/html/Elements/PageLayout
==============================================================================
--- rt/branches/3.5-TESTING/html/Elements/PageLayout (original)
+++ rt/branches/3.5-TESTING/html/Elements/PageLayout Wed Jul 6 19:09:00 2005
@@ -147,7 +147,7 @@
% if ($type->{"$action"}->{'html'}) {
<% $type->{"$action"}->{'html'} | n %>
% } else {
- <a href="<%$RT::WebPath%>/<%$type->{$action}->{'path'}%>"><%$type->{$action}->{'title'}%></a>
+ <a href="<%$RT::WebPath%>/<%$type->{$action}->{'path'}%>"<% $type->{$action}->{class} && ' class="'.$type->{$action}->{class}.'"' |n %><% $type->{$action}->{id} && ' id="'.$type->{$action}->{id}.'"' |n %>><%$type->{$action}->{'title'}%></a>
% }
</li>
% if ($sep) {
Modified: rt/branches/3.5-TESTING/html/Prefs/Search.html
==============================================================================
--- rt/branches/3.5-TESTING/html/Prefs/Search.html (original)
+++ rt/branches/3.5-TESTING/html/Prefs/Search.html Wed Jul 6 19:09:00 2005
@@ -52,15 +52,17 @@
&>
<& /Elements/ListActions, actions => \@actions &>
% if ($session{'CurrentUser'}->HasRight( Object=> $RT::System, Right => 'SuperUser')) {
-<&|/l&>You can also edit the predefined search itself</&>:
-<a href="<% $RT::WebPath.'/Search/Build.html?'.
- $m->comp('/Elements/QueryString',
- LoadSavedSearch => 'RT::System-1-SavedSearch-'.$id) %>"><% $search->Name %></a>
+<p>
+ <&|/l&>You can also edit the predefined search itself</&>:
+ <a href="<% $RT::WebPath.'/Search/Build.html?'.
+ $m->comp('/Elements/QueryString',
+ LoadSavedSearch => 'RT::System-1-SavedSearch-'.$id) %>"><% $search->Name %></a>
+</p>
% }
-<br/>
-<form method="POST" action="Search.html" name="BuildQuery">
-<input type="hidden" name="name" value="<%$ARGS{name}%>">
-<input type="hidden" name="Format" value="<%$ARGS{Format}%>">
+
+<form method="post" action="Search.html" name="BuildQuery">
+<input type="hidden" name="name" value="<%$ARGS{name}%>" class="hidden" />
+<input type="hidden" name="Format" value="<%$ARGS{Format}%>" class="hidden" />
<& /Search/Elements/DisplayOptions, %$SearchArg, %ARGS,
AvailableColumns => $AvailableColumns, CurrentFormat => $CurrentFormat &>
More information about the Rt-commit
mailing list