diff --git a/_includes/space-status-mobile.html b/_includes/space-status-mobile.html index 3942e1ffb3cfa93d50a410ae746e49d5cc6620f8..efcd9ce565743ad921bb611d493f880b4869b851 100644 --- a/_includes/space-status-mobile.html +++ b/_includes/space-status-mobile.html @@ -3,6 +3,7 @@ </div> <div id="event_soon_mobile" style="margin-top: 5px;"> {% capture nowunix %}{{'now' | date: '%s'}}{% endcapture -%} +<b>Demnächst:</b> {% for e in site.events -%} {% capture event_start_plus %}{{e.eventdate | date: '%s' | minus: 86400 }}{% endcapture -%} {% capture event_start %}{{e.eventdate | date: '%s' }}{% endcapture -%} diff --git a/_includes/space-status.html b/_includes/space-status.html index fff7c79e4bad71ae5ac21feed771f1843b15b6a5..bbd3c1078d151766ecc2ddf62c82704847f3cd50 100644 --- a/_includes/space-status.html +++ b/_includes/space-status.html @@ -1,5 +1,6 @@ <div id="event_soon" style="margin-top: 5px;"> {% capture nowunix %}{{'now' | date: '%s'}}{% endcapture -%} +<b>Demnächst:</b> {% for e in site.events -%} {% capture event_start_plus %}{{e.eventdate | date: '%s' | minus: 86400 }}{% endcapture -%} {% capture event_start %}{{e.eventdate | date: '%s' }}{% endcapture -%}