src/Package/Openform/Front/Templates/AntiqueSuit/_templates/_sections/_all-sections.html.twig line 1

Open in your IDE?
  1. {% if design is defined and design == 'double' %}
  2.     <div class="object__items object__items--double" style="{{entity.background2 ? 'background-color: ' ~ entity.background2 }}">
  3.         <div class="object__column">
  4.             {% if entity.AntiqueSuit and entity.AntiqueSuit.AntiqueFormDesign == constant('\\App\\Package\\Openform\\Entity\\AntiqueSuit::ANTIQUE_FORM_DESIGN_MUSEUM') %}
  5.                 {{ include('@openform_front_templates/AntiqueSuit/_templates/_sections/_section-1.html.twig') }}
  6.             {% else %}
  7.                 {{ include('@openform_front_templates/AntiqueSuit/_templates/_sections/_section-1-archive.html.twig') }}
  8.             {% endif %}
  9.             {% if entity.AntiqueSuit and entity.AntiqueSuit.AntiqueFormDesign == constant('\\App\\Package\\Openform\\Entity\\AntiqueSuit::ANTIQUE_FORM_DESIGN_MUSEUM') and ( entity.AntiqueCharacterKind|length > 0 or entity.AntiqueArtifact|length > 0 or entity.AntiqueCharacterKindAdditional|length > 0 or entity.Translation[app.request.locale].background or entity.Translation[app.request.locale].inscription or entity.AntiquePhisicalAttributeAdditional3|length > 0 or entity.Translation[app.request.locale].AntiquePhisicalAttributeAdditional4 or entity.Translation[app.request.locale].AntiquePhisicalAttributeAdditional5 or entity.Translation[app.request.locale].folkContext or entity.Translation[app.request.locale].additionalInformations ) %}
  10.                 {{ include('@openform_front_templates/AntiqueSuit/_templates/_sections/_section-3.html.twig') }}
  11.             {% endif %}
  12.             {% if entity.AntiqueSuit and entity.AntiqueSuit.AntiqueFormDesign != constant('\\App\\Package\\Openform\\Entity\\AntiqueSuit::ANTIQUE_FORM_DESIGN_MUSEUM') and ( (entity.Country and entity.Country.Translation[app.request.locale].title) or (entity.Region and entity.Region.Translation[app.request.locale].title) or (entity.GeographicalName and entity.GeographicalName.Translation[app.request.locale].title) or entity.Translation[app.request.locale].placeNameDetailed or entity.Translation[app.request.locale].descPlaceAdditional ) %}
  13.                 {{ include('@openform_front_templates/AntiqueSuit/_templates/_sections/_section-3-archive.html.twig') }}
  14.             {% endif %}
  15.             {% if entity.AntiqueSuit and entity.AntiqueSuit.AntiqueFormDesign == constant('\\App\\Package\\Openform\\Entity\\AntiqueSuit::ANTIQUE_FORM_DESIGN_MUSEUM') %}
  16.                 {% if (entity.AntiqueOwner and entity.AntiqueOwner.Translation[app.request.locale].title) or entity.Translation[app.request.locale].ownerCopyrights or (entity.AntiqueStorageInstitution and entity.AntiqueStorageInstitution.Translation[app.request.locale].title) or entity.inventoryNumber or (entity.AntiqueStoragePlace and entity.AntiqueStoragePlace.Translation[app.request.locale].title) or entity.purchaseDate or entity.purchaseAge or entity.purchaseYear or entity.Translation[app.request.locale].originHistory or entity.Translation[app.request.locale].ownersAdditionalInformations %}
  17.                     {{ include('@openform_front_templates/AntiqueSuit/_templates/_sections/_section-5.html.twig') }}
  18.                 {% endif %}
  19.             {% else %}
  20.                 {% if (entity.AntiqueOwner and entity.AntiqueOwner.Translation[app.request.locale].title) or entity.inventoryNumber or entity.Translation[app.request.locale].ownerCopyrights or (entity.AntiqueStoragePlace and entity.AntiqueStoragePlace.Translation[app.request.locale].title)  or entity.Translation[app.request.locale].ownersAdditionalInformations or entity.Translation[app.request.locale].shownObjectOwner or entity.Translation[app.request.locale].inscription or entity.Translation[app.request.locale].shownObjectOwnerDescription %}
  21.                     {{ include('@openform_front_templates/AntiqueSuit/_templates/_sections/_section-5-archive.html.twig') }}
  22.                 {% endif %}
  23.             {% endif %}
  24.         </div>
  25.         <div class="object__column">
  26.             {% if entity.AntiqueSuit and entity.AntiqueSuit.AntiqueFormDesign == constant('\\App\\Package\\Openform\\Entity\\AntiqueSuit::ANTIQUE_FORM_DESIGN_MUSEUM') and ( entity.AntiquePhisicalAttributeMain|length > 0 or entity.AntiqueMaterial|length > 0 or entity.dimensions or entity.AntiquePhisicalAttributeAdditional1|length > 0 or entity.AntiquePhisicalAttributeAdditional2|length > 0 or entity.Translation[app.request.locale].artisticDescription or entity.Translation[app.request.locale].artisticDescriptionAdditional ) %}
  27.                 {{ include('@openform_front_templates/AntiqueSuit/_templates/_sections/_section-2.html.twig') }}
  28.             {% endif %}
  29.             {% if entity.AntiqueSuit and entity.AntiqueSuit.AntiqueFormDesign != constant('\\App\\Package\\Openform\\Entity\\AntiqueSuit::ANTIQUE_FORM_DESIGN_MUSEUM') and (entity.getDocumentDate() or (entity.getDocumentDate() and entity.documentAge) or entity.Translation[app.request.locale].documentHistory or entity.Translation[app.request.locale].background or (entity.objectYear and entity.objectAge) or entity.Translation[app.request.locale].objectHistory ) %}
  30.                 {{ include('@openform_front_templates/AntiqueSuit/_templates/_sections/_section-2-archive.html.twig') }}
  31.             {% endif %}
  32.             {% if entity.Artist|length > 0 and entity.AntiqueSuit and entity.AntiqueSuit.AntiqueFormDesign == constant('\\App\\Package\\Openform\\Entity\\AntiqueSuit::ANTIQUE_FORM_DESIGN_MUSEUM') %}
  33.                 {{ include('@openform_front_templates/AntiqueSuit/_templates/_sections/_section-4.html.twig') }}
  34.             {% endif %}
  35.             {% if entity.AntiqueSuit and entity.AntiqueSuit.AntiqueFormDesign != constant('\\App\\Package\\Openform\\Entity\\AntiqueSuit::ANTIQUE_FORM_DESIGN_MUSEUM') %}
  36.                 {{ include('@openform_front_templates/AntiqueSuit/_templates/_sections/_section-4-archive.html.twig') }}
  37.             {% endif %}
  38.             {{ include('@openform_front_templates/AntiqueSuit/_templates/_sections/_section-6.html.twig') }}
  39.         </div>
  40.     </div>
  41. {% elseif design is defined and design == 'anchor' %}
  42.     {% set firstActive = false %}
  43.     <div class="object__items object__items--anchor" style="{{entity.background2 ? 'background-color: ' ~ entity.background2 ~ '; box-shadow: 0 0 0 25vmax ' ~ entity.background2 ~ '; clip-path: inset(0 -25vmax);' }}">
  44.         <nav class="object__drawer">
  45.             <div class="drawer">
  46.                 <button class="drawer__show-wrapper" type="button" aria-expanded="false" data-expanded="js-drawer-wrapper" data-expandendname="js-drawer-wrapper">
  47.                     <span>Object Menu</span>
  48.                 </button>
  49.                 
  50.                 <div class="drawer__wrapper js-drawer-wrapper">
  51.                     <ul class="drawer__list" role="tablist" aria-orientation="vertical">
  52.                         {# tab 1 #}
  53.                         {% if entity.AntiqueSuit and entity.AntiqueSuit.AntiqueFormDesign == constant('\\App\\Package\\Openform\\Entity\\AntiqueSuit::ANTIQUE_FORM_DESIGN_MUSEUM') %}
  54.                             <li class="drawer__el" role="presentation">
  55.                                 <button class="drawer__button" type="button" role="tab" aria-expanded="{{ firstActive ? 'false' : 'true' }}" data-expanded="js-object-tab-1" data-expandendname="object-tab-buttons">
  56.                                     <span>{{ ('T_ANTIQUE_BASIC_INFORMATION')|trans({}, 'openform_front', app.request.locale) }}</span>
  57.                                 </button>
  58.                             </li>
  59.                             {% if not firstActive %}
  60.                                 {% set firstActive = 1 %}
  61.                             {% endif %}
  62.                         {% else %}
  63.                             <li class="drawer__el" role="presentation">
  64.                                 <button class="drawer__button" type="button" role="tab" aria-expanded="{{ firstActive ? 'false' : 'true' }}" data-expanded="js-object-tab-1" data-expandendname="object-tab-buttons">
  65.                                     <span>{{ ('T_ANTIQUE_BASIC_INFORMATION')|trans({}, 'openform_front', app.request.locale) }}</span>
  66.                                 </button>
  67.                             </li>
  68.                             {% if not firstActive %}
  69.                                 {% set firstActive = 1 %}
  70.                             {% endif %}
  71.                         {% endif %}
  72.                         {# tab 2 #}
  73.                         {% if entity.AntiqueSuit and entity.AntiqueSuit.AntiqueFormDesign == constant('\\App\\Package\\Openform\\Entity\\AntiqueSuit::ANTIQUE_FORM_DESIGN_MUSEUM') and ( entity.AntiquePhisicalAttributeMain|length > 0 or entity.AntiqueMaterial|length > 0 or entity.dimensions or entity.AntiquePhisicalAttributeAdditional1|length > 0 or entity.AntiquePhisicalAttributeAdditional2|length > 0 or entity.Translation[app.request.locale].artisticDescription or entity.Translation[app.request.locale].artisticDescriptionAdditional ) %}
  74.                             <li class="drawer__el" role="presentation">
  75.                                 <button class="drawer__button" type="button" role="tab" aria-expanded="{{ firstActive ? 'false' : 'true' }}" data-expanded="js-object-tab-2" data-expandendname="object-tab-buttons">
  76.                                     <span>{{ ('T_MATERIALS_AND_TECHNIQUES')|trans({}, 'openform_front', app.request.locale) }}</span>
  77.                                 </button>
  78.                             </li>
  79.                             {% if not firstActive %}
  80.                                 {% set firstActive = 2 %}
  81.                             {% endif %}
  82.                         {% endif %}
  83.                         {% if entity.AntiqueSuit and entity.AntiqueSuit.AntiqueFormDesign != constant('\\App\\Package\\Openform\\Entity\\AntiqueSuit::ANTIQUE_FORM_DESIGN_MUSEUM') and (entity.getDocumentDate() or (entity.getDocumentDate() and entity.documentAge) or entity.Translation[app.request.locale].documentHistory or entity.Translation[app.request.locale].background or (entity.objectYear and entity.objectAge) or entity.Translation[app.request.locale].objectHistory ) %}
  84.                             <li class="drawer__el" role="presentation">
  85.                                 <button class="drawer__button" type="button" role="tab" aria-expanded="{{ firstActive ? 'false' : 'true' }}" data-expanded="js-object-tab-2" data-expandendname="object-tab-buttons">
  86.                                     <span>{{ ('T_DATE')|trans({}, 'openform_front', app.request.locale) }}</span>
  87.                                 </button>
  88.                             </li>
  89.                             {% if not firstActive %}
  90.                                 {% set firstActive = 2 %}
  91.                             {% endif %}
  92.                         {% endif %}
  93.                         {# tab 3 #}
  94.                         {% if entity.AntiqueSuit and entity.AntiqueSuit.AntiqueFormDesign == constant('\\App\\Package\\Openform\\Entity\\AntiqueSuit::ANTIQUE_FORM_DESIGN_MUSEUM') and ( entity.AntiqueCharacterKind|length > 0 or entity.AntiqueArtifact|length > 0 or entity.AntiqueCharacterKindAdditional|length > 0 or entity.Translation[app.request.locale].background or entity.Translation[app.request.locale].inscription or entity.AntiquePhisicalAttributeAdditional3|length > 0 or entity.Translation[app.request.locale].AntiquePhisicalAttributeAdditional4 or entity.Translation[app.request.locale].AntiquePhisicalAttributeAdditional5 or entity.Translation[app.request.locale].folkContext or entity.Translation[app.request.locale].additionalInformations ) %}
  95.                             <li class="drawer__el" role="presentation">
  96.                                 <button class="drawer__button" type="button" role="tab" aria-expanded="{{ firstActive ? 'false' : 'true' }}" data-expanded="js-object-tab-3" data-expandendname="object-tab-buttons">
  97.                                     <span>{{ ('T_CHARACTERS_OBJECTS_ARTIFACTS')|trans({}, 'openform_front', app.request.locale) }}</span>
  98.                                 </button>
  99.                             </li>
  100.                             {% if not firstActive %}
  101.                                 {% set firstActive = 3 %}
  102.                             {% endif %}
  103.                         {% endif %}
  104.                         {% if entity.AntiqueSuit and entity.AntiqueSuit.AntiqueFormDesign != constant('\\App\\Package\\Openform\\Entity\\AntiqueSuit::ANTIQUE_FORM_DESIGN_MUSEUM') and ( (entity.Country and entity.Country.Translation[app.request.locale].title) or (entity.Region and entity.Region.Translation[app.request.locale].title) or (entity.GeographicalName and entity.GeographicalName.Translation[app.request.locale].title) or entity.Translation[app.request.locale].placeNameDetailed or entity.Translation[app.request.locale].descPlaceAdditional ) %}
  105.                             <li class="drawer__el" role="presentation">
  106.                                 <button class="drawer__button" type="button" role="tab" aria-expanded="{{ firstActive ? 'false' : 'true' }}" data-expanded="js-object-tab-3" data-expandendname="object-tab-buttons">
  107.                                     <span>{{ ('T_PLACE_OF_DOCUMENT_OBJECT')|trans({}, 'openform_front', app.request.locale) }}</span>
  108.                                 </button>
  109.                             </li>
  110.                             {% if not firstActive %}
  111.                                 {% set firstActive = 3 %}
  112.                             {% endif %}
  113.                         {% endif %}
  114.                         {# tab 4 #}
  115.                         {% if entity.Artist|length > 0 and entity.AntiqueSuit and entity.AntiqueSuit.AntiqueFormDesign == constant('\\App\\Package\\Openform\\Entity\\AntiqueSuit::ANTIQUE_FORM_DESIGN_MUSEUM') %}
  116.                             <li class="drawer__el" role="presentation">
  117.                                 <button class="drawer__button" type="button" role="tab" aria-expanded="{{ firstActive ? 'false' : 'true' }}" data-expanded="js-object-tab-4" data-expandendname="object-tab-buttons">
  118.                                     <span>{{ (entity.Artist|length > 0 ? 'T_ARTISTS_INFO' : 'T_ARTIST_INFO' )|trans({}, 'openform_front', app.request.locale) }}</span>
  119.                                 </button>
  120.                             </li>
  121.                             {% if not firstActive %}
  122.                                 {% set firstActive = 4 %}
  123.                             {% endif %}
  124.                         {% endif %}
  125.                         {% if entity.AntiqueSuit and entity.AntiqueSuit.AntiqueFormDesign != constant('\\App\\Package\\Openform\\Entity\\AntiqueSuit::ANTIQUE_FORM_DESIGN_MUSEUM') %}
  126.                             <li class="drawer__el" role="presentation">
  127.                                 <button class="drawer__button" type="button" role="tab" aria-expanded="{{ firstActive ? 'false' : 'true' }}" data-expanded="js-object-tab-4" data-expandendname="object-tab-buttons">
  128.                                     <span>{{ ('T_REPRESENTATION_ON_THE_DOCUMENT' )|trans({}, 'openform_front', app.request.locale) }}</span>
  129.                                 </button>
  130.                             </li>
  131.                             {% if not firstActive %}
  132.                                 {% set firstActive = 4 %}
  133.                             {% endif %}
  134.                         {% endif %}
  135.                         {# tab 5 #}
  136.                         {% if entity.AntiqueSuit and entity.AntiqueSuit.AntiqueFormDesign == constant('\\App\\Package\\Openform\\Entity\\AntiqueSuit::ANTIQUE_FORM_DESIGN_MUSEUM') %}
  137.                             {% if (entity.AntiqueOwner and entity.AntiqueOwner.Translation[app.request.locale].title) or entity.Translation[app.request.locale].ownerCopyrights or (entity.AntiqueStorageInstitution and entity.AntiqueStorageInstitution.Translation[app.request.locale].title) or entity.inventoryNumber or (entity.AntiqueStoragePlace and entity.AntiqueStoragePlace.Translation[app.request.locale].title) or entity.purchaseDate or entity.purchaseAge or entity.purchaseYear or entity.Translation[app.request.locale].originHistory or entity.Translation[app.request.locale].ownersAdditionalInformations %}
  138.                                 <li class="drawer__el" role="presentation">
  139.                                     <button class="drawer__button" type="button" role="tab" aria-expanded="{{ firstActive ? 'false' : 'true' }}" data-expanded="js-object-tab-5" data-expandendname="object-tab-buttons">
  140.                                         <span>{{ ('T_OWNERSHIP_DETAILS')|trans({}, 'openform_front', app.request.locale) }}</span>
  141.                                     </button>
  142.                                 </li>
  143.                                 {% if not firstActive %}
  144.                                     {% set firstActive = 5 %}
  145.                                 {% endif %}
  146.                             {% endif %}
  147.                         {% else %}
  148.                             {% if (entity.AntiqueOwner and entity.AntiqueOwner.Translation[app.request.locale].title) or entity.inventoryNumber or entity.Translation[app.request.locale].ownerCopyrights or (entity.AntiqueStoragePlace and entity.AntiqueStoragePlace.Translation[app.request.locale].title)  or entity.Translation[app.request.locale].ownersAdditionalInformations or entity.Translation[app.request.locale].shownObjectOwner or entity.Translation[app.request.locale].inscription or entity.Translation[app.request.locale].shownObjectOwnerDescription %}
  149.                                 <li class="drawer__el" role="presentation">
  150.                                     <button class="drawer__button" type="button" role="tab" aria-expanded="{{ firstActive ? 'false' : 'true' }}" data-expanded="js-object-tab-5" data-expandendname="object-tab-buttons">
  151.                                         <span>{{ ('T_OWNERSHIP_DETAILS')|trans({}, 'openform_front', app.request.locale) }}</span>
  152.                                     </button>
  153.                                 </li>
  154.                                 {% if not firstActive %}
  155.                                     {% set firstActive = 5 %}
  156.                                 {% endif %}
  157.                             {% endif %}
  158.                         {% endif %}
  159.                         {# tab 6 #}
  160.                         <li class="drawer__el" role="presentation">
  161.                             <button class="drawer__button" type="button" role="tab" aria-expanded="{{ firstActive ? 'false' : 'true' }}" data-expanded="js-object-tab-6" data-expandendname="object-tab-buttons">
  162.                                 <span>{{ ('T_RECORD_INFORMATION')|trans({}, 'openform_front', app.request.locale) }}</span>
  163.                             </button>
  164.                         </li>
  165.                         {% if not firstActive %}
  166.                             {% set firstActive = 6 %}
  167.                         {% endif %}
  168.                     </ul>
  169.                 </div>
  170.             </div>
  171.         </nav>
  172.         <div>
  173.             <div class="object__tab js-object-tab-1{{ firstActive == 1 ? ' active open' }}">
  174.                 {% if entity.AntiqueSuit and entity.AntiqueSuit.AntiqueFormDesign == constant('\\App\\Package\\Openform\\Entity\\AntiqueSuit::ANTIQUE_FORM_DESIGN_MUSEUM') %}
  175.                     {{ include('@openform_front_templates/AntiqueSuit/_templates/_sections/_section-1.html.twig') }}
  176.                 {% else %}
  177.                     {{ include('@openform_front_templates/AntiqueSuit/_templates/_sections/_section-1-archive.html.twig') }}
  178.                 {% endif %}
  179.             </div>
  180.             <div class="object__tab js-object-tab-2{{ firstActive == 2 ? ' active open' }}">
  181.                 {% if entity.AntiqueSuit and entity.AntiqueSuit.AntiqueFormDesign == constant('\\App\\Package\\Openform\\Entity\\AntiqueSuit::ANTIQUE_FORM_DESIGN_MUSEUM') and ( entity.AntiquePhisicalAttributeMain|length > 0 or entity.AntiqueMaterial|length > 0 or entity.dimensions or entity.AntiquePhisicalAttributeAdditional1|length > 0 or entity.AntiquePhisicalAttributeAdditional2|length > 0 or entity.Translation[app.request.locale].artisticDescription or entity.Translation[app.request.locale].artisticDescriptionAdditional ) %}
  182.                     {{ include('@openform_front_templates/AntiqueSuit/_templates/_sections/_section-2.html.twig') }}
  183.                 {% endif %}
  184.                 {% if entity.AntiqueSuit and entity.AntiqueSuit.AntiqueFormDesign != constant('\\App\\Package\\Openform\\Entity\\AntiqueSuit::ANTIQUE_FORM_DESIGN_MUSEUM') and (entity.getDocumentDate() or (entity.getDocumentDate() and entity.documentAge) or entity.Translation[app.request.locale].documentHistory or entity.Translation[app.request.locale].background or (entity.objectYear and entity.objectAge) or entity.Translation[app.request.locale].objectHistory ) %}
  185.                     {{ include('@openform_front_templates/AntiqueSuit/_templates/_sections/_section-2-archive.html.twig') }}
  186.                 {% endif %}
  187.             </div>
  188.             <div class="object__tab js-object-tab-3{{ firstActive == 3 ? ' active open' }}">
  189.                 {% if entity.AntiqueSuit and entity.AntiqueSuit.AntiqueFormDesign == constant('\\App\\Package\\Openform\\Entity\\AntiqueSuit::ANTIQUE_FORM_DESIGN_MUSEUM') and ( entity.AntiqueCharacterKind|length > 0 or entity.AntiqueArtifact|length > 0 or entity.AntiqueCharacterKindAdditional|length > 0 or entity.Translation[app.request.locale].background or entity.Translation[app.request.locale].inscription or entity.AntiquePhisicalAttributeAdditional3|length > 0 or entity.Translation[app.request.locale].AntiquePhisicalAttributeAdditional4 or entity.Translation[app.request.locale].AntiquePhisicalAttributeAdditional5 or entity.Translation[app.request.locale].folkContext or entity.Translation[app.request.locale].additionalInformations ) %}
  190.                     {{ include('@openform_front_templates/AntiqueSuit/_templates/_sections/_section-3.html.twig') }}
  191.                 {% endif %}
  192.                 {% if entity.AntiqueSuit and entity.AntiqueSuit.AntiqueFormDesign != constant('\\App\\Package\\Openform\\Entity\\AntiqueSuit::ANTIQUE_FORM_DESIGN_MUSEUM') and ( (entity.Country and entity.Country.Translation[app.request.locale].title) or (entity.Region and entity.Region.Translation[app.request.locale].title) or (entity.GeographicalName and entity.GeographicalName.Translation[app.request.locale].title) or entity.Translation[app.request.locale].placeNameDetailed or entity.Translation[app.request.locale].descPlaceAdditional ) %}
  193.                     {{ include('@openform_front_templates/AntiqueSuit/_templates/_sections/_section-3-archive.html.twig') }}
  194.                 {% endif %}
  195.             </div>
  196.             <div class="object__tab js-object-tab-4{{ firstActive == 4 ? ' active open' }}">
  197.                 {% if entity.Artist|length > 0 and entity.AntiqueSuit and entity.AntiqueSuit.AntiqueFormDesign == constant('\\App\\Package\\Openform\\Entity\\AntiqueSuit::ANTIQUE_FORM_DESIGN_MUSEUM') %}
  198.                     {{ include('@openform_front_templates/AntiqueSuit/_templates/_sections/_section-4.html.twig') }}
  199.                 {% endif %}
  200.                 {% if entity.AntiqueSuit and entity.AntiqueSuit.AntiqueFormDesign != constant('\\App\\Package\\Openform\\Entity\\AntiqueSuit::ANTIQUE_FORM_DESIGN_MUSEUM') %}
  201.                     {{ include('@openform_front_templates/AntiqueSuit/_templates/_sections/_section-4-archive.html.twig') }}
  202.                 {% endif %}
  203.             </div>
  204.             <div class="object__tab js-object-tab-5{{ firstActive == 5 ? ' active open' }}">
  205.                 {% if entity.AntiqueSuit and entity.AntiqueSuit.AntiqueFormDesign == constant('\\App\\Package\\Openform\\Entity\\AntiqueSuit::ANTIQUE_FORM_DESIGN_MUSEUM') %}
  206.                     {% if (entity.AntiqueOwner and entity.AntiqueOwner.Translation[app.request.locale].title) or entity.Translation[app.request.locale].ownerCopyrights or (entity.AntiqueStorageInstitution and entity.AntiqueStorageInstitution.Translation[app.request.locale].title) or entity.inventoryNumber or (entity.AntiqueStoragePlace and entity.AntiqueStoragePlace.Translation[app.request.locale].title) or entity.purchaseDate or entity.purchaseAge or entity.purchaseYear or entity.Translation[app.request.locale].originHistory or entity.Translation[app.request.locale].ownersAdditionalInformations %}
  207.                         {{ include('@openform_front_templates/AntiqueSuit/_templates/_sections/_section-5.html.twig') }}
  208.                     {% endif %}
  209.                 {% else %}
  210.                     {% if (entity.AntiqueOwner and entity.AntiqueOwner.Translation[app.request.locale].title) or entity.inventoryNumber or entity.Translation[app.request.locale].ownerCopyrights or (entity.AntiqueStoragePlace and entity.AntiqueStoragePlace.Translation[app.request.locale].title)  or entity.Translation[app.request.locale].ownersAdditionalInformations or entity.Translation[app.request.locale].shownObjectOwner or entity.Translation[app.request.locale].inscription or entity.Translation[app.request.locale].shownObjectOwnerDescription %}
  211.                         {{ include('@openform_front_templates/AntiqueSuit/_templates/_sections/_section-5-archive.html.twig') }}
  212.                     {% endif %}
  213.                 {% endif %}
  214.             </div>
  215.             <div class="object__tab js-object-tab-6{{ firstActive == 6 ? ' active open' }}">
  216.                 {{ include('@openform_front_templates/AntiqueSuit/_templates/_sections/_section-6.html.twig') }}
  217.             </div>
  218.         </div>
  219.     </div>
  220. {% elseif design is defined and design == 'single' %}
  221.     <div class="object__items object__items--single" style="{{entity.background2 ? 'background-color: ' ~ entity.background2 }}">
  222.         <div>
  223.             {% if entity.AntiqueSuit and entity.AntiqueSuit.AntiqueFormDesign == constant('\\App\\Package\\Openform\\Entity\\AntiqueSuit::ANTIQUE_FORM_DESIGN_MUSEUM') %}
  224.                 {{ include('@openform_front_templates/AntiqueSuit/_templates/_sections/_section-1.html.twig') }}
  225.             {% else %}
  226.                 {{ include('@openform_front_templates/AntiqueSuit/_templates/_sections/_section-1-archive.html.twig') }}
  227.             {% endif %}
  228.             {% if entity.AntiqueSuit and entity.AntiqueSuit.AntiqueFormDesign == constant('\\App\\Package\\Openform\\Entity\\AntiqueSuit::ANTIQUE_FORM_DESIGN_MUSEUM') and ( entity.AntiquePhisicalAttributeMain|length > 0 or entity.AntiqueMaterial|length > 0 or entity.dimensions or entity.AntiquePhisicalAttributeAdditional1|length > 0 or entity.AntiquePhisicalAttributeAdditional2|length > 0 or entity.Translation[app.request.locale].artisticDescription or entity.Translation[app.request.locale].artisticDescriptionAdditional ) %}
  229.                 {{ include('@openform_front_templates/AntiqueSuit/_templates/_sections/_section-2.html.twig') }}
  230.             {% endif %}
  231.             {% if entity.AntiqueSuit and entity.AntiqueSuit.AntiqueFormDesign != constant('\\App\\Package\\Openform\\Entity\\AntiqueSuit::ANTIQUE_FORM_DESIGN_MUSEUM') and (entity.getDocumentDate() or (entity.getDocumentDate() and entity.documentAge) or entity.Translation[app.request.locale].documentHistory or entity.Translation[app.request.locale].background or (entity.objectYear and entity.objectAge) or entity.Translation[app.request.locale].objectHistory ) %}
  232.                 {{ include('@openform_front_templates/AntiqueSuit/_templates/_sections/_section-2-archive.html.twig') }}
  233.             {% endif %}
  234.             {% if entity.AntiqueSuit and entity.AntiqueSuit.AntiqueFormDesign == constant('\\App\\Package\\Openform\\Entity\\AntiqueSuit::ANTIQUE_FORM_DESIGN_MUSEUM') and ( entity.AntiqueCharacterKind|length > 0 or entity.AntiqueArtifact|length > 0 or entity.AntiqueCharacterKindAdditional|length > 0 or entity.Translation[app.request.locale].background or entity.Translation[app.request.locale].inscription or entity.AntiquePhisicalAttributeAdditional3|length > 0 or entity.Translation[app.request.locale].AntiquePhisicalAttributeAdditional4 or entity.Translation[app.request.locale].AntiquePhisicalAttributeAdditional5 or entity.Translation[app.request.locale].folkContext or entity.Translation[app.request.locale].additionalInformations ) %}
  235.                 {{ include('@openform_front_templates/AntiqueSuit/_templates/_sections/_section-3.html.twig') }}
  236.             {% endif %}
  237.             {% if entity.AntiqueSuit and entity.AntiqueSuit.AntiqueFormDesign != constant('\\App\\Package\\Openform\\Entity\\AntiqueSuit::ANTIQUE_FORM_DESIGN_MUSEUM') and ( (entity.Country and entity.Country.Translation[app.request.locale].title) or (entity.Region and entity.Region.Translation[app.request.locale].title) or (entity.GeographicalName and entity.GeographicalName.Translation[app.request.locale].title) or entity.Translation[app.request.locale].placeNameDetailed or entity.Translation[app.request.locale].descPlaceAdditional ) %}
  238.                 {{ include('@openform_front_templates/AntiqueSuit/_templates/_sections/_section-3-archive.html.twig') }}
  239.             {% endif %}
  240.             {% if entity.Artist|length > 0 and entity.AntiqueSuit and entity.AntiqueSuit.AntiqueFormDesign == constant('\\App\\Package\\Openform\\Entity\\AntiqueSuit::ANTIQUE_FORM_DESIGN_MUSEUM') %}
  241.                 {{ include('@openform_front_templates/AntiqueSuit/_templates/_sections/_section-4.html.twig') }}
  242.             {% endif %}
  243.             {% if entity.AntiqueSuit and entity.AntiqueSuit.AntiqueFormDesign != constant('\\App\\Package\\Openform\\Entity\\AntiqueSuit::ANTIQUE_FORM_DESIGN_MUSEUM') %}
  244.                 {{ include('@openform_front_templates/AntiqueSuit/_templates/_sections/_section-4-archive.html.twig') }}
  245.             {% endif %}
  246.             {% if entity.AntiqueSuit and entity.AntiqueSuit.AntiqueFormDesign == constant('\\App\\Package\\Openform\\Entity\\AntiqueSuit::ANTIQUE_FORM_DESIGN_MUSEUM') %}
  247.                 {% if (entity.AntiqueOwner and entity.AntiqueOwner.Translation[app.request.locale].title) or entity.Translation[app.request.locale].ownerCopyrights or (entity.AntiqueStorageInstitution and entity.AntiqueStorageInstitution.Translation[app.request.locale].title) or entity.inventoryNumber or (entity.AntiqueStoragePlace and entity.AntiqueStoragePlace.Translation[app.request.locale].title) or entity.purchaseDate or entity.purchaseAge or entity.purchaseYear or entity.Translation[app.request.locale].originHistory or entity.Translation[app.request.locale].ownersAdditionalInformations %}
  248.                     {{ include('@openform_front_templates/AntiqueSuit/_templates/_sections/_section-5.html.twig') }}
  249.                 {% endif %}
  250.             {% else %}
  251.                 {% if (entity.AntiqueOwner and entity.AntiqueOwner.Translation[app.request.locale].title) or entity.inventoryNumber or entity.Translation[app.request.locale].ownerCopyrights or (entity.AntiqueStoragePlace and entity.AntiqueStoragePlace.Translation[app.request.locale].title)  or entity.Translation[app.request.locale].ownersAdditionalInformations or entity.Translation[app.request.locale].shownObjectOwner or entity.Translation[app.request.locale].inscription or entity.Translation[app.request.locale].shownObjectOwnerDescription %}
  252.                     {{ include('@openform_front_templates/AntiqueSuit/_templates/_sections/_section-5-archive.html.twig') }}
  253.                 {% endif %}
  254.             {% endif %}
  255.             {{ include('@openform_front_templates/AntiqueSuit/_templates/_sections/_section-6.html.twig') }}
  256.         </div>
  257.     </div>
  258. {% endif %}