{# backend/templates/employees/department_detail.html #} {# Детальная страница отдела - рефакторированная версия #} {% extends 'base.html' %} {% load static django_bootstrap5 %} {% block title %}{{ dept.name }}{% endblock %} {% block content %} {% with dept_id=dept.id %}
{# ===== ЗАГОЛОВОК ===== #} {% include "employees/components/department_header.html" %} {# ===== ДВЕ КОЛОНКИ ===== #}
{# ===== ЛЕВАЯ КОЛОНКА: команда + инфо ===== #}
{% include "employees/components/department_team_circle.html" %} {% include "employees/components/department_info.html" %} {% include "employees/components/department_budget.html" %}
{# ===== ПРАВАЯ КОЛОНКА: настройки + лента ===== #}
{% include "employees/components/department_sidebar.html" %}
{# ===== МОДАЛЬНЫЕ ОКНА ===== #} {% include "employees/components/department_modals.html" %} {% endwith %} {% endblock %} {# ===== СТИЛИ в для правильного рендеринга ===== #} {% block extra_css %} {% include "employees/components/department_styles.html" %} {% endblock %} {# ===== СКРИПТЫ ===== #} {% block extra_js %} {% include "employees/components/department_scripts.html" %} {% endblock %}