mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-09-07 18:21:23 +02:00
7 lines
370 B
Scheme
7 lines
370 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 %>
|