templates/Includes/Partials/weather-tab-content-tomorrow.html.twig line 1

Open in your IDE?
  1. {# @var \AppBundle\Model\DataObject\WeatherStation weatherStation #}
  2. {# @var \Pimcore\Model\DataObject\Fieldcollection\Data\WeatherStationDataSet tomorrow #}
  3. {% set tomorrow = weatherStation.tomorrow %}
  4. {% if tomorrow %}
  5.     <div class="weather-box bg-secondary">
  6.         <div class="row justify-content-center vertical-gutter--4">
  7.             <div class="col-6 col-md-3 vertical-gutter__item">
  8.                 {{ include('Includes/Partials/weather-item-detail.html.twig', {
  9.                     title: 'weather-slide.Morgends'|trans,
  10.                     temp: tomorrow.temp06,
  11.                     icon: tomorrow.symb06,
  12.                     rain: tomorrow.rrp06,
  13.                     wind: tomorrow.ff06
  14.                 }) }}
  15.             </div>
  16.             <div class="col-6 col-md-3 vertical-gutter__item">
  17.                 {{ include('Includes/Partials/weather-item-detail.html.twig', {
  18.                     title: 'weather-slide.Mittags'|trans,
  19.                     temp: tomorrow.temp12,
  20.                     icon: tomorrow.symb12,
  21.                     rain: tomorrow.rrp12,
  22.                     wind: tomorrow.ff12
  23.                 }) }}
  24.             </div>
  25.             <div class="col-6 col-md-3 vertical-gutter__item">
  26.                 {{ include('Includes/Partials/weather-item-detail.html.twig', {
  27.                     title: 'weather-slide.Abends'|trans,
  28.                     temp: tomorrow.temp18,
  29.                     icon: tomorrow.symb18,
  30.                     rain: tomorrow.rrp18,
  31.                     wind: tomorrow.ff18
  32.                 }) }}
  33.             </div>
  34.         </div>
  35.         <div class="text-center mt-3 mt-md-5">{{ tomorrow.text }}</div>
  36.     </div>
  37. {% endif %}