src/Package/Openform/Front/Templates/AntiqueSuit/_templates/_sections/_section-5.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.     
  4.     <div class="object__wrapper__list">
  5.         {% if entity.AntiqueOwner and entity.AntiqueOwner.Translation[app.request.locale].title %}
  6.             <div class="object__item-wrap">
  7.                 <h3 class="object__item-wrap__title">{{('T_ANTIQUE_OWNER')|trans({}, 'openform_front', app.request.locale) }}:</h3>
  8.                 <div class="object__item-wrap__text">
  9.                     <a href="{{ toolkit_route_localizer.generate('search', {}, app.request.locale) }}?antiqueOwner={{ entity.AntiqueOwner.Translation[app.request.locale].title }}">
  10.                         {{entity.AntiqueOwner.Translation[app.request.locale].title}}
  11.                     </a>
  12.                 </div>
  13.             </div>
  14.         {% endif %}
  15.         {% if entity.Translation[app.request.locale].ownerCopyrights %}
  16.             <div class="object__item-wrap">
  17.                 <h3 class="object__item-wrap__title">{{('T_ANTIQUE_OWNER_COPYRIGHTS')|trans({}, 'openform_front', app.request.locale) }}:</h3>
  18.                 <div class="object__item-wrap__text">
  19.                     {{entity.Translation[app.request.locale].ownerCopyrights}}
  20.                 </div>
  21.             </div>
  22.         {% endif %}
  23.         {% if entity.AntiqueStorageInstitution and entity.AntiqueStorageInstitution.Translation[app.request.locale].title %}
  24.             <div class="object__item-wrap">
  25.                 <h3 class="object__item-wrap__title">{{('T_ANTIQUE_STORAGE_INSTITUTION')|trans({}, 'openform_front', app.request.locale) }}:</h3>
  26.                 <div class="object__item-wrap__text">
  27.                     <a href="{{ toolkit_route_localizer.generate('search', {}, app.request.locale) }}?antiqueStorageInstitution={{ entity.AntiqueStorageInstitution.Translation[app.request.locale].title }}">
  28.                         {{entity.AntiqueStorageInstitution.Translation[app.request.locale].title}}
  29.                     </a>
  30.                 </div>
  31.             </div>
  32.         {% endif %}
  33.         {% if entity.inventoryNumber %}
  34.             <div class="object__item-wrap">
  35.                 <h3 class="object__item-wrap__title">{{('T_INVENTORY_NUMBER')|trans({}, 'openform_front', app.request.locale) }}:</h3>
  36.                 <div class="object__item-wrap__text">
  37.                     {{ entity.inventoryNumber }}
  38.                 </div>
  39.             </div>
  40.         {% endif %}
  41.         {% if entity.AntiqueStoragePlace and entity.AntiqueStoragePlace.Translation[app.request.locale].title %}
  42.             <div class="object__item-wrap">
  43.                 <h3 class="object__item-wrap__title">{{('T_ANTIQUE_STORAGE_PLACE')|trans({}, 'openform_front', app.request.locale) }}:</h3>
  44.                 <div class="object__item-wrap__text">
  45.                     <a href="{{ toolkit_route_localizer.generate('search', {}, app.request.locale) }}?antiqueStoragePlace={{ entity.AntiqueStoragePlace.Translation[app.request.locale].title }}">
  46.                         {{entity.AntiqueStoragePlace.Translation[app.request.locale].title}}
  47.                     </a>
  48.                 </div>
  49.             </div>
  50.         {% endif %}
  51.         {% if entity.purchaseDate or entity.purchaseAge or entity.purchaseYear %}
  52.             <div class="object__item-wrap">
  53.                 <h3 class="object__item-wrap__title">{{('T_ANTIQUE_DATE_ACQUISITION')|trans({}, 'openform_front', app.request.locale) }}:</h3>
  54.                 <div class="object__item-wrap__text">
  55.                     {% include('@openform_front_templates/AntiqueSuit/_templates/_fields/_date_and_age.html.twig') with {
  56.                                 'date': entity.purchaseDate,
  57.                                 'age': entity.purchaseAge,
  58.                                 'year': entity.purchaseYear,
  59.                             } %}
  60.                 </div>
  61.             </div>
  62.         {% endif %}
  63.         {% if entity.Translation[app.request.locale].originHistory %}
  64.             <div class="object__item-wrap">
  65.                 <h3 class="object__item-wrap__title">{{('T_ANTIQUE_OWNER_ORIGIN_HISTORY')|trans({}, 'openform_front', app.request.locale) }}:</h3>
  66.                 <div class="object__item-wrap__text">
  67.                     {{entity.Translation[app.request.locale].originHistory|raw}}
  68.                 </div>
  69.             </div>
  70.         {% endif %}
  71.         {% if entity.Translation[app.request.locale].ownersAdditionalInformations %}
  72.             <div class="object__item-wrap">
  73.                 <h3 class="object__item-wrap__title">{{('T_ANTIQUE_OWNER_ADDITIONAL_INFORMATIONS')|trans({}, 'openform_front', app.request.locale) }}:</h3>
  74.                 <div class="object__item-wrap__text">
  75.                     {{entity.Translation[app.request.locale].ownersAdditionalInformations|raw}}
  76.                 </div>
  77.             </div>
  78.         {% endif %}
  79.     </div>
  80. </div>