templates/YoungStyria/Includes/young-styria-key-data.html.twig line 1

Open in your IDE?
  1. <div class="content-block container container-sm">
  2.     <h2 class="font-decorative">{{ 'young-styria-detail.Eckdaten'|trans }}</h2>
  3.     <ul class="feature-list list-unstyled">
  4.         {% if keyData.openingTimes|default([]) %}
  5.             <li class="feature-list__item">
  6.                 <div class="row">
  7.                     <div class="col-md-6">
  8.                         <div class="feature-list__item-title">
  9.                             <span class="icon icon-clock feature-list__item-icon" aria-hidden="true"></span>
  10.                             {{ 'young-styria-detail.Öffnungszeiten'|trans }}
  11.                         </div>
  12.                     </div>
  13.                     <div class="col-md-6">
  14.                         <div class="wysiwyg feature-list__item-wysiwyg">
  15.                             <ul>
  16.                                 {% for time in keyData.openingTimes %}
  17.                                     <li>{{ time }}</li>    
  18.                                 {% endfor %}
  19.                             </ul>
  20.                         </div>
  21.                     </div>
  22.                 </div>
  23.             </li>
  24.         {% endif %}
  25.         {% if keyData.openingPeriod|default([]) %}
  26.             <li class="feature-list__item">
  27.                 <div class="row">
  28.                     <div class="col-md-6">
  29.                         <div class="feature-list__item-title">
  30.                             <span class="icon icon-calendar feature-list__item-icon" aria-hidden="true"></span>
  31.                             {{ 'young-styria-detail.Öffnungszeitraum'|trans }}
  32.                         </div>
  33.                     </div>
  34.     
  35.                     <div class="col-md-6">
  36.                         <div class="wysiwyg feature-list__item-wysiwyg">
  37.                             <ul>
  38.                                 <li>{{ keyData.openingPeriod }}</li>
  39.                             </ul>
  40.                         </div>
  41.                     </div>
  42.                 </div>
  43.             </li>
  44.         {% endif %}
  45.         {% if keyData.guides|default([]) %}
  46.             <li class="feature-list__item">
  47.                 <div class="row">
  48.                     <div class="col-md-6">
  49.                         <div class="feature-list__item-title">
  50.                             <span class="icon icon-shoe feature-list__item-icon" aria-hidden="true"></span>
  51.                             {{ 'young-styria-detail.Führungen'|trans }}
  52.                         </div>
  53.                     </div>
  54.                     <div class="col-md-6">
  55.                         <div class="wysiwyg feature-list__item-wysiwyg">
  56.                             <ul>
  57.                                 <li>{{ keyData.guides }}</li>
  58.                             </ul>
  59.                         </div>
  60.                     </div>
  61.                 </div>
  62.             </li>
  63.         {% endif %}
  64.         {% if keyData.visitDuration|default([]) %}
  65.             <li class="feature-list__item">
  66.                 <div class="row">
  67.                     <div class="col-md-6">
  68.                         <div class="feature-list__item-title">
  69.                             <span class="icon icon-clock feature-list__item-icon" aria-hidden="true"></span>
  70.                             {{ 'young-styria-detail.Besichtigungsdauer'|trans }}
  71.                         </div>
  72.                     </div>
  73.                     <div class="col-md-6">
  74.                         <div class="wysiwyg feature-list__item-wysiwyg">
  75.                             <ul>
  76.                                 <li>{{ keyData.visitDuration }}</li>
  77.                             </ul>
  78.                         </div>
  79.                     </div>
  80.                 </div>
  81.             </li>
  82.         {% endif %}
  83.         {% if keyData.gettingThere|default([]) %}
  84.             <li class="feature-list__item">
  85.                 <div class="row">
  86.                     <div class="col-md-6">
  87.                         <div class="feature-list__item-title">
  88.                             <span class="icon icon-route-end feature-list__item-icon" aria-hidden="true"></span>
  89.                             {{ 'young-styria-detail.Anreise'|trans }}
  90.                         </div>
  91.                     </div>
  92.                     <div class="col-md-6">
  93.                         <div class="wysiwyg feature-list__item-wysiwyg">
  94.                             <ul>
  95.                                 {% for gt in keyData.gettingThere %}
  96.                                     <li>{{ gt }}</li>
  97.                                 {% endfor %}
  98.                             </ul>
  99.                         </div>
  100.                     </div>
  101.                 </div>
  102.             </li>
  103.         {% endif %}
  104.         {% if keyData.facilities|default([]) %}
  105.             <li class="feature-list__item">
  106.                 <div class="row">
  107.                     <div class="col-md-6">
  108.                         <div class="feature-list__item-title">
  109.                             <span class="icon icon-house feature-list__item-icon" aria-hidden="true"></span>
  110.                             {{ 'young-styria-detail.Hoteleinrichtungen'|trans }}
  111.                         </div>
  112.                     </div>
  113.                     <div class="col-md-6">
  114.                         <div class="wysiwyg feature-list__item-wysiwyg">
  115.                             <ul>
  116.                                 {% for facility in keyData.facilities %}
  117.                                     <li>{{ facility }}</li>
  118.                                 {% endfor %}
  119.                             </ul>
  120.                         </div>
  121.                     </div>
  122.                 </div>
  123.             </li>
  124.         {% endif %}
  125.         {% if keyData.gastronomy|default([])  %}
  126.             <li class="feature-list__item">
  127.                 <div class="row">
  128.                     <div class="col-md-6">
  129.                         <div class="feature-list__item-title">
  130.                             <span class="icon icon-cutlery feature-list__item-icon" aria-hidden="true"></span>
  131.                             {{ 'young-styria-detail.Gastronomie'|trans }}
  132.                         </div>
  133.                     </div>
  134.                     <div class="col-md-6">
  135.                         <div class="wysiwyg feature-list__item-wysiwyg">
  136.                             <ul>
  137.                                 {% for gast in keyData.gastronomy %}
  138.                                     <li>{{ gast }}</li>
  139.                                 {% endfor %}
  140.                             </ul>
  141.                         </div>
  142.                     </div>
  143.                 </div>
  144.             </li>
  145.         {% endif %}
  146.         {% if keyData.leisureFacilities|default([]) %}
  147.             <li class="feature-list__item">
  148.                 <div class="row">
  149.                     <div class="col-md-6">
  150.                         <div class="feature-list__item-title">
  151.                             <span class="icon icon-shoe feature-list__item-icon" aria-hidden="true"></span>
  152.                             {{ 'young-styria-detail.Freizeiteinrichtungen'|trans }}
  153.                         </div>
  154.                     </div>
  155.                     <div class="col-md-6">
  156.                         <div class="wysiwyg feature-list__item-wysiwyg">
  157.                             <ul>
  158.                                 {% for facility in keyData.leisureFacilities %}
  159.                                     <li>{{ facility }}</li>
  160.                                 {% endfor %}
  161.                             </ul>
  162.                         </div>
  163.                     </div>
  164.                 </div>
  165.             </li>
  166.         {% endif %}
  167.         {% if keyData.specialFeatures|default([]) %}
  168.             <li class="feature-list__item">
  169.                 <div class="row">
  170.                     <div class="col-md-6">
  171.                         <div class="feature-list__item-title">
  172.                             <span class="icon icon-star feature-list__item-icon" aria-hidden="true"></span>
  173.                             {{ 'young-styria-detail.Besonderheiten'|trans }}
  174.                         </div>
  175.                     </div>
  176.                     <div class="col-md-6">
  177.                         <div class="wysiwyg feature-list__item-wysiwyg">
  178.                             <ul>
  179.                                 {% for feature in keyData.specialFeatures %}
  180.                                     <li>{{ feature }}</li>
  181.                                 {% endfor %}
  182.                             </ul>
  183.                         </div>
  184.                     </div>
  185.                 </div>
  186.             </li>
  187.         {% endif %}
  188.         <li class="feature-list__item">
  189.             <div class="row">
  190.                 <div class="col-md-6">
  191.                     <div class="feature-list__item-title">
  192.                         <span class="icon icon-star feature-list__item-icon" aria-hidden="true"></span>
  193.                         {{ 'young-styria-detail.Autobahnabfahrt'|trans }}
  194.                     </div>
  195.                 </div>
  196.                 <div class="col-md-6">
  197.                     <div class="wysiwyg feature-list__item-wysiwyg">
  198.                         <ul>
  199.                             <li>{{ ('generic.' ~ (keyData.motorwayExit ? 'yes' : 'no'))|trans }}</li>
  200.                         </ul>
  201.                     </div>
  202.                 </div>
  203.             </div>
  204.         </li>
  205.     </ul>
  206. </div>