Skip to content

Commit

Permalink
Merge "Change column order for Orchestration Services table"
Browse files Browse the repository at this point in the history
  • Loading branch information
Jenkins authored and openstack-gerrit committed Dec 14, 2015
2 parents 5444338 + 0a6d9ce commit 184a1e6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions openstack_dashboard/dashboards/admin/info/tables.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,14 +208,16 @@ class HeatServiceTable(tables.DataTable):
engine_id = tables.Column('engine_id', verbose_name=_('Engine Id'))
host = tables.Column('host', verbose_name=_('Host'))
topic = tables.Column('topic', verbose_name=_('Topic'))
# For consistent with other tables in system info, set column name to
# 'state'
state = tables.Column('status', verbose_name=_('State'),
display_choices=SERVICE_STATE_DISPLAY_CHOICES)
updated_at = tables.Column('updated_at',
verbose_name=pgettext_lazy(
'Time since the last update',
u'Last Updated'),
filters=(utils_filters.parse_isotime,
filters.timesince))
status = tables.Column('status', verbose_name=_('Status'),
display_choices=SERVICE_STATE_DISPLAY_CHOICES)

def get_object_id(self, obj):
return "%s" % obj.engine_id
Expand Down

0 comments on commit 184a1e6

Please sign in to comment.