From b76a71819a8e4109f89912404c8f90ef224bf3dd Mon Sep 17 00:00:00 2001 From: Son NK Date: Mon, 10 Feb 2020 23:19:42 +0700 Subject: [PATCH] User can choose mailbox when creating a new alias --- .../templates/dashboard/custom_alias.html | 19 ++++++++++++++++++ app/dashboard/views/custom_alias.py | 20 ++++++++++++++++++- 2 files changed, 38 insertions(+), 1 deletion(-) diff --git a/app/dashboard/templates/dashboard/custom_alias.html b/app/dashboard/templates/dashboard/custom_alias.html index 984cdd0e..a3331ce5 100644 --- a/app/dashboard/templates/dashboard/custom_alias.html +++ b/app/dashboard/templates/dashboard/custom_alias.html @@ -48,6 +48,25 @@ + {% if mailboxes|length > 1 %} +
+
+ +
+ The mailbox that owns this alias. +
+
+
+ {% else %} + + {% endif %} +