Sha256: 0d3aaa5e8567d50f6760e86ccddaa3366a6d8cacd237aca784dffe5fb9227bbf

Contents?: true

Size: 1.32 KB

Versions: 3

Compression:

Stored size: 1.32 KB

Contents

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

<% title_actions(job_invocations_buttons) %>

<table class="table table-bordered table-striped table-condensed">
  <thead>
    <tr>
      <th><%= sort :description, :as => _('Description') %></th>
      <th><%= _('Status') %></th>
      <th><%= _('Succeeded') %></th>
      <th><%= _('Failed') %></th>
      <th><%= _('Pending') %></th>
      <th><%= _('Total hosts') %></th>
      <th><%= sort :start_at, :as => _('Start') %></th>
    </tr>
  </thead>

  <tbody>
    <% @job_invocations.each do |invocation| %>
      <tr>
        <td><%= link_to_if_authorized "#{invocation.description.try(:capitalize) || invocation.job_category}", hash_for_job_invocation_path(invocation).merge(:auth_object => invocation, :permission => :view_job_invocations) %></td>
        <td><%= link_to_invocation_task_if_authorized(invocation) %></td>
        <td><%= invocation_count(invocation, :output_key => :success_count) %></td>
        <td><%= invocation_count(invocation, :output_key => :failed_count) %></td>
        <td><%= invocation_count(invocation, :output_key => :pending_count) %></td>
        <td><%= invocation_count(invocation, :output_key => :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

3 entries across 3 versions & 1 rubygems

Version Path
foreman_remote_execution-0.2.3 app/views/job_invocations/index.html.erb
foreman_remote_execution-0.2.2 app/views/job_invocations/index.html.erb
foreman_remote_execution-0.2.1 app/views/job_invocations/index.html.erb