{# @var \AppBundle\Model\DataObject\WeatherStation weatherStation #}
{# @var \Pimcore\Model\DataObject\Fieldcollection\Data\WeatherStationDataSet today #}
{% set today = weatherStation.today %}
{% if today %}
<div class="weather-box bg-secondary">
<div class="row justify-content-center vertical-gutter--4">
<div class="col-6 col-md-3 vertical-gutter__item">
{{ include('Includes/Partials/weather-item-detail.html.twig', {
title: 'weather-slide.Morgends'|trans,
temp: today.temp06,
icon: today.symb06,
rain: today.rrp06,
wind: today.ff06
}) }}
</div>
<div class="col-6 col-md-3 vertical-gutter__item">
{{ include('Includes/Partials/weather-item-detail.html.twig', {
title: 'weather-slide.Mittags'|trans,
temp: today.temp12,
icon: today.symb12,
rain: today.rrp12,
wind: today.ff12
}) }}
</div>
<div class="col-6 col-md-3 vertical-gutter__item">
{{ include('Includes/Partials/weather-item-detail.html.twig', {
title: 'weather-slide.Abends'|trans,
temp: today.temp18,
icon: today.symb18,
rain: today.rrp18,
wind: today.ff18
}) }}
</div>
</div>
<div class="text-center mt-3 mt-md-5">{{ today.text }}</div>
</div>
{% endif %}