{% load i18n %} {% comment %} Buttons, not nested forms: they post the surrounding settings form to their own formaction, which is also how Connect picks up a client id typed but not yet saved. {% endcomment %}
{% if provider.connection_state == "connected" %}

{% trans "Connected" %}

{% elif provider.connection_state == "expired" %}
{% blocktrans trimmed %} The connection to Moloni has expired. Invoices can't be issued until you connect again. {% endblocktrans %}
{% else %}

{% trans "Not connected" %}

{% endif %} {% if provider.connection_state %} {% endif %} {% blocktrans trimmed with uri=provider.redirect_uri %} Register {{ uri }} as the redirect URI of your Moloni developer app. Once connected, no username or password is needed. {% endblocktrans %}