diff --git a/hc/front/views.py b/hc/front/views.py index 9542fe7a..7fe3edfe 100644 --- a/hc/front/views.py +++ b/hc/front/views.py @@ -221,6 +221,7 @@ def index(request): "enable_sms": settings.TWILIO_AUTH is not None, "enable_pd": settings.PD_VENDOR_KEY is not None, "enable_trello": settings.TRELLO_APP_KEY is not None, + "enable_matrix": settings.MATRIX_ACCESS_TOKEN is not None, "registration_open": settings.REGISTRATION_OPEN } diff --git a/templates/front/welcome.html b/templates/front/welcome.html index f33c2a11..f37fd4d4 100644 --- a/templates/front/welcome.html +++ b/templates/front/welcome.html @@ -414,6 +414,15 @@ {% endif %} + + {% if enable_matrix %} +
+
+ Matrix icon +

Matrix
Chat

+
+
+ {% endif %}