Sha256: 3142857d1b3dcc00e011118987d88b003e1d7a59c3b61357bb0f2fca83bfb43e

Contents?: true

Size: 1.5 KB

Versions: 31

Compression:

Stored size: 1.5 KB

Contents

<% title _('Job invocations') %>

<% title_actions(job_invocations_buttons) %>

<table class="<%= table_css_classes('table-condensed table-fixed') %>">
  <thead>
    <tr>
      <th><%= sort :description, :as => _('Description') %></th>
      <th class="col-md-1"><%= _('Search Query') %></th>
      <th class="col-md-1"><%= _('Status') %></th>
      <th class="col-md-1"><%= _('Succeeded') %></th>
      <th class="col-md-1"><%= _('Failed') %></th>
      <th class="col-md-1"><%= _('Pending') %></th>
      <th class="col-md-1"><%= _('Total hosts') %></th>
      <th class="col-md-2"><%= sort :start_at, :as => _('Start') %></th>
    </tr>
  </thead>

  <tbody>
    <% @job_invocations.each do |invocation| %>
      <tr>
        <td><%= link_to_if_authorized invocation_description(invocation), hash_for_job_invocation_path(invocation).merge(:auth_object => invocation, :permission => :view_job_invocations, :authorizer => authorizer) %></td>
        <td><%= trunc_with_tooltip(invocation&.targeting&.search_query, 15) %></td>
        <td><%= link_to_invocation_task_if_authorized(invocation) %></td>
        <td><%= invocation_result(invocation, :success_count) %></td>
        <td><%= invocation_result(invocation, :failed_count) %></td>
        <td><%= invocation_result(invocation, :pending_count) %></td>
        <td><%= invocation_result(invocation, :total_count) %></td>
        <td><%= time_in_words_span(invocation.start_at) %></td>
      </tr>
    <% end %>
  </tbody>
</table>
<%= will_paginate_with_info @job_invocations %>

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
foreman_remote_execution-3.2.2 app/views/job_invocations/index.html.erb
foreman_remote_execution-3.3.2 app/views/job_invocations/index.html.erb
foreman_remote_execution-3.3.1 app/views/job_invocations/index.html.erb
foreman_remote_execution-3.3.0 app/views/job_invocations/index.html.erb
foreman_remote_execution-3.2.1 app/views/job_invocations/index.html.erb
foreman_remote_execution-3.2.0 app/views/job_invocations/index.html.erb
foreman_remote_execution-3.1.0 app/views/job_invocations/index.html.erb
foreman_remote_execution-2.0.10 app/views/job_invocations/index.html.erb
foreman_remote_execution-2.0.9 app/views/job_invocations/index.html.erb
foreman_remote_execution-2.0.8 app/views/job_invocations/index.html.erb
foreman_remote_execution-3.0.3 app/views/job_invocations/index.html.erb
foreman_remote_execution-3.0.2 app/views/job_invocations/index.html.erb
foreman_remote_execution-2.0.7 app/views/job_invocations/index.html.erb
foreman_remote_execution-3.0.1 app/views/job_invocations/index.html.erb
foreman_remote_execution-3.0.0 app/views/job_invocations/index.html.erb
foreman_remote_execution-2.0.6 app/views/job_invocations/index.html.erb
foreman_remote_execution-2.0.5 app/views/job_invocations/index.html.erb
foreman_remote_execution-2.0.4 app/views/job_invocations/index.html.erb
foreman_remote_execution-2.0.3 app/views/job_invocations/index.html.erb
foreman_remote_execution-2.0.2 app/views/job_invocations/index.html.erb