diff --git a/app/auth/templates/auth/register_waiting_activation.html b/app/auth/templates/auth/register_waiting_activation.html index a6418335..19ba96bd 100644 --- a/app/auth/templates/auth/register_waiting_activation.html +++ b/app/auth/templates/auth/register_waiting_activation.html @@ -5,7 +5,7 @@ {% endblock %} {% block single_content %} -
+

An email to validate your email is on its way.

diff --git a/app/dashboard/__init__.py b/app/dashboard/__init__.py index 2f432540..3d981918 100644 --- a/app/dashboard/__init__.py +++ b/app/dashboard/__init__.py @@ -16,4 +16,5 @@ from .views import ( directory, mailbox, deleted_alias, + mailbox_detail, ) diff --git a/app/dashboard/templates/dashboard/custom_alias.html b/app/dashboard/templates/dashboard/custom_alias.html index 53b9f08a..55e95813 100644 --- a/app/dashboard/templates/dashboard/custom_alias.html +++ b/app/dashboard/templates/dashboard/custom_alias.html @@ -40,7 +40,7 @@
- {% for suffix in suffixes %}
- {% if mailboxes|length > 1 %} + {% if mailboxes|length > 1 or current_user.full_mailbox %}
- {% for mailbox in mailboxes %}
+ {% if current_user.full_mailbox and mailboxes|length > 1 %} +
+
Current mailbox
+
+
+ +
+ +
+ + + + +
+ +
+
+ {% elif alias_info.mailbox != None and alias_info.mailbox.email != current_user.email %} +
+ Owned by {{ alias_info.mailbox.email }} mailbox +
+ {% endif %} + +
-
+
-
+
-
diff --git a/app/dashboard/templates/dashboard/mailbox.html b/app/dashboard/templates/dashboard/mailbox.html index bfa07221..ee83e1c1 100644 --- a/app/dashboard/templates/dashboard/mailbox.html +++ b/app/dashboard/templates/dashboard/mailbox.html @@ -20,13 +20,15 @@ A mailbox is just another personal email address. When creating a new alias, you could choose the mailbox that owns this alias, i.e:
- all emails sent to this alias will be forwarded to this mailbox
- - from this mailbox, you can reply/send emails from the alias.
+ - from this mailbox, you can reply/send emails from the alias.

- By default, all aliases are owned by your email {{ current_user.email }}.

+ {% if current_user.full_mailbox %} + When you signed up, a mailbox is automatically created with your email {{ current_user.email }} +

+ {% endif %} The mailbox doesn't have to be your email: it can be your friend's email - if you want to create aliases for your buddy.
- They just need to validate this mailbox when they receive the activation email. + if you want to create aliases for your buddy.
{% for mailbox in mailboxes %} @@ -41,22 +43,46 @@ 🚫 {% endif %} - + {% if mailbox.id == current_user.default_mailbox_id %} +
Default Mailbox +
+ {% endif %} +
Created {{ mailbox.created_at | dt }}
- {{ mailbox.nb_alias() }} aliases. + {{ mailbox.nb_alias() }} aliases.
+
+ + Edit âž¡