Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
{% block breadcrumbs_label %}
<span class="{{ block('prefix_final') ~ 'breadcrumbs__label' }} {% block breadcrumbs_label_class %}{% endblock %}">{{ "webfactory_navigation.breadcrumb_label"|trans({}, 'webfactory-navigation') }}</span>
{% endblock %}
<ul class="{{ block('prefix_final') ~ 'breadcrumbs__list' }} {% block breadcrumbs_list_class %}{% endblock %}">
<ol class="{{ block('prefix_final') ~ 'breadcrumbs__list' }} {% block breadcrumbs_list_class %}{% endblock %}">
{% for node in breadcrumbs %}
{% if node.caption|trim is not empty and ((node.breadcrumbsVisible is defined and node.breadcrumbsVisible) or node.visible) %}
<li class="{{ block('prefix_final') ~ 'breadcrumbs__item' }} {% block breadcrumbs_item_class %}{% endblock %}">
Expand All @@ -24,7 +24,7 @@
</li>
{% endif %}
{% endfor %}
</ul>
</ol>
</nav>
{% endif %}
{% endblock %}
4 changes: 2 additions & 2 deletions src/Resources/views/Navigation/breadcrumbs.html.twig
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{% if breadcrumbs is defined and breadcrumbs|length > 1 %}
<div class="breadcrumb-wrapper">
<span class="breadcrumb-label">{{ "webfactory_navigation.breadcrumb_label"|trans({}, 'webfactory-navigation') }}</span>
<ul class="breadcrumbs">
<ol class="breadcrumbs">
{% for node in breadcrumbs %}
{% if node.caption|trim is not empty and ((node.breadcrumbsVisible is defined and node.breadcrumbsVisible) or node.visible) %}
<li class="breadcrumb {% if loop.first %}breadcrumb-first{% endif %}">
Expand All @@ -13,6 +13,6 @@
</li>
{% endif %}
{% endfor %}
</ul>
</ol>
</div>
{% endif %}