app/views/foreman_tasks/tasks/index.html.erb in foreman-tasks-0.10.6 vs app/views/foreman_tasks/tasks/index.html.erb in foreman-tasks-0.10.7
- old
+ new
@@ -1,7 +1,7 @@
<% title _("Tasks") %>
-<% title_actions SETTINGS[:version].short <= '1.13' ? help_path : help_button %>
+<% title_actions csv_link, help_button %>
<% stylesheet 'foreman_tasks/tasks' %>
<script>
var currentTwoPaneTask;
@@ -25,10 +25,10 @@
<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(format_task_input(task, true),
+ <%= link_to_if_authorized(task.to_label,
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>