silverstripe-framework/tests/php/ORM/HierarchyTest/MarkedSetTest_HTML.ss
2017-04-13 16:27:13 +12:00

10 lines
321 B
Scheme

<% if $children || $limited %>
<ul>
<% if $limited %>
<li data-id="{$node.ID}"><span class="exceeded">Exceeded!</span></li>
<% else_if $children %>
<% loop $children %><li data-id="{$node.ID}" class="$markingClasses">$node.Title.XML $SubTree</li><% end_loop %>
<% end_if %>
</ul>
<% end_if %>