[Web] Show warning, when domain exhausted and only an unlimited mailbox could be created
This commit is contained in:
parent
c846270437
commit
fd73bbc201
@ -76,11 +76,13 @@ $(document).ready(function() {
|
|||||||
def_new_mailbox_quota = ( result.def_new_mailbox_quota / 1048576);
|
def_new_mailbox_quota = ( result.def_new_mailbox_quota / 1048576);
|
||||||
max_new_mailbox_quota = ( result.max_new_mailbox_quota / 1048576);
|
max_new_mailbox_quota = ( result.max_new_mailbox_quota / 1048576);
|
||||||
if (max_new_mailbox_quota != '0') {
|
if (max_new_mailbox_quota != '0') {
|
||||||
|
$('.addInputQuotaExhausted').hide();
|
||||||
$("#quotaBadge").html('max. ' + max_new_mailbox_quota + ' MiB');
|
$("#quotaBadge").html('max. ' + max_new_mailbox_quota + ' MiB');
|
||||||
$('#addInputQuota').attr({"disabled": false, "value": "", "type": "number", "max": max_new_mailbox_quota});
|
$('#addInputQuota').attr({"disabled": false, "value": "", "type": "number", "max": max_new_mailbox_quota});
|
||||||
$('#addInputQuota').val(def_new_mailbox_quota);
|
$('#addInputQuota').val(def_new_mailbox_quota);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
$('.addInputQuotaExhausted').show();
|
||||||
$("#quotaBadge").html('max. ' + max_new_mailbox_quota + ' MiB');
|
$("#quotaBadge").html('max. ' + max_new_mailbox_quota + ' MiB');
|
||||||
$('#addInputQuota').attr({"disabled": true, "value": "", "type": "text", "value": "n/a"});
|
$('#addInputQuota').attr({"disabled": true, "value": "", "type": "text", "value": "n/a"});
|
||||||
$('#addInputQuota').val(max_new_mailbox_quota);
|
$('#addInputQuota').val(max_new_mailbox_quota);
|
||||||
|
@ -220,7 +220,8 @@
|
|||||||
"fuzzy_learn_error": "Fuzzy Lernfehler: %s",
|
"fuzzy_learn_error": "Fuzzy Lernfehler: %s",
|
||||||
"ip_invalid": "Ungültige IP übersprungen: %s",
|
"ip_invalid": "Ungültige IP übersprungen: %s",
|
||||||
"session_token": "Formular-Token ungültig: Token stimmt nicht überein",
|
"session_token": "Formular-Token ungültig: Token stimmt nicht überein",
|
||||||
"session_ua": "Formular-Token ungültig: User-Agent-Validierungsfehler"
|
"session_ua": "Formular-Token ungültig: User-Agent-Validierungsfehler",
|
||||||
|
"quota_exceeded_scope": "Domain-Quota erschöpft: Es können nur noch unlimiterte Mailboxen in dieser Domain erstellt werden."
|
||||||
},
|
},
|
||||||
"user": {
|
"user": {
|
||||||
"last_mail_login": "Letzter Mail-Login",
|
"last_mail_login": "Letzter Mail-Login",
|
||||||
|
@ -220,7 +220,8 @@
|
|||||||
"no_active_admin": "Cannot deactivate last active admin",
|
"no_active_admin": "Cannot deactivate last active admin",
|
||||||
"hash_not_found": "Hash not found or already deleted",
|
"hash_not_found": "Hash not found or already deleted",
|
||||||
"fuzzy_learn_error": "Fuzzy hash learn error: %s",
|
"fuzzy_learn_error": "Fuzzy hash learn error: %s",
|
||||||
"ip_invalid": "Skipped invalid IP: %s"
|
"ip_invalid": "Skipped invalid IP: %s",
|
||||||
|
"quota_exceeded_scope": "Domain quota exceeded: Only unlimited/unrated mailboxes can be created in this domain scope."
|
||||||
},
|
},
|
||||||
"user": {
|
"user": {
|
||||||
"no_last_login": "No last UI login information",
|
"no_last_login": "No last UI login information",
|
||||||
|
Loading…
Reference in New Issue
Block a user