]> git.uio.no Git - usit-rt.git/blobdiff - share/html/Elements/ListActions
Upgrade to 4.2.8
[usit-rt.git] / share / html / Elements / ListActions
index 805bd2ef21e053ed3de41f6fc77bdd7ee8871d06..d3c07f95c12d4a494dcfbc7ca94ad8b53bc99081 100644 (file)
@@ -2,7 +2,7 @@
 %#
 %# COPYRIGHT:
 %#
-%# This software is Copyright (c) 1996-2013 Best Practical Solutions, LLC
+%# This software is Copyright (c) 1996-2014 Best Practical Solutions, LLC
 %#                                          <sales@bestpractical.com>
 %#
 %# (Except where explicitly superseded by other copyright notices)
 %# 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