diff --git a/myproject/orders/templates/orders/status_list.html b/myproject/orders/templates/orders/status_list.html index f38668a..9392178 100644 --- a/myproject/orders/templates/orders/status_list.html +++ b/myproject/orders/templates/orders/status_list.html @@ -4,152 +4,226 @@ {% block title %}Статусы заказов{% endblock %} {% block content %} -
Управление статусами для заказов вашего магазина
+ + +{{ statuses|length }} статусов в системе
| № | -Название | -Код | -Тип | -Исход сделки | -Цвет | -Заказов | -Действия | -
|---|---|---|---|---|---|---|---|
| - {{ status.order }} - | -
- {{ status.name }}
- {% if status.description %}
- - {{ status.description|truncatewords:10 }} - {% endif %} - |
-
- {{ status.code }}
- |
- - {% if status.is_system %} - Системный - {% else %} - Пользовательский - {% endif %} - | -- {% if status.is_positive_end %} - ✓ Успешный - {% elif status.is_negative_end %} - ✗ Отрицательный - {% else %} - — - {% endif %} - | -- - | -- {{ status.orders_count }} - | -
-
-
- Редактировать
-
- {% if not status.is_system and status.orders_count == 0 %}
-
- Удалить
-
- {% else %}
-
- {% endif %}
-
- |
-
| - Статусы не найдены - | -|||||||
{{ status.name }}
+Статусы не найдены
+