Merge "admin not able to set maintenance state for volume"
This commit is contained in:
commit
1b0fe09e3d
@ -41,6 +41,7 @@ STATUS_CHOICES = (
|
||||
('error', _('Error')),
|
||||
('error_deleting', _('Error Deleting')),
|
||||
('in-use', _('In Use')),
|
||||
('maintenance', _('Maintenance')),
|
||||
)
|
||||
|
||||
|
||||
|
@ -367,6 +367,7 @@ class VolumesTableBase(tables.DataTable):
|
||||
("creating", None),
|
||||
("error", False),
|
||||
("error_extending", False),
|
||||
("maintenance", False),
|
||||
)
|
||||
STATUS_DISPLAY_CHOICES = (
|
||||
("available", pgettext_lazy("Current status of a Volume",
|
||||
@ -393,6 +394,8 @@ class VolumesTableBase(tables.DataTable):
|
||||
u"Restoring Backup")),
|
||||
("error_restoring", pgettext_lazy("Current status of a Volume",
|
||||
u"Error Restoring")),
|
||||
("maintenance", pgettext_lazy("Current status of a Volume",
|
||||
u"Maintenance")),
|
||||
)
|
||||
name = tables.Column("name",
|
||||
verbose_name=_("Name"),
|
||||
|
Loading…
x
Reference in New Issue
Block a user