{% load i18n %}

{% trans "Проекты" %}

{% trans "Межотдельские проекты со шагами и задачами (например, открытие аптеки)" %}

{% if ug_message %}
{{ ug_message }}
{% endif %} {% if ug_error %}
{{ ug_error }}
{% endif %}
{% with base="display:inline-flex; padding:0.375rem 0.75rem; border-radius:calc(var(--radius) - 2px); font-size:0.8125rem; font-weight:500; text-decoration:none;" %} {% trans "Все" %} {% trans "Черновики" %} {% trans "Активные" %} {% trans "Завершённые" %} {% endwith %}
{% for p in projects %}
{{ p.title }}
{% if p.pharmacy %}{{ p.pharmacy }} · {% endif %} {% if p.owner %}{{ p.owner.get_full_name }} · {% endif %} {{ p.get_status_display }} {% if p.due_date %} · {% trans "до" %} {{ p.due_date }}{% endif %}
{{ p.done_count }}/{{ p.total_count }} · {{ p.pct }}%
{% empty %}
{% trans "Проектов пока нет. Создайте из шаблона или вручную." %}
{% endfor %}
{% csrf_token %}

{% trans "Новый проект" %}