matrixsynapse: Fix showing the status messages

Django template language does not support overriding blocks that are from
included pages. The status messages were shown as part of the description and
when app header was introduced, these messages were no longer being shown.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Sunil Mohan Adapa 2022-08-09 08:54:57 -07:00 committed by James Valleroy
parent 4b570e38da
commit 6af46e8e00
No known key found for this signature in database
GPG Key ID: 77C0C75E7B650808

View File

@ -6,10 +6,10 @@
{% load i18n %}
{% load static %}
{% block description %}
{% for paragraph in description %}
<p>{{ paragraph|safe }}</p>
{% endfor %}
{% block status %}
{{ block.super }}
<h3>{% trans "Status" %}</h3>
<p>
{% blocktrans trimmed %}