Sha256: 379d8f6577acdb86a3a4509fadd97e4839b99c520fb573ed50aee978e09967c4

Contents?: true

Size: 1.83 KB

Versions: 4

Compression:

Stored size: 1.83 KB

Contents

<% title @job_invocation.description, trunc_with_tooltip(@job_invocation.description, 120) %>
<% stylesheet 'foreman_remote_execution/job_invocations' %>
<% javascript 'charts', 'foreman_remote_execution/template_invocation' %>

<% if @job_invocation.task %>
  <% title_actions(button_group(job_invocation_task_buttons(@job_invocation.task))) %>
<% end %>

<ul class="nav nav-tabs" data-tabs="tabs">
  <li class="<%= job_invocation_active_tab(:overview, params) %>"><a href="#primary" data-toggle="tab"><%= _('Overview') %></a></li>
  <li class="<%= job_invocation_active_tab(:hosts, params) %>"><a href="#hosts" data-toggle="tab"><%= _('Hosts') %></a></li>
  <% unless @job_invocation.recurring_logic.nil? %><li><a href="#recurring_logic" data-toggle="tab"><%= _('Recurring logic') %></a></li><% end %>
</ul>

<div class="tab-content">
  <div class="tab-pane <%= job_invocation_active_tab(:overview, params) %>" id="primary">
    <%= render 'tab_overview', :job_invocation => @job_invocation %>
  </div>

  <div class="tab-pane <%= job_invocation_active_tab(:hosts, params) %>" id="hosts" data-refresh_required="<%= @job_invocation.resolved? ? '' : 'true' %>">
    <%= render 'tab_hosts', :job_invocation => @job_invocation, :hosts => @hosts %>
  </div>

  <% unless @job_invocation.recurring_logic.nil? %>
  <div class="tab-pane" id="recurring_logic">
    <div class='col-md-6'>
      <% if @job_invocation.recurring_logic.try(:task_group) %>
      <%= render @job_invocation.recurring_logic.task_group, :task_group => @job_invocation.recurring_logic.try(:task_group) %>
      <% end %>
    </div>
  </div>
  <% end %>
</div>

<script id="job_invocation_refresh" data-refresh-url="<%= job_invocation_path(@job_invocation) %>">
<% if @auto_refresh %>
  delayed_refresh($('script#job_invocation_refresh').data('refresh-url'), job_invocation_refresh_data());
<% end %>
</script>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
foreman_remote_execution-1.5.0 app/views/job_invocations/show.html.erb
foreman_remote_execution-1.4.6 app/views/job_invocations/show.html.erb
foreman_remote_execution-1.4.5 app/views/job_invocations/show.html.erb
foreman_remote_execution-1.4.4 app/views/job_invocations/show.html.erb