From 2dfa8abecae8f28f2ae080fa530a64efb997a54e Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Tue, 9 Aug 2022 08:58:31 -0700 Subject: [PATCH] ejabberd: 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 Reviewed-by: James Valleroy --- plinth/modules/ejabberd/templates/ejabberd.html | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/plinth/modules/ejabberd/templates/ejabberd.html b/plinth/modules/ejabberd/templates/ejabberd.html index c220994fd..106e19a2e 100644 --- a/plinth/modules/ejabberd/templates/ejabberd.html +++ b/plinth/modules/ejabberd/templates/ejabberd.html @@ -7,11 +7,10 @@ {% load i18n %} {% load static %} -{% block description %} +{% block status %} + {{ block.super }} - {% for paragraph in description %} -

{{ paragraph|safe }}

- {% endfor %} +

{% trans "Status" %}

{% url 'config:index' as index_url %}