mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-09-03 08:17:48 +02:00
8 lines
373 B
Scheme
8 lines
373 B
Scheme
<% if $ToplevelController %>
|
|
<span class="section-icon icon icon-16 icon-{$ToplevelController.MenuCurrentItem.Code.LowerCase}"></span>
|
|
<% else_if $Controller %>
|
|
<span class="section-icon icon icon-16 icon-{$Controller.MenuCurrentItem.Code.LowerCase}"></span>
|
|
<% else %>
|
|
<span class="section-icon icon icon-16 icon-{$MenuCurrentItem.Code.LowerCase}"></span>
|
|
<% end_if %>
|