Fixed unlimited mailbox size representation with quota overview. Ensured it is

showing as Unlimited
This commit is contained in:
robvde 2012-10-06 23:31:38 +04:00
parent 5caabc42e9
commit ae5ada4f83
7 changed files with 29 additions and 36 deletions

View file

@ -107,6 +107,9 @@ namespace WebsitePanel.Portal
litValue.Text = String.Format("{0} {1} {2} {3}",
gauge.Progress, GetLocalizedString("Text.Of"), ((total == -1) ? GetLocalizedString("Text.Unlimited") : total.ToString()), availableText);
if ((gauge.Progress < 0) & (total == -1))
litValue.Text = GetLocalizedString("Text.Unlimited");
gauge.Visible = (total != -1);
//litValue.Visible = (value == -1);
}