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 %}