{% extends "admin_app.html" %} {% block head_lead %} {{ super() }} {% include "copy-snippet.html" %} {% endblock %} {% macro clipboard_button(caller=None) -%} {%- set text = caller() -%} 📋 {%- endmacro %} {% macro showuri(uri, caller=None) %} {%- if uri is none -%} — {%- else -%} {{ uri }} {% call clipboard_button() %}{{ uri }}{% endcall %} {%- endif -%} {% endmacro %} {% block content %}

{% trans %}View invitation{% endtrans %}

{{ form.csrf_token }}
Created
{{ invite.created_at | format_date }}
Valid until
{{ invite.expires | format_date }}
Landing page
{% call showuri(invite.landing_page) %}{% endcall %}
XMPP URI
{% call showuri(invite.xmpp_uri) %}{% endcall %}
{#- -#} {{ form.action_revoke(class="button secondary danger") }} {#- -#} {% trans %}Back{% endtrans %} {#- -#}
{% endblock %}