diff --git a/app/static/admin.css b/app/static/admin.css index fb28861..b92cde9 100644 --- a/app/static/admin.css +++ b/app/static/admin.css @@ -679,14 +679,6 @@ border: 0; } -.directory__filter-legend { - grid-column: 1 / -1; - margin-bottom: 2px; - color: #374151; - font-size: 12px; - font-weight: 700; -} - .directory__field { display: grid; gap: 5px; diff --git a/app/templates/directory.html b/app/templates/directory.html index e57c5db..0f26bc1 100644 --- a/app/templates/directory.html +++ b/app/templates/directory.html @@ -50,8 +50,7 @@
Дополнительные фильтры{% if has_extra_filters %} · применены{% endif %}
-
- Статус и данные +
-
- Повышение квалификации +
diff --git a/app/version.py b/app/version.py index 40c9de5..7875975 100644 --- a/app/version.py +++ b/app/version.py @@ -1,3 +1,3 @@ -APP_VERSION = "2.1.1" -FRONTEND_VERSION = "2.1.1" -BACKEND_VERSION = "2.1.1" +APP_VERSION = "2.1.2" +FRONTEND_VERSION = "2.1.2" +BACKEND_VERSION = "2.1.2" diff --git a/pyproject.toml b/pyproject.toml index d4ffe55..1ace9d8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "miem-workers" -version = "2.1.1" +version = "2.1.2" description = "MIEM employees parser, admin API, and web admin" requires-python = ">=3.11" dependencies = [ diff --git a/tests/test_api.py b/tests/test_api.py index ec2ba73..a698838 100644 --- a/tests/test_api.py +++ b/tests/test_api.py @@ -22,7 +22,7 @@ def test_health_returns_versions(): response = TestClient(app).get("/api/health") assert response.status_code == 200 - assert response.json()["backend_version"] == "2.1.1" + assert response.json()["backend_version"] == "2.1.2" def test_api_employees_and_stats_require_admin_session(): diff --git a/tests/test_council.py b/tests/test_council.py index 731c470..8d2a826 100644 --- a/tests/test_council.py +++ b/tests/test_council.py @@ -230,7 +230,7 @@ def test_public_page_data_minimization_and_safe_links(db_session, export): assert "javascript:" not in fragment.text and "private@example.org" not in fragment.text assert "javascript:" not in response.text and "private@example.org" not in response.text assert "/admin/employees/" not in response.text and "/admin/logout" not in response.text - assert "Backend 2.1.1 · Frontend 2.1.1" in response.text + assert "Backend 2.1.2 · Frontend 2.1.2" in response.text assert "Вход в систему" in response.text assert client.get("/admin/directory", follow_redirects=False).status_code in (302, 303, 401, 403) assert "Сотрудники не найдены" in client.get("/admin/council?q=missing").text