{# ВЕРХНЯЯ НАВИГАЦИЯ #}<nav class="navbar shadow-sm" id="nav_header">
    <div class="container-fluid">
      <a class="navbar-brand mb-0 h1" href="/">Тестовое задание Frontend</a>
      <div class="navbar-nav ms-auto"><nobr>{% if request.user.is_authenticated %}
        <i class="fa-solid fa-user"></i> {{ user }}
        <a class="btn btn-secondary btn-sm ms-3"href="/logout">выход
          <i class="fa-solid fa-person-walking-arrow-right"></i>
        </a>{% else %}
        <a class="btn btn-secondary btn-sm" href="#"
           data-bs-toggle="modal" data-bs-target="#login_modal">
          <i class="fa-solid fa-right-to-bracket"></i> вход
        </a>{% endif %}</nobr>
      </div>
    </div>
  </nav>{% if not request.user.is_authenticated %}{% include "popup/logon-logout.jinja" %}{% endif %}