Sha256: 39b5e1154a9ed9886bf778784b5492e1415595ed15cbdc0d2bb5ab9e32851fe3

Contents?: true

Size: 1.38 KB

Versions: 8

Compression:

Stored size: 1.38 KB

Contents

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

<% title_actions(job_invocations_buttons) %>

<table class="table table-bordered table-striped table-condensed table-fixed">
  <thead>
    <tr>
      <th><%= sort :description, :as => _('Description') %></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.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_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

8 entries across 8 versions & 1 rubygems

Version Path
foreman_remote_execution-1.2.1 app/views/job_invocations/index.html.erb
foreman_remote_execution-1.2.0 app/views/job_invocations/index.html.erb
foreman_remote_execution-1.1.1 app/views/job_invocations/index.html.erb
foreman_remote_execution-1.1.0 app/views/job_invocations/index.html.erb
foreman_remote_execution-1.0.0 app/views/job_invocations/index.html.erb
foreman_remote_execution-0.3.2 app/views/job_invocations/index.html.erb
foreman_remote_execution-0.3.1 app/views/job_invocations/index.html.erb
foreman_remote_execution-0.3.0 app/views/job_invocations/index.html.erb