{% load i18n icons permissions %} {% if not user.is_active %} {% icon "ban" %} {% trans "Disabled" %}
{% endif %} {% if user.is_superuser %} {% icon "users-cog" %} {% trans "Administrator" %}
{% endif %} {% if user|has_addevent_group %} {% icon "calendar-plus" %} {% trans "Add events" %}
{% endif %} {% if user|has_adduser_group %} {% icon "user" %} {% trans "Add users" %}
{% endif %} {% if user|has_sendnews_group %} {% icon "mail-bulk" %} {% trans "Send newsletter" %}
{% endif %}