mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2024-12-04 23:17:19 +01:00
Added breadcrumb draft
This commit is contained in:
parent
6a9e9db8d8
commit
8c9ae85463
@ -0,0 +1,14 @@
|
||||
<nav aria-label="breadcrumb">
|
||||
<ol class="breadcrumb">
|
||||
<li class="breadcrumb-item">
|
||||
<a href="{{ path('homepage') }}">infinito</a>
|
||||
</li>
|
||||
<li class="breadcrumb-item active" >api</li>
|
||||
<li class="breadcrumb-item active" >rest</li>
|
||||
<li class="breadcrumb-item active" >{{ layer|trans }}</li>
|
||||
{% if entity is defined %}
|
||||
<li class="breadcrumb-item active" aria-current="page">#{{ entity.id }}</li>
|
||||
{% endif %}
|
||||
<li class="breadcrumb-item active" >{{ app.request.getRequestFormat() }}</li>
|
||||
</ol>
|
||||
</nav>
|
@ -20,6 +20,7 @@
|
||||
:{% include "element/link/_layer_read_link.html.twig" with {'id':entity.getId(),'layer':layer,'slug':((entity.hasSlug() is defined and entity.hasSlug())?entity.getSlug():null)} %}
|
||||
{% endif %}
|
||||
</h1>
|
||||
{% include "element/breadcrumb/_layer_breadcrumb.html.twig" %}
|
||||
{% if action_template_data_store_service.getAllStoredData().count() > 0 %}
|
||||
<div id="accordion">
|
||||
{% set aria_expanded = 'true' %}
|
||||
|
Loading…
Reference in New Issue
Block a user