Merge "Quotas names fixed Cores->VCPUs, Floating Ips->Floating IPs"

This commit is contained in:
Jenkins 2013-04-27 04:23:05 +00:00 committed by Gerrit Code Review
commit 327dd58685

View File

@ -21,6 +21,10 @@ class QuotaFilterAction(tables.FilterAction):
def get_quota_name(quota):
if quota.name == "cores":
return _('VCPUs')
if quota.name == "floating_ips":
return _('Floating IPs')
return quota.name.replace("_", " ").title()