{% load i18n %}
Project groups:
{% if user.user_groups.all %} {% for group in user.user_groups.all %} {% if request.user.is_superuser or is_cid_user_manager %} {% else %} {{ group.name }} {% endif %} {% endfor %} {% else %}
No groups.
{% endif %} {% if request.user.is_superuser or is_cid_user_manager %} {% if available_groups.count %} {% endif %} {% endif %}
{# Auth groups moved to the Permission groups area in profile.html #}