Sha256: 0cc1a2dffb3ff7720b2b926e89f3cbd62168f7c998194607c88cf61f6efb4205

Contents?: true

Size: 949 Bytes

Versions: 63

Compression:

Stored size: 949 Bytes

Contents

<h4 class="header">
  <%= link_to _("Latest Jobs"), job_invocations_path(:order=>'start_at DESC') %>
</h4>
<% if JobInvocation.latest_jobs.any? %>
  <table class="<%= table_css_classes('table-fixed') %>">
    <tr>
      <th class="col-md-5"><%= _("Name") %></th>
      <th class="col-md-2"><%= _("State") %></th>
      <th class="col-md-3"><%= _("Started") %></th>
    </tr>
    <% JobInvocation.latest_jobs.each do |invocation| %>
      <tr>
        <td class="ellipsis"><%= link_to_if_authorized invocation_description(invocation, keep_tooltip: false), hash_for_job_invocation_path(invocation).merge(:auth_object => invocation, :permission => :view_job_invocations, :authorizer => authorizer) %></td>
        <td><%= link_to_invocation_task_if_authorized(invocation) %></td>
        <td><%= time_in_words_span(invocation.start_at) %></td>
      </tr>
    <% end %>
  </table>
<% else %>
  <p class="ca"><%= _("No jobs available") %></p>
<% end %>

Version data entries

63 entries across 63 versions & 1 rubygems

Version Path
foreman_remote_execution-14.1.2 app/views/dashboard/_latest-jobs.html.erb
foreman_remote_execution-14.1.1 app/views/dashboard/_latest-jobs.html.erb
foreman_remote_execution-14.1.0 app/views/dashboard/_latest-jobs.html.erb
foreman_remote_execution-14.0.2 app/views/dashboard/_latest-jobs.html.erb
foreman_remote_execution-14.0.1 app/views/dashboard/_latest-jobs.html.erb
foreman_remote_execution-13.2.6 app/views/dashboard/_latest-jobs.html.erb
foreman_remote_execution-14.0.0 app/views/dashboard/_latest-jobs.html.erb
foreman_remote_execution-13.2.5 app/views/dashboard/_latest-jobs.html.erb
foreman_remote_execution-13.2.4 app/views/dashboard/_latest-jobs.html.erb
foreman_remote_execution-13.2.3 app/views/dashboard/_latest-jobs.html.erb
foreman_remote_execution-13.2.2 app/views/dashboard/_latest-jobs.html.erb
foreman_remote_execution-12.0.7 app/views/dashboard/_latest-jobs.html.erb
foreman_remote_execution-13.2.1 app/views/dashboard/_latest-jobs.html.erb
foreman_remote_execution-13.2.0 app/views/dashboard/_latest-jobs.html.erb
foreman_remote_execution-10.1.3 app/views/dashboard/_latest-jobs.html.erb
foreman_remote_execution-13.0.0 app/views/dashboard/_latest-jobs.html.erb
foreman_remote_execution-12.0.5 app/views/dashboard/_latest-jobs.html.erb
foreman_remote_execution-12.0.4 app/views/dashboard/_latest-jobs.html.erb
foreman_remote_execution-12.0.1 app/views/dashboard/_latest-jobs.html.erb
foreman_remote_execution-12.0.2 app/views/dashboard/_latest-jobs.html.erb