From ed35996fd4cce6174ad67c443787ba75e5bdc57d Mon Sep 17 00:00:00 2001 From: codex Date: Fri, 27 Nov 2026 12:31:07 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A1=D0=BE=D1=85=D1=80=D0=B0=D0=BD=D0=B8?= =?UTF-8?q?=D1=82=D1=8C=20=D0=BF=D1=83=D1=81=D1=82=D0=BE=D0=B5=20=D1=81?= =?UTF-8?q?=D0=BE=D1=81=D1=82=D0=BE=D1=8F=D0=BD=D0=B8=D0=B5=20=D0=BF=D1=80?= =?UTF-8?q?=D0=BE=D1=84=D0=B8=D0=BB=D1=8F=20=D1=82=D0=BE=D0=BB=D1=8C=D0=BA?= =?UTF-8?q?=D0=BE=20=D1=81=20=D0=BD=D0=BE=D0=B2=D0=BE=D1=81=D1=82=D1=8F?= =?UTF-8?q?=D0=BC=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/templates/employee_detail.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/templates/employee_detail.html b/app/templates/employee_detail.html index 5c5230b..696a43e 100644 --- a/app/templates/employee_detail.html +++ b/app/templates/employee_detail.html @@ -126,7 +126,7 @@ {% endif %} {% set profile_sections = employee_view.sections | rejectattr('type', 'in', ['news', 'additional_education']) | list %} - {% if profile_sections or not employee_view.sections %} + {% if profile_sections or not (employee_view.sections | selectattr('type', 'equalto', 'additional_education') | list) %}

Разделы профиля

{% if profile_sections %} @@ -241,7 +241,7 @@ {% endfor %} - {% elif not employee_view.sections %} + {% else %}

Разделы профиля не найдены.

{% endif %}