src/Package/Openform/Front/Templates/AntiqueSuit/_templates/_sections/_section-5-archive.html.twig line 1

Open in your IDE?
  1. <div class="object__wrapper object__item__section">
  2.     <div class="object__wrapper__title object__wrapper__title--mb-20">{{('T_OWNERSHIP_DETAILS')|trans({}, 'openform_front', app.request.locale) }}:</div>
  3.     <div class="object__wrapper__list">
  4.         {% if entity.AntiqueOwner and entity.AntiqueOwner.Translation[app.request.locale].title %}
  5.             <div class="object__item-wrap">
  6.                 <h3 class="object__item-wrap__title">{{('T_ANTIQUE_OWNER_OBJECT')|trans({}, 'openform_front', app.request.locale) }}:</h3>
  7.                 <div class="object__item-wrap__text">
  8.                     <a href="{{ toolkit_route_localizer.generate('search', {}, app.request.locale) }}?antiqueOwner={{ entity.AntiqueOwner.Translation[app.request.locale].title }}">
  9.                         {{entity.AntiqueOwner.Translation[app.request.locale].title}}
  10.                     </a>
  11.                 </div>
  12.             </div>
  13.         {% endif %}
  14.         {% if entity.AntiqueCopyrights|length > 0 %}
  15.             <div class="object__item-wrap">
  16.                 <h3 class="object__item-wrap__title">{{('T_ANTIQUE_COPYRIGHTS')|trans({}, 'openform_front', app.request.locale) }}:</h3>
  17.                 <div class="object__item-wrap__text object__item-wrap__copyright">
  18.                     {% for key, item in entity.AntiqueCopyrights %}
  19.                         <a href="{{ toolkit_route_localizer.generate('search', {}, app.request.locale) }}?antiqueCopyrights={{ item.Translation[app.request.locale].title }}">
  20.                             {{ item.Translation[app.request.locale].title }}
  21.                         </a>{% if not loop.last %}, {% endif %}
  22.                     {% endfor %}
  23.                 </div>
  24.             </div>
  25.         {% endif %}
  26.         {% if entity.AntiqueOwnerCopyrights|length > 0 %}
  27.             <div class="object__item-wrap">
  28.                 <h3 class="object__item-wrap__title">{{('T_ANTIQUE_OWNER_COPYRIGHTS')|trans({}, 'openform_front', app.request.locale) }}:</h3>
  29.                 
  30.                 <div class="object__item-wrap__text object__item-wrap__copyright">
  31.                     {% for key, item in entity.AntiqueOwnerCopyrights %}
  32.                         <a href="{{ toolkit_route_localizer.generate('search', {}, app.request.locale) }}?antiqueOwnerCopyrights={{ item.Translation[app.request.locale].title }}">
  33.                             {{ item.Translation[app.request.locale].title }}
  34.                         </a>{% if not loop.last %}, {% endif %}
  35.                     {% endfor %}
  36.                 </div>
  37.             </div>
  38.         {% endif %}
  39.         {% if entity.inventoryNumber %}
  40.             <div class="object__item-wrap">
  41.                 <h3 class="object__item-wrap__title">{{('T_INVENTORY_NUMBER')|trans({}, 'openform_front', app.request.locale) }}:</h3>
  42.                 <div class="object__item-wrap__text">
  43.                     {{ entity.inventoryNumber }}
  44.                 </div>
  45.             </div>
  46.         {% endif %}
  47.         {% if entity.Translation[app.request.locale].ownerCopyrights %}
  48.             <div class="object__item-wrap">
  49.                 <h3 class="object__item-wrap__title">{{('T_ANTIQUE_OWNER_COPYRIGHTS')|trans({}, 'openform_front', app.request.locale) }}:</h3>
  50.                 <div class="object__item-wrap__text">
  51.                     {{entity.Translation[app.request.locale].ownerCopyrights}}
  52.                 </div>
  53.             </div>
  54.         {% endif %}
  55.         {% if entity.AntiqueStoragePlace and entity.AntiqueStoragePlace.Translation[app.request.locale].title %}
  56.             <div class="object__item-wrap">
  57.                 <h3 class="object__item-wrap__title">{{('T_ANTIQUE_STORAGE_PLACE')|trans({}, 'openform_front', app.request.locale) }}:</h3>
  58.                 <div class="object__item-wrap__text">
  59.                     <a href="{{ toolkit_route_localizer.generate('search', {}, app.request.locale) }}?antiqueStoragePlace={{ entity.AntiqueStoragePlace.Translation[app.request.locale].title }}">
  60.                         {{entity.AntiqueStoragePlace.Translation[app.request.locale].title}}
  61.                     </a>
  62.                 </div>
  63.             </div>
  64.         {% endif %}
  65.         {% if entity.Translation[app.request.locale].ownersAdditionalInformations %}
  66.             <div class="object__item-wrap">
  67.                 <h3 class="object__item-wrap__title">{{('T_ANTIQUE_OWNER_ADDITIONAL_INFORMATIONS')|trans({}, 'openform_front', app.request.locale) }}:</h3>
  68.                 <div class="object__item-wrap__text">
  69.                     {{entity.Translation[app.request.locale].ownersAdditionalInformations|raw}}
  70.                 </div>
  71.             </div>
  72.         {% endif %}
  73.         {% if entity.Translation[app.request.locale].shownObjectOwner  %}
  74.             <div class="object__item-wrap">
  75.                 <h3 class="object__item-wrap__title">{{('T_OBJECT_OWNER_SHOW')|trans({}, 'openform_front', app.request.locale) }}:</h3>
  76.                 <div class="object__item-wrap__text">
  77.                     {{entity.Translation[app.request.locale].shownObjectOwner|raw}}
  78.                 </div>
  79.             </div>
  80.         {% endif %}
  81.         {% if entity.Translation[app.request.locale].inscription  %}
  82.             <div class="object__item-wrap">
  83.                 <h3 class="object__item-wrap__title">{{('T_OBJECT_INSCRIPTION')|trans({}, 'openform_front', app.request.locale) }}:</h3>
  84.                 <div class="object__item-wrap__text">
  85.                     {{entity.Translation[app.request.locale].inscription|raw}}
  86.                 </div>
  87.             </div>
  88.         {% endif %}
  89.         {% if entity.Translation[app.request.locale].shownObjectOwnerDescription %}
  90.             <div class="object__item-wrap">
  91.                 <h3 class="object__item-wrap__title">{{('T_OBJECT_OWNER_SHOW_DESC')|trans({}, 'openform_front', app.request.locale) }}:</h3>
  92.                 <div class="object__item-wrap__text">
  93.                     {{entity.Translation[app.request.locale].shownObjectOwnerDescription|raw}}
  94.                 </div>
  95.             </div>
  96.         {% endif %}
  97.     </div>
  98. </div>