RT 4.2.11, ticket#13852
[freeside.git] / rt / share / html / Elements / ListActions
index 2b74c38..29bcf6b 100755 (executable)
 %# those contributions and any derivatives thereof.
 %#
 %# END BPS TAGGED BLOCK }}}
+% $m->out($$_) for grep {ref $_} @actions;
+% if (grep {not ref $_} @actions) {
 <div class="results">
 <&| /Widgets/TitleBox, title => loc('Results'), %{$titlebox || {}} &>
   <ul class="action-results">
-% foreach my $action (@actions) {
+% foreach my $action (grep {not ref $_} @actions) {
     <li><%$action%></li>
 % }
   </ul>
 </&>
 </div>
+% }
 <%init>
 
 # backward compatibility, don't use array in new code, but use keyed hash