letencrypt: Fix issue with disabling matrixsynapse checkbox

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
Sunil Mohan Adapa 2019-02-13 15:40:47 -08:00
parent 781ac3d5dd
commit ee38f32f2b
No known key found for this signature in database
GPG Key ID: 43EA1CFF0AA7C5F2

View File

@ -270,7 +270,7 @@
</noscript> </noscript>
{% else %} {% else %}
<input type="checkbox" name="matrixsynapse" id="matrixsynapse" <input type="checkbox" name="matrixsynapse" id="matrixsynapse"
class="disabled"></input> disabled></input>
<noscript> <noscript>
<button class="btn btn-sm btn-default disabled" type="submit"> <button class="btn btn-sm btn-default disabled" type="submit">
{% trans "Update config" %}</button> {% trans "Update config" %}</button>
@ -294,7 +294,7 @@
{% if 'matrixsynapse' in installed_modules and 'enabled' in status.current_domain.manage_hooks_status %} {% if 'matrixsynapse' in installed_modules and 'enabled' in status.current_domain.manage_hooks_status %}
{% blocktrans trimmed %} {% blocktrans trimmed %}
If enabled, the app <a href="{{ matrixsynapse_url }}">Matrix Synapse</a> If enabled, the app <a href="{{ matrixsynapse_url }}">Matrix Synapse</a>
will also use the same Let's Encrypt certificate. will also use the same Let's Encrypt certificate.
Other Matrix Synapse instances running version 1.0 or greater expect Other Matrix Synapse instances running version 1.0 or greater expect
your server to produce a valid TLS certificate. Federation with other your server to produce a valid TLS certificate. Federation with other
instances will not work without this. instances will not work without this.