{% extends 'base.html.twig' %}
{% set page_title = 'Logi: who -=#IS#=-' %}
{% block content_class_name %}logs-chats{% endblock %}

{% block content %}
    {{ parent() }}

    {% for log in logs %}
        <time class="title timeago" datetime="{{ log['date'] }}" id="{{ log['date']|date('Y-m-d') }}">{{ log['date']|localizeddate('full', 'short', 'pl')|capitalize }}</time>
        <a href="#{{ log['date']|date('Y-m-d') }}" class="permalink">¶</a>
        <br /><br />
        {{ log['contents']|raw }}
        <br />
    {% endfor %}
{% endblock %}

{% extends 'base.html.twig' %}
{% set page_title = 'Logi: who -=#IS#=-' %}
{% block content_class_name %}logs-chats{% endblock %}

{% block content %}
    {{ parent() }}

    {% if logs|length > 0 %}
        {% for log in logs %}
            <time class="title timeago" datetime="{{ log['date'] }}" id="{{ log['date']|date('Y-m-d') }}">{{ log['date']|localizeddate('full', 'short', 'pl')|capitalize }}</time>
            <a href="#{{ log['date']|date('Y-m-d') }}" class="permalink">¶</a>
            <br /><br />
            {{ log['contents']|raw }}
            <br />
        {% endfor %}
    {% else %}
        Brak logów.
    {% endif %}
{% endblock %}

Fix logs/who-is when there's no logs.
Fix logs/who-is when there's no logs.
