<!-- colocar esta clase b10LeftItemBoxNot si no existe informacio sobre el deparatamento en cuestion -->
{% for item in establishments %}
<div class="b10LeftItem" data-id="{{ item.department.slug }}">
<!-- SI NO EXISTE INFORMACION EN FUNCION DEL DEPARTAMENTO SELECCIONADO -->
<div class="b10LeftItemBoxText">
<p>Por favor ponte en contacto con el punto de atención más cercano en Loreto</p>
<a href="{{ path('contact') }}" class="buttonStandard gray">Ir a contacto <i class="icon-iconos-6"></i></a>
</div>
<!-- END SI NO EXISTE INFORMACION EN FUNCION DEL DEPARTAMENTO SELECCIONADO -->
<div class="b10LeftItemBox">
<div class="b10LeftItemTitle">
<h3>
<figure class="b10img_icon">
<img src="{{ asset(item.category.icon|image_path) }}" alt="{{ item.category.title }}">
</figure>
{# <i class="icon-camion1"></i> #}
<span>{{ item.category.title }}</span>
</h3>
</div>
<div class="b10LeftItemText">
{{ item.title }}
</div>
<div class="b10LeftItemDates">
<div class="b10LeftItemDatesLeft">
<ul>
<li>
<i class="icon-iconos-18"></i>
<span>{{ item.address|nl2br }}</span>
</li>
</ul>
<ul>
{% if item.phones|length > 0 %}
<li>
<i class="icon-iconos-15"></i>
<span>
{% for phone in item.phones %}
<a href="tel:{{ phone.number|only_numbers }}">{{ phone.number }}</a> {{ loop.last ? '' : '/' }}
{% endfor %}
</span>
</li>
{% endif %}
{% if item.emails|length > 0 %}
<li>
<i class="icon-iconos-17"></i>
<span>
{% for email in item.emails %}
<a href="mailto:{{ email.email }}">{{ email.email }}</a> {{ loop.last ? '' : '/' }}
{% endfor %}
</span>
</li>
{% endif %}
</ul>
</div>
{% if item.mapLink %}
<div class="b10LeftItemDatesRight">
<a href="{{ item.mapLink|external_url }}" target="_blank">
<img src="{{ asset('assets/images/mapgoogle.png') }}" width="25" alt="mapgoogle">
</a>
</div>
{% endif %}
</div>
</div>
</div>
{% endfor %}