Commit 5b5226c8 authored by Alexandr Musikhin's avatar Alexandr Musikhin

redisign and change name history incidents

parent 2d881b3c
---
layout: page
title: Incidents History
permalink: /history/
hide: true
---
{% assign isincident = false %}
{% for post in site.posts %}
{% unless post.next %}
<h3 class="text-primary">{{ post.date | date: '%B %Y' }}</h3>
<hr>
{% else %}
{% capture date %}{{ post.date | date: '%B %Y' }}{% endcapture %}
{% capture ndate %}{{ post.next.date | date: '%B %Y' }}{% endcapture %}
{% if date != ndate %}
<br>
<h3 class="text-primary">{{ post.date | date: '%B %Y' }}</h3>
<hr>
{% endif %}
{% endunless %}
{% if post.status == 'danger' %}
<h4>
<a href="{{ post.url | absolute_url }}">{{ post.content }}</a>
</h4>
<small class="text-muted">
Posted {{ post.date | date: '%B %d, %Y - %H:%M' }} {{ site.zone }}
</small>
<br><br>
{% assign isincident = true %}
{% endif %}
{% endfor %}
{% if isincident == false %}
<h3>There was not a single incidents.</h3>
{% endif %}
---
layout: page
title: Incidents History
permalink: /incidents/
hide: true
---
{%- for post in site.posts -%}
{%- unless post.next -%}
<tr id="{{ post.date | date: '%F' }}">
<td>
<h6 class="text-primary">{{ post.date | date: '%B %d, %Y' }}</h6>
{%- else -%}
{%- assign date = post.date | date: '%B %d, %Y' -%}
{%- assign ndate = post.next.date | date: '%B %d, %Y' -%}
{%- if date != ndate -%}
</td>
</tr>
<tr id="{{ post.date | date: '%F' }}">
<td>
<h6 class="text-primary">{{ post.date | date: '%B %d, %Y' }}</h6>
{%- endif -%}
{%- endunless -%}
<div class="row small">
<time class="col-md-2 text-monospace text-muted" datetime="{{ post.date | date_to_xmlschema }}">{{ post.date | date: '%R %z' | slice: 0, 9 }}</time>
<strong class="col-md-10{% if post.status %} text-{{ post.status }}{% endif %}">{{ post.content | remove: '<p>' | remove: '</p>' }}</strong>
</div>
{%- endfor -%}
</td>
</tr>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment