Change column uptime
Renamed misleading column uptime Change-Id: Id72c10a7166943fcfef68c338a1412897ad9cc4b Closes-Bug: #1156563
This commit is contained in:
parent
35487bf8a0
commit
b5b09140b1
@ -149,7 +149,7 @@ class AdminInstancesTable(tables.DataTable):
|
|||||||
filters=(title, filters.replace_underscores),
|
filters=(title, filters.replace_underscores),
|
||||||
verbose_name=_("Power State"))
|
verbose_name=_("Power State"))
|
||||||
created = tables.Column("created",
|
created = tables.Column("created",
|
||||||
verbose_name=_("Uptime"),
|
verbose_name=_("Time since created"),
|
||||||
filters=(filters.parse_isotime,
|
filters=(filters.parse_isotime,
|
||||||
filters.timesince_sortable),
|
filters.timesince_sortable),
|
||||||
attrs={'data-type': 'timesince'})
|
attrs={'data-type': 'timesince'})
|
||||||
|
@ -911,7 +911,7 @@ class InstancesTable(tables.DataTable):
|
|||||||
verbose_name=_("Power State"),
|
verbose_name=_("Power State"),
|
||||||
display_choices=POWER_DISPLAY_CHOICES)
|
display_choices=POWER_DISPLAY_CHOICES)
|
||||||
created = tables.Column("created",
|
created = tables.Column("created",
|
||||||
verbose_name=_("Uptime"),
|
verbose_name=_("Time since created"),
|
||||||
filters=(filters.parse_isotime,
|
filters=(filters.parse_isotime,
|
||||||
filters.timesince_sortable),
|
filters.timesince_sortable),
|
||||||
attrs={'data-type': 'timesince'})
|
attrs={'data-type': 'timesince'})
|
||||||
|
@ -72,7 +72,7 @@ class ProjectUsageTable(BaseUsageTable):
|
|||||||
verbose_name=_("Instance Name"),
|
verbose_name=_("Instance Name"),
|
||||||
link=get_instance_link)
|
link=get_instance_link)
|
||||||
uptime = tables.Column('uptime_at',
|
uptime = tables.Column('uptime_at',
|
||||||
verbose_name=_("Uptime"),
|
verbose_name=_("Time since created"),
|
||||||
filters=(filters.timesince_sortable,),
|
filters=(filters.timesince_sortable,),
|
||||||
attrs={'data-type': 'timesince'})
|
attrs={'data-type': 'timesince'})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user