Skip to content

Commit

Permalink
Fix stack status displaying
Browse files Browse the repository at this point in the history
Add status choices for stacks table.
"Update" status displays correctly now: white field
instead of yellow field and progress bar.

Fixes bug 1207214

Change-Id: I36ca9a41d12a08392e021dcd4ec68642aa07ab12
  • Loading branch information
Tatiana Mazur committed Aug 9, 2013
1 parent e8b3360 commit 720194f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions openstack_dashboard/dashboards/project/stacks/tables.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,9 @@ def get_data(self, request, stack_id):
class StacksTable(tables.DataTable):
STATUS_CHOICES = (
("Create Complete", True),
("Update Complete", True),
("Create Failed", False),
("Update Failed", False),
)
name = tables.Column("stack_name",
verbose_name=_("Stack Name"),
Expand Down

0 comments on commit 720194f

Please sign in to comment.