{% load i18n %} {% load markdown %} {% load interaction %}
{% for membership in memberships %} {% with group=membership.group %}

{{ group.name }} {% include 'snippets/privacy-icons.html' with item=group %}

{% if group.user == user %}
{% trans "Manager" as text %} {{ text }}
{% endif %}
{% if group.description %} {{ group.description|to_markdown|safe|truncatechars_html:30 }} {% else %}   {% endif %}
{% endwith %} {% endfor %}