{% if group.description %}
{% markdown group.description preset='linkonly' %}
{% else %}
Die Gruppe war zu beschäftigt eine Kurzbeschreibung zu hinterlegen.
{% endif %}
{% load rules %}
{% has_perm 'memberships.create_membership' user group as can_create %}
{% has_perm 'memberships.view_list' user group as can_list %}
{% has_perm 'sharing.invite_member' user group as can_invite %}
{% has_perm 'memberships.try_to_join' user group as can_join %}
{% has_perm 'conversations.create_group_conversation_with_membership_application' user group as can_apply %}
{% endif %}
{% test_rule "is_matrix_chat_enabled" as matrix_chat_enabled %}
{% test_rule "matrix_chat.room_is_populated" public_chat_room as public_chat_room_is_populated %}
{% if matrix_chat_enabled %}
{% if public_chat_room and public_chat_room.is_visible %}
{% if can_view_details or public_chat_room_is_populated %}