From b7293e8d98ac7bde90984e8f4654c2b010180a9c Mon Sep 17 00:00:00 2001 From: James Valleroy Date: Fri, 28 Oct 2016 12:49:51 -0400 Subject: [PATCH] xmpp: Adjust message for domain not set --- CHANGELOG.md | 1 + plinth/modules/xmpp/templates/xmpp.html | 16 ++++++++-------- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cd69635dc..caf733e82 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,7 @@ All notable changes to this project will be documented in this file. ### Changed - repro: Use firewalld provided SIP services. +- xmpp: Show more clearly if domain is not set. ## [0.11.0] - 2016-09-21 ### Added diff --git a/plinth/modules/xmpp/templates/xmpp.html b/plinth/modules/xmpp/templates/xmpp.html index b987335bd..4e546c455 100644 --- a/plinth/modules/xmpp/templates/xmpp.html +++ b/plinth/modules/xmpp/templates/xmpp.html @@ -29,15 +29,15 @@

{% url 'config:index' as index_url %} {% if domainname %} - {% blocktrans trimmed with domainname=domainname %} - Your XMPP server domain is set to {{ domainname }}. User - IDs will look like username@{{ domainname }}. You - can setup your domain on the system - Configure page. - {% endblocktrans %} - {% else %} - Your XMPP is not set up yet, you can setup your domain on the system + {% blocktrans trimmed with domainname=domainname %} + Your XMPP server domain is set to {{ domainname }}. User + IDs will look like username@{{ domainname }}. You + can setup your domain on the system Configure page. + {% endblocktrans %} + {% else %} + Your XMPP server domain is not set. You can setup your domain on + the system Configure page. {% endif %}