Merge "Adds deactivated status for glance image"

This commit is contained in:
Jenkins 2015-10-07 03:23:53 +00:00 committed by Gerrit Code Review
commit 47b1ce80d1
1 changed files with 3 additions and 0 deletions

View File

@ -282,6 +282,7 @@ class ImagesTable(tables.DataTable):
("pending_delete", None),
("killed", False),
("deleted", False),
("deactivated", False),
)
STATUS_DISPLAY_CHOICES = (
("active", pgettext_lazy("Current status of an Image", u"Active")),
@ -291,6 +292,8 @@ class ImagesTable(tables.DataTable):
u"Pending Delete")),
("killed", pgettext_lazy("Current status of an Image", u"Killed")),
("deleted", pgettext_lazy("Current status of an Image", u"Deleted")),
("deactivated", pgettext_lazy("Current status of an Image",
u"Deactivated")),
)
TYPE_CHOICES = (
("image", pgettext_lazy("Type of an image", u"Image")),