Sha256: f6fe2b7fe9442300edb1c41b40d994e16ccf5f06ce36c6c44bc1601f28592e2e

Contents?: true

Size: 1.14 KB

Versions: 38

Compression:

Stored size: 1.14 KB

Contents

<% title _("Tasks") %>
<% title_actions help_path%>

<style>
  .task-id {
    white-space: nowrap;
  }
  .param-name {
    display: inline-block;
    width: 10em;
  }

  .task-details pre {
    white-space: pre;
    word-break: normal;
  }
</style>

<script>
$(document).on('click', ".table-two-pane td.two-pane-link", function(e) {
  var item = $(this).find("a");
  if(item.length){
    e.preventDefault();
    two_pane_open(item);
  }
});

</script>
<table class="table table-bordered table-striped table-two-pane">
  <tr>
    <th><%= _("Action") %></th>
    <th><%= _("State") %></th>
    <th><%= _("Result") %></th>
    <th><%= sort :started_at, :as => _("Started at") %></th>
    <th><%= _("User") %></th>
  </tr>
  <% for task in @tasks %>
    <tr>
      <td class="task-id two-pane-link">
        <%= link_to_if_authorized(format_task_input(task, true),
        hash_for_foreman_tasks_task_path(:id => task)) %>
      </td>
      <td><%= task.state %></td>
      <td><%= task.result %></td>
      <td><%= task.started_at %></td>
      <td><%= task.username %></td>
    </tr>
  <% end %>
</table>
<%= page_entries_info @tasks %>
<%= will_paginate @tasks %>

Version data entries

38 entries across 38 versions & 1 rubygems

Version Path
foreman-tasks-0.6.12 app/views/foreman_tasks/tasks/index.html.erb
foreman-tasks-0.6.11 app/views/foreman_tasks/tasks/index.html.erb
foreman-tasks-0.6.10 app/views/foreman_tasks/tasks/index.html.erb
foreman-tasks-0.6.9 app/views/foreman_tasks/tasks/index.html.erb
foreman-tasks-0.6.8 app/views/foreman_tasks/tasks/index.html.erb
foreman-tasks-0.6.7 app/views/foreman_tasks/tasks/index.html.erb
foreman-tasks-0.6.6 app/views/foreman_tasks/tasks/index.html.erb
foreman-tasks-0.6.5 app/views/foreman_tasks/tasks/index.html.erb
foreman-tasks-0.6.4 app/views/foreman_tasks/tasks/index.html.erb
foreman-tasks-0.6.3 app/views/foreman_tasks/tasks/index.html.erb
foreman-tasks-0.6.2 app/views/foreman_tasks/tasks/index.html.erb
foreman-tasks-0.6.1 app/views/foreman_tasks/tasks/index.html.erb
foreman-tasks-0.6.0 app/views/foreman_tasks/tasks/index.html.erb
foreman-tasks-0.5.7 app/views/foreman_tasks/tasks/index.html.erb
foreman-tasks-0.5.6 app/views/foreman_tasks/tasks/index.html.erb
foreman-tasks-0.5.5 app/views/foreman_tasks/tasks/index.html.erb
foreman-tasks-0.5.4 app/views/foreman_tasks/tasks/index.html.erb
foreman-tasks-0.5.3 app/views/foreman_tasks/tasks/index.html.erb
foreman-tasks-0.5.2 app/views/foreman_tasks/tasks/index.html.erb
foreman-tasks-0.5.1 app/views/foreman_tasks/tasks/index.html.erb