Skip to content
Snippets Groups Projects
Commit 0f98386a authored by Lukas Ruge's avatar Lukas Ruge
Browse files

shorter warning period

parent 90cc93ad
No related branches found
No related tags found
No related merge requests found
Pipeline #32888 passed
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
{%- assign show_m = 2 -%} {%- assign show_m = 2 -%}
{%- for m in site.maintenance -%} {%- for m in site.maintenance -%}
{%- capture m_start_plus %}{{m.eventdate | date: '%s' | minus: 259200 }}{%- endcapture -%} {%- capture m_start_plus %}{{m.eventdate | date: '%s' | minus: 172800 }}{%- endcapture -%}
{%- capture m_start %}{{m.eventdate | date: '%s' }}{%- endcapture -%} {%- capture m_start %}{{m.eventdate | date: '%s' }}{%- endcapture -%}
{%- if m_start_plus < nowunix and m_start > nowunix and show_m > 1 -%} {%- if m_start_plus < nowunix and m_start > nowunix and show_m > 1 -%}
<div id="maintenance_soon_mobile" style="margin-top: 5px;"> <div id="maintenance_soon_mobile" style="margin-top: 5px;">
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
</div> </div>
{%- assign show_m = 2 -%} {%- assign show_m = 2 -%}
{%- for m in site.maintenance -%} {%- for m in site.maintenance -%}
{%- capture m_start_plus %}{{m.eventdate | date: '%s' | minus: 259200 }}{%- endcapture -%} {%- capture m_start_plus %}{{m.eventdate | date: '%s' | minus: 172800 }}{%- endcapture -%}
{%- capture m_start %}{{m.eventdate | date: '%s' }}{%- endcapture -%} {%- capture m_start %}{{m.eventdate | date: '%s' }}{%- endcapture -%}
{%- if m_start_plus < nowunix and m_start > nowunix and show_m > 1 -%} {%- if m_start_plus < nowunix and m_start > nowunix and show_m > 1 -%}
<div id="maintenance_soon" style="margin-top: 5px;"> <div id="maintenance_soon" style="margin-top: 5px;">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment