{# Translation helper '_' is provided globally by Flask-Babel – no local override needed #}

{{ _("Latest Accepted Invites") }}

{% if recent_users %}
{% set show_range = start_index and end_index and total %}
{% if show_range %}{{ _("Showing") }} {{ start_index }}-{{ end_index }} {{ _("of") }} {{ total }}{% endif %}
{% if total_pages and total_pages > 1 %}
{{ _("Page") }} {{ page }} / {{ total_pages }}
{% endif %}
{% elif invites %}
{% set show_range = start_index and end_index and total %}
{% if show_range %}Showing {{ start_index }}-{{ end_index }} of {{ total }}{% endif %}
{% if total_pages and total_pages > 1 %}
Page {{ page }} / {{ total_pages }}
{% endif %}
{% else %}

{{ _("No recent invitations accepted") }}

{{ _("Accepted invitations will appear here") }}

{% endif %}