diff --git a/project/templates/base.html b/project/templates/base.html index bebfd80..ab94845 100644 --- a/project/templates/base.html +++ b/project/templates/base.html @@ -89,9 +89,11 @@ {% block top_menu %} {% endblock %} diff --git a/project/templates/menu/menu.html b/project/templates/menu/menu.html index 9de1ab4..d5b41fe 100644 --- a/project/templates/menu/menu.html +++ b/project/templates/menu/menu.html @@ -11,7 +11,9 @@ {% url 'customer_profile_view' as customer_profile_view %} {% url 'customer_clients_list' as customer_clients_list %} -{% if user.is_anonymous %} +{# if user.is_authenticated #} + +{% if not user.is_authenticated %} {% for child in children|slice:":4" %}
  • {{ child.get_menu_title }} @@ -38,7 +40,7 @@ {% endif %}
  • Другие документы -{% if user.is_anonymous %} +{% if not user.is_authenticated %}