templates/Arrival/overview.html.twig line 1

Open in your IDE?
  1. {% extends "Layout/default.html.twig" %}
  2. {% block content %}
  3.     <main id="main-content" role="main" class="content-block">
  4.         {{ include('Content/includes/hero.html.twig') }}
  5.         {{ include('Navigation/breadcrumb.html.twig') }}
  6.         {% if editmode %}
  7.             <div class="editmode-box editmode-box--info mb-5 text-left">
  8.                 <div class="editmode-box__header">Settings</div>
  9.                 <div>
  10.                     <label><strong>Subtitle</strong></label>
  11.                     {{ pimcore_input('arrivalSubtitle') }}
  12.                     <label><strong>Headline</strong></label>
  13.                     {{ pimcore_input('arrivalHeadline') }}
  14.                     <label><strong>Description</strong></label>
  15.                     {{ pimcore_wysiwyg('arrivalWysiwyg') }}
  16.                     <label><strong>Disable region select</strong></label>
  17.                     {{ pimcore_checkbox('disableRegionSelect', {reload: true}) }}
  18.                 </div>
  19.             </div>
  20.         {% else %}
  21.             {{ include('Includes/main-title-block-splitted.html.twig', {
  22.                 subtitle: pimcore_input('arrivalSubtitle').data,
  23.                 headline: pimcore_input('arrivalHeadline').data,
  24.                 description: pimcore_wysiwyg('arrivalWysiwyg').data|raw,
  25.             }) }}
  26.         {% endif %}
  27.         <div class="content-block">
  28.             {% if not pimcore_checkbox('disableRegionSelect').checked %}
  29.                 <div class="container">
  30.                     <div class="row justify-content-center">
  31.                         <div class="col-md-7 col-xl-5">
  32.                             <div class="dropdown dropdown-secondary">
  33.                                 <button type="button" class="font-default-bold dropdown-toggle dropdown-toggle--select" id="regionDropdown" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
  34.                                     {{ 'arrival.change region'|trans }}
  35.                                 </button>
  36.                                 <div class="dropdown-menu" aria-labelledby="regionDropdown">
  37.                                     {% for region in regions|default([]) %}
  38.                                         <a class="dropdown-item" href="{{ region.siteConfig.home }}">{{ region.name }}</a>
  39.                                     {% endfor %}
  40.                                 </div>
  41.                             </div>
  42.                         </div>
  43.                     </div>
  44.                 </div>
  45.             {% endif %}
  46.             {{ include('areas/content-hotspot/view.html.twig') }}
  47.         </div>
  48.         {{ include('Includes/areablock.html.twig') }}
  49.         {{ include('Arrival/Includes/arrival-slide.html.twig') }}
  50.         {{ include('Includes/areablock.html.twig', {
  51.             suffix: 'bottom'
  52.         }) }}
  53.     </main>
  54. {% endblock %}