mirror of
				https://github.com/kevinveenbirkenbach/infinito.git
				synced 2025-10-31 01:09:41 +00:00 
			
		
		
		
	Added breadcrumb draft
This commit is contained in:
		| @@ -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' %} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user