projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rt 4.2.13 ticket#13852
[freeside.git]
/
rt
/
share
/
html
/
Elements
/
ListActions
diff --git
a/rt/share/html/Elements/ListActions
b/rt/share/html/Elements/ListActions
index
37f7ce5
..
bbb7f6c
100755
(executable)
--- a/
rt/share/html/Elements/ListActions
+++ b/
rt/share/html/Elements/ListActions
@@
-2,7
+2,7
@@
%#
%# COPYRIGHT:
%#
%#
%# COPYRIGHT:
%#
-%# This software is Copyright (c) 1996-201
4
Best Practical Solutions, LLC
+%# This software is Copyright (c) 1996-201
6
Best Practical Solutions, LLC
%# <sales@bestpractical.com>
%#
%# (Except where explicitly superseded by other copyright notices)
%# <sales@bestpractical.com>
%#
%# (Except where explicitly superseded by other copyright notices)
@@
-45,15
+45,18
@@
%# those contributions and any derivatives thereof.
%#
%# END BPS TAGGED BLOCK }}}
%# 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">
<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>
<li><%$action%></li>
% }
</ul>
</&>
</div>
+% }
<%init>
# backward compatibility, don't use array in new code, but use keyed hash
<%init>
# backward compatibility, don't use array in new code, but use keyed hash