Improve custom alias help text

This commit is contained in:
Son NK 2020-01-22 09:17:44 +01:00
parent c969e6919a
commit f7f8c6769d
1 changed files with 5 additions and 4 deletions

View File

@ -11,11 +11,12 @@
<div class="bg-white p-6" style="max-width: 60em; margin: auto">
<h1 class="h3 mb-5">New Email Alias</h1>
{% if user_custom_domains|length == 0 %}
{% if user_custom_domains|length == 0 and not DISABLE_ALIAS_SUFFIX %}
<div class="alert alert-primary" role="alert">
You might notice a random word after the <em>.</em> in the alias.
This part is to avoid a person taking all the "nice" aliases 😉. <br>
If you add your own domain, you could fully customize the alias. <br>
You might notice a random word after the dot(<em>.</em>) in the alias.
This part is to avoid a person taking all the "nice" aliases like <b>hello@{{ EMAIL_DOMAIN }}</b>,
<b>me@{{ EMAIL_DOMAIN }}</b>, etc 😉. <br>
If you add your own domain, this restriction is removed and you can fully customize the alias. <br>
</div>
{% endif %}