Sha256: 72dbde46ec48afa33c52a81f586c488728c167441f1f4313bb78acf6a90d332f

Contents?: true

Size: 1.72 KB

Versions: 11

Compression:

Stored size: 1.72 KB

Contents

<% title @job_invocation.description %>
<% stylesheet 'job_invocations' %>
<% javascript '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

11 entries across 11 versions & 1 rubygems

Version Path
foreman_remote_execution-1.2.1 app/views/job_invocations/show.html.erb
foreman_remote_execution-1.2.0 app/views/job_invocations/show.html.erb
foreman_remote_execution-1.1.1 app/views/job_invocations/show.html.erb
foreman_remote_execution-1.1.0 app/views/job_invocations/show.html.erb
foreman_remote_execution-1.0.0 app/views/job_invocations/show.html.erb
foreman_remote_execution-0.3.2 app/views/job_invocations/show.html.erb
foreman_remote_execution-0.3.1 app/views/job_invocations/show.html.erb
foreman_remote_execution-0.3.0 app/views/job_invocations/show.html.erb
foreman_remote_execution-0.2.3 app/views/job_invocations/show.html.erb
foreman_remote_execution-0.2.2 app/views/job_invocations/show.html.erb
foreman_remote_execution-0.2.1 app/views/job_invocations/show.html.erb