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
/
ListMenu
diff --git
a/rt/share/html/Elements/ListMenu
b/rt/share/html/Elements/ListMenu
index
7c9af5c
..
51e2f29
100644
(file)
--- a/
rt/share/html/Elements/ListMenu
+++ b/
rt/share/html/Elements/ListMenu
@@
-2,7
+2,7
@@
%#
%# COPYRIGHT:
%#
%#
%# COPYRIGHT:
%#
-%# This software is Copyright (c) 1996-201
2
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)
@@
-47,6
+47,7
@@
%# END BPS TAGGED BLOCK }}}
<%args>
$menu
%# END BPS TAGGED BLOCK }}}
<%args>
$menu
+$show_children => undef
</%args>
<ul class="list-menu">
% for my $child ($menu->children) {
</%args>
<ul class="list-menu">
% for my $child ($menu->children) {
@@
-55,6
+56,9
@@
$menu
<span class="description"><% $description %></span>\
% }
</li>
<span class="description"><% $description %></span>\
% }
</li>
+% if ($show_children && $child->children) {
+<& /Elements/ListMenu, menu => $child &>
+% }
% }
</ul>
% }
</ul>