diff --git a/plinth/modules/letsencrypt/templates/letsencrypt.html b/plinth/modules/letsencrypt/templates/letsencrypt.html index 536eba7f5..05d5c5d79 100644 --- a/plinth/modules/letsencrypt/templates/letsencrypt.html +++ b/plinth/modules/letsencrypt/templates/letsencrypt.html @@ -149,123 +149,122 @@ {% endblocktrans %}

-
- {% csrf_token %} -
- +
+

+ {% url 'ejabberd:index' as ejabberd_url %} + {% if 'ejabberd' in installed_modules and 'enabled' in status.current_domain.manage_hooks_status %} + {% blocktrans trimmed %} + If enabled, the app ejabberd + will also use the Let's Encrypt certificate. + This will reduce warnings about self-signed certificates in + client applications, and enable more wide-spread federation with + other XMPP servers in the Internet. + {% endblocktrans %} + {% elif 'ejabberd' not in installed_modules %} + {% blocktrans trimmed %} + This feature only makes sense if you are using the + ejabberd chat server app. + {% endblocktrans %} + {% else %} + {% blocktrans trimmed %} + To use a Let's Encrypt certificate for + ejabberd chat server app, you + must first enable certificate renewal of the current domain. + {% endblocktrans %} + {% endif %} +

+ + {% else %} + {% blocktrans trimmed %} + No current domain is configured. + First configure a domain to enable management of its certificates. + {% endblocktrans %} + {% endif %} + {% else %} {% blocktrans trimmed %} No domains have been configured. Configure domains to be able to