mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-05-13 10:30:16 +00:00
- This improves page rendering time. If JS files are not loaded in deferred or async mode, they will halt the page rendering until JS files are loaded from network. - 'defer' mode guarantees that the load order is same as the order in which JS files appeared in the HTML page. Tests: - Run at least one function of each affected JS file and ensure that is works. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: Veiko Aasa <veiko17@disroot.org>
38 lines
1020 B
HTML
38 lines
1020 B
HTML
{% extends "app.html" %}
|
|
{% comment %}
|
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
{% endcomment %}
|
|
|
|
{% load bootstrap %}
|
|
{% load i18n %}
|
|
{% load static %}
|
|
|
|
{% block page_js %}
|
|
<script type="text/javascript" src="{% static 'ejabberd/ejabberd.js' %}"
|
|
defer></script>
|
|
{% endblock %}
|
|
|
|
{% block status %}
|
|
{{ block.super }}
|
|
|
|
<h3>{% trans "Status" %}</h3>
|
|
|
|
<p>
|
|
{% url 'names:index' as names_url %}
|
|
{% if domain_name %}
|
|
{% blocktrans trimmed with domain_name=domain_name %}
|
|
Your XMPP server domain is set to <b>{{ domain_name }}</b>. User
|
|
IDs will look like <i>username@{{ domain_name }}</i>. You
|
|
can setup your domain on the system
|
|
<a href="{{ names_url }}">Name Services</a> page.
|
|
{% endblocktrans %}
|
|
{% else %}
|
|
{% blocktrans trimmed %}
|
|
Your XMPP server domain is not set. You can setup your domain on the
|
|
system <a href="{{ names_url }}">Name Services</a> page.
|
|
{% endblocktrans %}
|
|
{% endif %}
|
|
</p>
|
|
|
|
{% endblock %}
|