{# One share row of the group edit page: kind = imap|sogo, grant = {} for the add template #} {% set level_key = kind == 'imap' ? 'rights' : 'access' %} {# new IMAP shares are subscribed by default, like automapping in Exchange #} {% set subscribed = grant.owner is defined ? grant.subscribe|default(0) == 1 : kind == 'imap' %} {% if kind == 'sogo' %} {% endif %}
{% if grant.state %} {{ attribute(lang.groups, 'grant_state_' ~ grant.state) }} {% endif %} {% if not ro %} {% endif %}