app/views/foreman_tasks/tasks/index.html.erb in foreman-tasks-0.11.3 vs app/views/foreman_tasks/tasks/index.html.erb in foreman-tasks-0.12.0
- old
+ new
@@ -25,11 +25,11 @@
<th class="col-md-2"><%= _("User") %></th>
</tr>
<% for task in @tasks %>
<tr>
<td class="task-id two-pane-link ellipsis">
- <%= link_to_if_authorized(task.to_label,
- hash_for_foreman_tasks_task_path(:id => task)) %>
+ <%= link_to_if_authorized(format_task_input(task),
+ hash_for_foreman_tasks_task_path(:id => task)) %>
</td>
<td class="ellipsis"><%= task.state %></td>
<td class="ellipsis"><%= task.result %></td>
<td class="ellipsis"><%= task.started_at.try(:in_time_zone) %></td>
<td class="ellipsis"><%= task.ended_at.try(:in_time_zone) %></td>