Merge "Fix showing Component status in an Environment"

This commit is contained in:
Jenkins 2014-04-23 21:30:21 +00:00 committed by Gerrit Code Review
commit c2bf61b161
1 changed files with 1 additions and 3 deletions

View File

@ -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'))