<div class="object__wrapper object__item__section">
<div class="object__wrapper__title object__wrapper__title--mb-20">{{ ('T_DATE')|trans({}, 'openform_front', app.request.locale) }}:</div>
<div class="object__wrapper__list">
{% if entity.getDocumentDate() %}
<div class="object__item-wrap">
<h3 class="object__item-wrap__title">{{('T_ANTIQUE_DOCUMENT_PHOTO_DATE')|trans({}, 'openform_front', app.request.locale) }}:</h3>
<div class="object__item-wrap__text">
{{entity.getDocumentDate()|date("d.m.Y")}}
</div>
</div>
{% endif %}
{% if entity.getDocumentDate() and entity.documentAge %}
<div class="object__item-wrap">
<h3 class="object__item-wrap__title">{{('T_ANTIQUE_DOCUMENT_YEAR_AGE')|trans({}, 'openform_front', app.request.locale) }}:</h3>
<div class="object__item-wrap__text">
<a href="{{ toolkit_route_localizer.generate('search', {}, app.request.locale) }}?year={{ entity.getDocumentDate()|date('Y') }}">
{{ entity.getDocumentDate()|date('Y') }}
</a>
r.
<a href="{{ toolkit_route_localizer.generate('search', {}, app.request.locale) }}?age={{ entity.documentAge }}">
{{entity.documentAge}}
</a>
w.
</div>
</div>
{% endif %}
{% if entity.Translation[app.request.locale].documentHistory %}
<div class="object__item-wrap object__item-wrap--description">
<h3 class="object__item-wrap__title">{{('T_OBJECT_HISTORY_DOCUMENT_DESCRIPTION')|trans({}, 'openform_front', app.request.locale) }}:</h3>
<div class="object__item-wrap__text">
{{entity.Translation[app.request.locale].documentHistory|raw}}
</div>
</div>
{% endif %}
{% if entity.Translation[app.request.locale].background %}
<div class="object__item-wrap">
<h3 class="object__item-wrap__title">{{('T_OBJECT_INSCRIPTION')|trans({}, 'openform_front', app.request.locale) }}:</h3>
<div class="object__item-wrap__text">
{{entity.Translation[app.request.locale].background|raw}}
</div>
</div>
{% endif %}
{% if entity.objectYear and entity.objectAge %}
<div class="object__item-wrap">
<h3 class="object__item-wrap__title">{{('T_OBJECT_ON_DOCUMENT_YEAR_AGE')|trans({}, 'openform_front', app.request.locale) }}:</h3>
<div class="object__item-wrap__text">
<a href="{{ toolkit_route_localizer.generate('search', {}, app.request.locale) }}?year={{ entity.objectYear }}">
{{ entity.objectYear }}
</a>
r.
<a href="{{ toolkit_route_localizer.generate('search', {}, app.request.locale) }}?age={{ entity.objectAge }}">
{{entity.objectAge}}
</a>
w.
</div>
</div>
{% endif %}
{% if entity.Translation[app.request.locale].objectHistory %}
<div class="object__item-wrap object__item-wrap--description">
<h3 class="object__item-wrap__title">{{('T_OBJECT_HISTORY_DOCUMENT_DESCRIPTION')|trans({}, 'openform_front', app.request.locale) }}:</h3>
<div class="object__item-wrap__text">
{{entity.Translation[app.request.locale].objectHistory|raw}}
</div>
</div>
{% endif %}
</div>
</div>