app/views/foreman_tasks/tasks/index.html.erb in foreman-tasks-0.7.3 vs app/views/foreman_tasks/tasks/index.html.erb in foreman-tasks-0.7.4

- old
+ new

@@ -30,20 +30,22 @@ <tr> <th><%= _("Action") %></th> <th><%= _("State") %></th> <th><%= _("Result") %></th> <th><%= sort :started_at, :as => _("Started at") %></th> + <th><%= sort :ended_at, :as => _("Ended at") %></th> <th><%= _("User") %></th> </tr> <% for task in @tasks %> <tr> <td class="task-id two-pane-link"> <%= link_to_if_authorized(trunc_with_tooltip(format_task_input(task, true), 80), hash_for_foreman_tasks_task_path(:id => task)) %> </td> <td><%= task.state %></td> <td><%= task.result %></td> - <td><%= task.started_at %></td> + <td><%= task.started_at.try(:in_time_zone) %></td> + <td><%= task.ended_at.try(:in_time_zone) %></td> <td><%= task.username %></td> </tr> <% end %> </table> <%= page_entries_info @tasks %>