{{ admin_view.admin.name }}
    {% for item in admin_view.admin.menu() %} {% if item.is_category() %} {% set children = item.get_children() %} {% if children %} {% if item.is_active(admin_view) %}
  • {% else %}
  • {% endif %} {{ item.name }}
      {% for child in children %} {% if child.is_active(admin_view) %}
    • {% else %}
    • {% endif %} {{ child.name }}
    • {% endfor %}
  • {% endif %} {% else %} {% if item.is_accessible() %} {% if item.is_active(admin_view) %}
  • {% else %}
  • {% endif %} {{ item.name }}
  • {% endif %} {% endif %} {% endfor %}
{#
  • {% if user.is_logged_in() %} {{user.email}}
    • Logout
    {% else %} Войти {% endif %}
#}