{{ ug_message }}
{% endif %}
{% if ug_error %}
{{ ug_error }}
{% endif %}
{{ project.title }}
{{ project.get_status_display }} {% if project.template %} · {{ project.template.name }}{% endif %} {% if project.pharmacy %} · {{ project.pharmacy }}{% endif %} {% if project.start_date %} · {% trans "с" %} {{ project.start_date }}{% endif %} {% if project.due_date %} · {% trans "до" %} {{ project.due_date }}{% endif %}
{% if project.description %}{{ project.description }}
{% endif %}
{% if can_manage and project.status != 'cancelled' %}
{% trans "Редактировать" %}
{% endif %}
{% if can_manage and project.status == 'draft' %}
{% endif %}
{% trans "Прогресс" %}
{{ done_count }}/{{ total_count }} · {{ pct }}%
{% trans "Шаги" %}
{% for step in project.steps.all %}{{ step.order|add:1 }}. {{ step.title }}
{{ step.get_status_display }}
{% if step.planned_due %} · {% trans "до" %} {{ step.planned_due }}{% endif %}
{% if can_manage and project.status != 'cancelled' and project.status != 'done' %}
{% endif %}
{% if can_manage and project.status != 'cancelled' %}
{% if step.items.all %}
{% endif %}
{% endif %}
-
{% for item in step.items.all %}
- {% if item.task %} {{ item.title }} {% if item.department %} · {{ item.department.name }}{% endif %} · {{ item.task.get_status_display }} {% else %} {{ item.title }} {% if item.department %} · {{ item.department.name }}{% endif %} ({% trans "задача ещё не создана" %}) {% endif %} {% empty %}
- {% trans "Нет пунктов" %} {% endfor %}
{% trans "Шагов пока нет." %}
{% endfor %} {% if can_manage and project.status != 'cancelled' and project.status != 'done' %}