From 728a406b0450d0b9ba93e214be88cbd6d9e5c047 Mon Sep 17 00:00:00 2001 From: Andrey Smakotin Date: Thu, 8 Jan 2026 22:16:01 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D0=B8=D1=8F=20=D1=88=D0=B0=D0=B1=D0=BB=D0=BE=D0=BD=D0=BE?= =?UTF-8?q?=D0=B2:=20login.html=20=D0=B8=20navbar.html?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- myproject/templates/login.html | 4 ++-- myproject/templates/navbar.html | 13 ++++++++----- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/myproject/templates/login.html b/myproject/templates/login.html index 465c006..c016195 100644 --- a/myproject/templates/login.html +++ b/myproject/templates/login.html @@ -1,6 +1,6 @@ {% extends 'base.html' %} -{% block title %}Вход{% endblock %} +{% block title %}Вход для владельца магазина{% endblock %} {% block content %}
@@ -22,7 +22,7 @@ {% endif %}
-

Вход

+

Вход для владельца магазина

{% csrf_token %} diff --git a/myproject/templates/navbar.html b/myproject/templates/navbar.html index a97c222..3ba54ab 100644 --- a/myproject/templates/navbar.html +++ b/myproject/templates/navbar.html @@ -89,11 +89,14 @@ {% if user.is_superuser %} - + {% url 'inventory:debug_page' as debug_url %} + {% if debug_url %} + + {% endif %} {% endif %} {% endif %}