Merge "Quotas names fixed Cores->VCPUs, Floating Ips->Floating IPs"
This commit is contained in:
commit
327dd58685
@ -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()
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user