{% extends "layout_plan.html" %} {% load filters %} {% block title %}Сводка{% endblock %} {% block styles %} {% endblock %} {% block content %} {% if opened_issues|length > 0 %}

Открытые выпуски: {% for issue in opened_issues %} {{ issue }}{% if forloop.last is False %}, {% else %}. {% endif %} {% endfor %}

{% endif %}
{% if need_to_vote|length > 0 %} {% endif %} {% if self_posts|length > 0%}

Материалы на мне

{% with posts=self_posts %} {% include 'magplan/partials/posts_table.html' %} {% endwith %}
{% endif %}

План публикаций

{% for day, posts in schedule.items %} {% if posts|length > 1 %} {% for post in posts %} {% if forloop.first is True %} {% else %} {% endif %} {% endfor %} {% elif posts|length == 1 %} {% else %} {% endif %} {% if forloop.counter == 5 %} {% endif %} {% endfor %}
День Дата Статья Редактор Этап
{{ day|date:'D' }} {{ day|date:'j M' }}
{{ post }} (ред) {{ post.editor }} {{ post.stage }}
{{ day|date:'D' }} {{ day|date:'j M' }} {{ posts.0 }} (ред) {{ posts.0.editor }} {{ posts.0.stage }}
{{ day|date:'D' }} {{ day|date:'j M' }}
{% endblock %}