display domains that can be used on directory
This commit is contained in:
parent
3abcae01c1
commit
bc6daab595
|
@ -25,7 +25,11 @@
|
|||
</div>
|
||||
next time you need an email address. <br>
|
||||
<em><b>anything</b></em> could really be anything, it's up to you to invent the most creative alias 😉. <br>
|
||||
<em>your_directory</em> is the name of one of your directories. <br>
|
||||
<em>your_directory</em> is the name of one of your directories. <br><br>
|
||||
You can use the directory feature on the following domains:
|
||||
{% for alias_domain in ALIAS_DOMAINS %}
|
||||
<div class="font-weight-bold">{{ alias_domain }} </div>
|
||||
{% endfor %}
|
||||
|
||||
<div class="h4 text-primary mt-3">
|
||||
ℹ️
|
||||
|
|
|
@ -3,7 +3,7 @@ from flask_login import login_required, current_user
|
|||
from flask_wtf import FlaskForm
|
||||
from wtforms import StringField, validators
|
||||
|
||||
from app.config import EMAIL_DOMAIN
|
||||
from app.config import EMAIL_DOMAIN, ALIAS_DOMAINS
|
||||
from app.dashboard.base import dashboard_bp
|
||||
from app.extensions import db
|
||||
from app.models import Directory
|
||||
|
@ -71,4 +71,5 @@ def directory():
|
|||
dirs=dirs,
|
||||
new_dir_form=new_dir_form,
|
||||
EMAIL_DOMAIN=EMAIL_DOMAIN,
|
||||
ALIAS_DOMAINS=ALIAS_DOMAINS,
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue