{% load i18n static jet_tags %} {% if user.is_active and user.is_staff %} {% if SIDE_MENU_COMPACT %} {% for app in app_list %} {% if app.has_perms %} {% endif %} {% endfor %} {% else %}
{% csrf_token %}
{% endif %} {% endif %}