Sha256: 18c260bcdca81cd89bdc86fa8c3d6ef86487f7a69e4284e0fbf5aee4ea0b057b

Contents?: true

Size: 1.12 KB

Versions: 5

Compression:

Stored size: 1.12 KB

Contents

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

<style>
  .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(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.username %></td>
    </tr>
  <% end %>
</table>
<%= page_entries_info @tasks %>
<%= will_paginate @tasks %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
foreman-tasks-0.7.1 app/views/foreman_tasks/tasks/index.html.erb
foreman-tasks-0.7.0 app/views/foreman_tasks/tasks/index.html.erb
foreman-tasks-0.6.15 app/views/foreman_tasks/tasks/index.html.erb
foreman-tasks-0.6.14 app/views/foreman_tasks/tasks/index.html.erb
foreman-tasks-0.6.13 app/views/foreman_tasks/tasks/index.html.erb