[Rt-commit] r4416 - in rt/branches/3.5-TESTING: .
kevinr at bestpractical.com
kevinr at bestpractical.com
Thu Jan 19 22:52:04 EST 2006
Author: kevinr
Date: Thu Jan 19 22:52:04 2006
New Revision: 4416
Modified:
rt/branches/3.5-TESTING/ (props changed)
rt/branches/3.5-TESTING/html/Elements/ListActions
Log:
r10392 at sad-girl-in-snow: kevinr | 2006-01-19 22:47:37 -0500
* Cleaned up html/Elements/ListActions (based on a patch from Ruslan Zakirov)
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 Thu Jan 19 22:52:04 2006
@@ -43,7 +43,6 @@
%# those contributions and any derivatives thereof.
%#
%# END BPS TAGGED BLOCK }}}
-% if (@actions) {
<&| /Widgets/TitleBox, title => loc('Results') &>
<ul class="action-results">
% foreach my $action (@actions) {
@@ -55,9 +54,9 @@
% }
</ul>
</&>
-% }
<%init>
- at actions = grep (/./, at actions);
+ at actions = grep $_, @actions;
+return unless @actions;
</%init>
<%ARGS>
@actions => undef
More information about the Rt-commit
mailing list