Commit 6c6d57f5 by Kálmán Viktor

dashboard: switch timesince and timeuntil

parent b98d4527
...@@ -29,10 +29,10 @@ class VmListTable(Table): ...@@ -29,10 +29,10 @@ class VmListTable(Table):
attrs={'th': {'class': 'vm-list-table-thin'}}, attrs={'th': {'class': 'vm-list-table-thin'}},
) )
time_of_suspend = TemplateColumn( time_of_suspend = TemplateColumn(
'{{ record.time_of_suspend|timesince }}', '{{ record.time_of_suspend|timeuntil }}',
verbose_name=_("Suspend in")) verbose_name=_("Suspend in"))
time_of_delete = TemplateColumn( time_of_delete = TemplateColumn(
'{{ record.time_of_delete|timesince }}', '{{ record.time_of_delete|timeuntil }}',
verbose_name=_("Delete in")) verbose_name=_("Delete in"))
class Meta: class Meta:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment