From 9772d38a536e1da38c62641cb2f1823c8446b154 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=98=D0=B3=D0=BE=D1=80=D1=8C=20=D0=9D=D0=B0=D0=B4=D0=B5?= =?UTF-8?q?=D0=B8=D0=BD?= Date: Mon, 29 Dec 2025 15:25:18 +0300 Subject: [PATCH] =?UTF-8?q?refactor(requests):=20=D0=B7=D0=B0=D0=BC=D0=B5?= =?UTF-8?q?=D0=BD=D1=91=D0=BD=20=D1=84=D0=B8=D0=BB=D1=8C=D1=82=D1=80=20'?= =?UTF-8?q?=D0=9E=D0=B1=D0=BB=D0=B0=D1=81=D1=82=D1=8C'=20=D0=BD=D0=B0=20na?= =?UTF-8?q?v-pills=20=D0=BA=D0=B0=D0=BA=20=D0=B2=20=D0=B4=D0=BE=D0=BA?= =?UTF-8?q?=D1=83=D0=BC=D0=B5=D0=BD=D1=82=D0=B0=D1=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/templates/requests_app/_filters.html | 19 +++++++-------- .../requests_app/request_list_full.html | 23 +++++++++++++++++++ 2 files changed, 31 insertions(+), 11 deletions(-) diff --git a/backend/templates/requests_app/_filters.html b/backend/templates/requests_app/_filters.html index c55909ba..d4d5ec99 100644 --- a/backend/templates/requests_app/_filters.html +++ b/backend/templates/requests_app/_filters.html @@ -1,14 +1,11 @@ {# Фильтры для страницы заявлений #}
-
- - -
-
+ {# Сохраняем текущий view при применении фильтров #} + {% if filters.view %} + + {% endif %} + +
-
+
-
+
diff --git a/backend/templates/requests_app/request_list_full.html b/backend/templates/requests_app/request_list_full.html index 3f8d41a0..46dad3b9 100644 --- a/backend/templates/requests_app/request_list_full.html +++ b/backend/templates/requests_app/request_list_full.html @@ -21,6 +21,29 @@ {% include "includes/components/page_header.html" with icon="bi-clipboard-check" title="Заявления" no_search=True has_filters=True filters_target="reqFilters" filters_template="requests_app/_filters.html" create_as_card=True create_modal="reqCreateModal" create_text="Создать заявление" %} {% endif %} + {# ===== Nav Pills для области ===== #} + + {# ===== Список ===== #} {# DEBUG: Фильтры - type: {{ filters.type }}, status: {{ filters.status }}, count: {{ requests|length }} #}