Fix showing Component status in an Environment
Fixed status line for the component in environment Change-Id: I3eee7cde71410faa523e87ab1ab550ac22976839 Closes-Bug: #1304893
This commit is contained in:
parent
3269374769
commit
c906c0fb76
|
@ -256,15 +256,13 @@ class ServicesTable(tables.DataTable):
|
|||
_type = tables.Column(get_service_type,
|
||||
verbose_name=_('Type'))
|
||||
|
||||
status = tables.Column('status',
|
||||
status = tables.Column(lambda datum: datum['?'].get('status'),
|
||||
verbose_name=_('Status'),
|
||||
status=True,
|
||||
status_choices=STATUS_CHOICES,
|
||||
display_choices=STATUS_DISPLAY_CHOICES)
|
||||
|
||||
operation = tables.Column('operation',
|
||||
verbose_name=_('Last operation'))
|
||||
|
||||
operation_updated = tables.Column('operation_updated',
|
||||
verbose_name=_('Time updated'))
|
||||
|
||||
|
|
Loading…
Reference in New Issue