{% if hoard.objects is not empty %}
<h2>Objects belonging to this hoard</h2>
{% for object in hoard.objects %}
<div class="row">
<div class="col-md-8 col-md-offset-2">
<h4><a href="{{ path('object_show', { 'id': object.id }) }}">
{{ object }}
<p>{{object.description}}</p>
</div>
</div>
<div class="row" style="text-align:center">
{# {% if object.objectImages is not empty %}<i class="fa fa-picture-o"></i>{% endif %}</a></h4> #}
{% for objectImage in object.objectImages %}
<div class="object-image-container magnify-image-container">
<img id="object-image-{{ objectImage.id }}" src="{{ path('object_image', { 'object_image_id': objectImage.id }) }}" class="magnify-image-inside"/>
</div>
<div class="col-md-12">
<div class="objectimage-metadata hoardlistview-12col">
{% if objectImage.uri is defined and objectImage.uri %}
<div class="datalabel">URI</div><div class="data"><a target="_blank" href="{{ objectImage.uri }}">{{ objectImage.uri }}</a></div>
{% endif %}
{% if objectImage.comment is defined and objectImage.comment %}
<div class="datalabel">Comment</div><div class="data">{{ objectImage.comment }}</div>
{% endif %}
</div>
</div>
<br><br><br>
{% endfor %}
</div>
{% endfor %}
{% endif %}