Sha256: 92c6af568a620798c9eb064813652bf5cf6d9130dc3f4449e98e6760dfee58e7

Contents?: true

Size: 1.13 KB

Versions: 9

Compression:

Stored size: 1.13 KB

Contents

<% title _("Tasks") %>
<% title_actions csv_link, help_button %>
<% stylesheet 'foreman_tasks/tasks' %>

<table class="<%= table_css_classes('table-fixed') %>">
  <tr>
    <th class="col-md-4"><%= _("Action") %></th>
    <th class="col-md-1"><%= _("State") %></th>
    <th class="col-md-1"><%= _("Result") %></th>
    <th class="col-md-2"><%= sort :started_at, :as => _("Started at") %></th>
    <th class="col-md-2"><%= sort :ended_at, :as => _("Ended at") %></th>
    <th class="col-md-2"><%= _("User") %></th>
  </tr>
  <% for task in @tasks %>
    <tr>
      <td class="task-id ellipsis">
        <%= link_to_if_authorized(format_task_input(task),
                                  hash_for_foreman_tasks_task_path(:id => task)) %>
      </td>
      <td class="ellipsis"><%= task.state %> <%= _("(Disabled)") if task.frozen %></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>
      <td class="ellipsis"><%= task.username %></td>
    </tr>
  <% end %>
</table>
<%= will_paginate_with_info @tasks %>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
foreman-tasks-0.14.6 app/views/foreman_tasks/tasks/index.html.erb
foreman-tasks-0.15.1 app/views/foreman_tasks/tasks/index.html.erb
foreman-tasks-0.15.0 app/views/foreman_tasks/tasks/index.html.erb
foreman-tasks-0.14.5 app/views/foreman_tasks/tasks/index.html.erb
foreman-tasks-0.14.4 app/views/foreman_tasks/tasks/index.html.erb
foreman-tasks-0.14.3 app/views/foreman_tasks/tasks/index.html.erb
foreman-tasks-0.14.2 app/views/foreman_tasks/tasks/index.html.erb
foreman-tasks-0.14.1 app/views/foreman_tasks/tasks/index.html.erb
foreman-tasks-0.14.0 app/views/foreman_tasks/tasks/index.html.erb