{% extends "base.html" %} {% block content %}

My rooms /

{{ name }}

Your role: {{ role }}

{% match leave %} {% when Some with (form) %}
{% when None %} {% endmatch %}

Members

{% for member in members %} {% endfor %}
MemberRoleActions
{{ member.role }} {% match member.controls %} {% when Some with (controls) %}
{% when None %} {% endmatch %}

Groups

{% if !groups.picker.is_empty() %}
{% endif %} {% if groups.groups.is_empty() %}

No group has access to this room.

{% else %}
{% for group in groups.groups %} {% endfor %}
GroupRoleActions
{{ group.name }} {{ group.role }} {% match group.controls %} {% when Some with (controls) %}
{% when None %} {% endmatch %}
{% endif %}

Invitations

{% match panel %} {% when Some with (panel) %}

Share link

Anyone with the link can join until it expires.

Invite by email

We send the link to this address.

{% match panel.share_link %} {% when Some with (link) %} {% when None %} {% endmatch %} {% if panel.invitations.is_empty() %}

No pending invitation.

{% else %}
{% for invitation in panel.invitations %} {% endfor %}
InvitationRoleExpiresUsesActions
{{ invitation.label }} {{ invitation.role }} {{ invitation.expires }} {% if invitation.usage.is_empty() %}—{% else %}{{ invitation.usage }}{% endif %}
{% endif %} {% when None %}

Only the owner can manage invitations.

{% endmatch %} {% endblock %}