mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-28 08:03:36 +00:00
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>
36 lines
941 B
HTML
36 lines
941 B
HTML
{% extends "app.html" %}
|
|
{% comment %}
|
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
{% endcomment %}
|
|
|
|
{% load bootstrap %}
|
|
{% load i18n %}
|
|
{% load static %}
|
|
|
|
{% block status %}
|
|
{{ block.super }}
|
|
|
|
<h3>{% trans "Status" %}</h3>
|
|
|
|
<p>
|
|
{% url 'config:index' as index_url %}
|
|
{% if domainname %}
|
|
{% blocktrans trimmed with domainname=domainname %}
|
|
Your XMPP server domain is set to <b>{{ domainname }}</b>. User
|
|
IDs will look like <i>username@{{ domainname }}</i>. You
|
|
can setup your domain on the system
|
|
<a href="{{ index_url }}">Configure</a> page.
|
|
{% endblocktrans %}
|
|
{% else %}
|
|
Your XMPP server domain is not set. You can setup your domain on
|
|
the system <a href="{{ index_url }}">Configure</a> page.
|
|
{% endif %}
|
|
</p>
|
|
|
|
{% endblock %}
|
|
|
|
{% block page_js %}
|
|
<script type="text/javascript"
|
|
src="{% static 'ejabberd/ejabberd.js' %}"></script>
|
|
{% endblock %}
|