Explorar o código

Show mailbox when creating alias for user who has full_mailbox enabled

Son NK %!s(int64=5) %!d(string=hai) anos
pai
achega
bc0dc0265d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/dashboard/templates/dashboard/custom_alias.html

+ 1 - 1
app/dashboard/templates/dashboard/custom_alias.html

@@ -54,7 +54,7 @@
         </div>
         </div>
       </div>
       </div>
 
 
-      {% if mailboxes|length > 1 %}
+      {% if mailboxes|length > 1 or current_user.full_mailbox %}
         <div class="row mb-2">
         <div class="row mb-2">
           <div class="col p-1">
           <div class="col p-1">
             <select class="form-control" name="mailbox">
             <select class="form-control" name="mailbox">