xmpp: Adjust message for domain not set

This commit is contained in:
James Valleroy 2016-10-28 12:49:51 -04:00
parent fd4959da0c
commit b7293e8d98
No known key found for this signature in database
GPG Key ID: 77C0C75E7B650808
2 changed files with 9 additions and 8 deletions

View File

@ -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

View File

@ -29,15 +29,15 @@
<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 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 <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>