diff --git a/templates/team/member.html.twig b/templates/team/member.html.twig index 30e1f3d1..38f4ecec 100644 --- a/templates/team/member.html.twig +++ b/templates/team/member.html.twig @@ -22,30 +22,35 @@
{# Hide this section if keycloak groups are used to avoid confusing users #} {% if not useKeycloakGroups %} -

{% trans %}openInvitations{% endtrans %}

- + {% set openInvitations = team.members|filter(member => member.registerId) %} + {% if openInvitations|length %} +

{% trans %}openInvitations{% endtrans %}

+ + {% endif %} {% endif %}

{% trans from 'base' %}users{% endtrans %}