mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-09-06 09:41:36 +02:00
23 lines
740 B
Scheme
23 lines
740 B
Scheme
<div class="breadcrumbs-wrapper" data-pjax-fragment="Breadcrumbs">
|
|
<% loop Breadcrumbs %>
|
|
|
|
<% if First %>
|
|
<% 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 %>
|
|
<% end_if %>
|
|
|
|
<% if Last %>
|
|
<span class="cms-panel-link crumb last">$Title.XML</span>
|
|
<% else %>
|
|
<a class="cms-panel-link crumb" href="$Link">$Title.XML</a>
|
|
<span class="sep">/</span>
|
|
<% end_if %>
|
|
|
|
<% end_loop %>
|
|
</div>
|