Put units in paranthesis in Create Flavor form
In the Create/Edit Flavor forms and Project Quota forms: - Admin -> Flavors -> Create/Edit Flavors - Identity -> Projects -> Create Projects -> Quota some of the units need to be enclosed within paranthesis to be consistent with the way units are represented in other form like: - Admin -> Images -> Create Image - Project -> Volumes -> Create Volume Change-Id: I96cd9f6c4fe46e51f462ff29a45182ded15b76dd Closes-Bug: #1372029
This commit is contained in:
parent
720418039c
commit
3e4c569862
@ -45,13 +45,13 @@ class CreateFlavorInfoAction(workflows.Action):
|
||||
help_text=_flavor_id_help_text)
|
||||
vcpus = forms.IntegerField(label=_("VCPUs"),
|
||||
min_value=1)
|
||||
memory_mb = forms.IntegerField(label=_("RAM MB"),
|
||||
memory_mb = forms.IntegerField(label=_("RAM (MB)"),
|
||||
min_value=1)
|
||||
disk_gb = forms.IntegerField(label=_("Root Disk GB"),
|
||||
disk_gb = forms.IntegerField(label=_("Root Disk (GB)"),
|
||||
min_value=0)
|
||||
eph_gb = forms.IntegerField(label=_("Ephemeral Disk GB"),
|
||||
eph_gb = forms.IntegerField(label=_("Ephemeral Disk (GB)"),
|
||||
min_value=0)
|
||||
swap_mb = forms.IntegerField(label=_("Swap Disk MB"),
|
||||
swap_mb = forms.IntegerField(label=_("Swap Disk (MB)"),
|
||||
min_value=0)
|
||||
|
||||
class Meta:
|
||||
|
@ -41,7 +41,7 @@ PROJECT_GROUP_MEMBER_SLUG = "update_group_members"
|
||||
|
||||
|
||||
class UpdateProjectQuotaAction(workflows.Action):
|
||||
ifcb_label = _("Injected File Content Bytes")
|
||||
ifcb_label = _("Injected File Content (Bytes)")
|
||||
metadata_items = forms.IntegerField(min_value=-1,
|
||||
label=_("Metadata Items"))
|
||||
cores = forms.IntegerField(min_value=-1, label=_("VCPUs"))
|
||||
|
Loading…
Reference in New Issue
Block a user