src/Package/Openform/Front/Templates/AntiqueSuit/_templates/_sections/_section-4-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_REPRESENTATION_ON_THE_DOCUMENT' )|trans({}, 'openform_front', app.request.locale) }}:</div>
  3.     
  4.     <div class="object__wrapper__list">
  5.         {% if entity.AntiqueTheme|length > 0 %}
  6.             <div class="object__item-wrap">
  7.                 <h3 class="object__item-wrap__title">{{('T_SUBJECT')|trans({}, 'openform_front', app.request.locale) }}:</h3>
  8.                 <div class="object__item-wrap__text">
  9.                     {% for item in entity.AntiqueTheme %}
  10.                         <a href="{{ toolkit_route_localizer.generate('search', {}, app.request.locale) }}?antiqueTheme={{ item.Translation[app.request.locale].title }}">
  11.                             {{item.Translation[app.request.locale].title ? item.Translation[app.request.locale].title}}
  12.                         </a>
  13.                         {% if not loop.last %},
  14.                         {% endif %}
  15.                     {% endfor %}
  16.                 </div>
  17.             </div>
  18.         {% endif %}
  19.         {% if entity.AntiqueSceneKind|length > 0 %}
  20.             <div class="object__item-wrap">
  21.                 <h3 class="object__item-wrap__title">{{('T_TYPE_OF_PERFORMANCE')|trans({}, 'openform_front', app.request.locale) }}:</h3>
  22.                 <div class="object__item-wrap__text">
  23.                     {% for item in entity.AntiqueSceneKind %}
  24.                         <a href="{{ toolkit_route_localizer.generate('search', {}, app.request.locale) }}?antiqueSceneKind={{ item.Translation[app.request.locale].title }}">
  25.                             {{item.Translation[app.request.locale].title ? item.Translation[app.request.locale].title}}
  26.                         </a>
  27.                         {% if not loop.last %},
  28.                         {% endif %}
  29.                     {% endfor %}
  30.                 </div>
  31.             </div>
  32.         {% endif %}
  33.         {% if entity.AntiqueScene|length > 0 and entity.AntiqueScene.Translation[app.request.locale].title %}
  34.             <div class="object__item-wrap">
  35.                 <h3 class="object__item-wrap__title">{{('T_MAIN_SHOW')|trans({}, 'openform_front', app.request.locale) }}:</h3>
  36.                 <div class="object__item-wrap__text">
  37.                     <a href="{{ toolkit_route_localizer.generate('search', {}, app.request.locale) }}?antiqueScene={{ entity.AntiqueScene.Translation[app.request.locale].title }}">
  38.                         {{entity.AntiqueScene.Translation[app.request.locale].title}}
  39.                     </a>
  40.                 </div>
  41.             </div>
  42.         {% endif %}
  43.         {% if entity.AntiqueSceneAdditional1|length > 0 and entity.AntiqueSceneAdditional1.Translation[app.request.locale].title %}
  44.             <div class="object__item-wrap">
  45.                 <h3 class="object__item-wrap__title">{{('T_ADDITIONAL_SHOWS1')|trans({}, 'openform_front', app.request.locale) }}:</h3>
  46.                 <div class="object__item-wrap__text">
  47.                     <a href="{{ toolkit_route_localizer.generate('search', {}, app.request.locale) }}?antiqueSceneAdditional1={{ entity.AntiqueSceneAdditional1.Translation[app.request.locale].title }}">
  48.                         {{entity.AntiqueSceneAdditional1.Translation[app.request.locale].title}}
  49.                     </a>
  50.                 </div>
  51.             </div>
  52.         {% endif %}
  53.         {% if entity.AntiqueSceneAdditional2|length > 0 and entity.AntiqueSceneAdditional2.Translation[app.request.locale].title %}
  54.             <div class="object__item-wrap">
  55.                 <h3 class="object__item-wrap__title">{{('T_ADDITIONAL_SHOWS2')|trans({}, 'openform_front', app.request.locale) }}:</h3>
  56.                 <div class="object__item-wrap__text">
  57.                     <a href="{{ toolkit_route_localizer.generate('search', {}, app.request.locale) }}?antiqueSceneAdditional2={{ entity.AntiqueSceneAdditional2.Translation[app.request.locale].title }}">
  58.                         {{entity.AntiqueSceneAdditional2.Translation[app.request.locale].title}}
  59.                     </a>
  60.                 </div>
  61.             </div>
  62.         {% endif %}
  63.         {% if entity.AntiqueSceneAdditional3|length > 0 and entity.AntiqueSceneAdditional3.Translation[app.request.locale].title %}
  64.             <div class="object__item-wrap">
  65.                 <h3 class="object__item-wrap__title">{{('T_ADDITIONAL_SHOWS3')|trans({}, 'openform_front', app.request.locale) }}:</h3>
  66.                 <div class="object__item-wrap__text">
  67.                     <a href="{{ toolkit_route_localizer.generate('search', {}, app.request.locale) }}?antiqueSceneAdditional3={{ entity.AntiqueSceneAdditional3.Translation[app.request.locale].title }}">
  68.                         {{entity.AntiqueSceneAdditional3.Translation[app.request.locale].title}}
  69.                     </a>
  70.                 </div>
  71.             </div>
  72.         {% endif %}
  73.         {% if entity.Translation[app.request.locale].shownObjectDescription %}
  74.             <div class="object__item-wrap object__item-wrap--description">
  75.                 <h3 class="object__item-wrap__title">{{('T_DESCRIPTION_OF_THE_OBJECT_PRESENTED_IN_THE_DOCUMENT')|trans({}, 'openform_front', app.request.locale) }}:</h3>
  76.                 <div class="object__item-wrap__text">
  77.                     {{entity.Translation[app.request.locale].shownObjectDescription|raw}}
  78.                 </div>
  79.             </div>
  80.         {% endif %}
  81.         {% if entity.Translation[app.request.locale].folkPeopleContext %}
  82.             <div class="object__item-wrap object__item-wrap--description">
  83.                 <h3 class="object__item-wrap__title">{{('T_CULTURAL_AND_FOLK_CONTEXT')|trans({}, 'openform_front', app.request.locale) }}:</h3>
  84.                 <div class="object__item-wrap__text">
  85.                     {{entity.Translation[app.request.locale].folkPeopleContext|raw}}
  86.                 </div>
  87.             </div>
  88.         {% endif %}
  89.         {% if entity.Translation[app.request.locale].documentDescriptionAdditional %}
  90.             <div class="object__item-wrap object__item-wrap--description">
  91.                 <h3 class="object__item-wrap__title">{{('T_ADDITIONAL_DESCRIPTION_DOCUMENT')|trans({}, 'openform_front', app.request.locale) }}:</h3>
  92.                 <div class="object__item-wrap__text">
  93.                     {{entity.Translation[app.request.locale].documentDescriptionAdditional|raw}}
  94.                 </div>
  95.             </div>
  96.         {% endif %}
  97.     </div>
  98. </div>