Sha256: fbffa9d4c55eb262481d7f3f0302ce57344129cc5d97011f341c6a953fd4ef86

Contents?: true

Size: 1.49 KB

Versions: 37

Compression:

Stored size: 1.49 KB

Contents

<% template_invocations = job_invocation.pattern_template_invocations %>
<div class='row'>
  <div class="col-xs-6 col-sm-6 col-md-6">
    <%= render :partial => 'card_results' %>
    <%= render :partial => 'card_schedule', :locals => { :job_invocation => job_invocation } %>
  </div>
  <div class='col-xs-12 col-sm-6 col-md-6'>
  <%= render :partial => 'card_target_hosts', :locals => { :job_invocation => job_invocation } %>
  <% template_invocations.each do |template_invocation| %>
    <%= minicard('user', template_invocation.effective_user || Setting[:remote_execution_effective_user],
                 template_invocation.template.name + ' ' + _('effective user')) %>
    <%= minicard('cluster', job_invocation.total_hosts_count, _('Total hosts')) %>
    <% if template_invocation.input_values.present? %>
      <%= render :partial => 'card_user_input', :locals => { :template_invocation => template_invocation } %>
    <% end %>
  <% end %>
  </div>
</div>
<hr/>
<% if job_invocation.resolved? %>
  <div id="hosts" data-refresh_required="<%= job_invocation.resolved? ? '' : 'true' %>">
    <%= render :partial => 'tab_hosts', :locals => { :job_invocation => job_invocation, :hosts => hosts } %>
  </div>
<% else %>
  <div class="alert alert-warning">
    <%= _("The dynamic query '#{job_invocation.targeting.search_query}' was not resolved yet. The list of hosts to which it would resolve now can be seen") %>
    <%= link_to('here.', hosts_url(:search => job_invocation.targeting.search_query)) %>
  </div>
<% end %>

Version data entries

37 entries across 37 versions & 1 rubygems

Version Path
foreman_remote_execution-3.1.0 app/views/job_invocations/_tab_overview.html.erb
foreman_remote_execution-2.0.10 app/views/job_invocations/_tab_overview.html.erb
foreman_remote_execution-2.0.9 app/views/job_invocations/_tab_overview.html.erb
foreman_remote_execution-2.0.8 app/views/job_invocations/_tab_overview.html.erb
foreman_remote_execution-3.0.3 app/views/job_invocations/_tab_overview.html.erb
foreman_remote_execution-3.0.2 app/views/job_invocations/_tab_overview.html.erb
foreman_remote_execution-2.0.7 app/views/job_invocations/_tab_overview.html.erb
foreman_remote_execution-3.0.1 app/views/job_invocations/_tab_overview.html.erb
foreman_remote_execution-3.0.0 app/views/job_invocations/_tab_overview.html.erb
foreman_remote_execution-2.0.6 app/views/job_invocations/_tab_overview.html.erb
foreman_remote_execution-2.0.5 app/views/job_invocations/_tab_overview.html.erb
foreman_remote_execution-2.0.4 app/views/job_invocations/_tab_overview.html.erb
foreman_remote_execution-2.0.3 app/views/job_invocations/_tab_overview.html.erb
foreman_remote_execution-2.0.2 app/views/job_invocations/_tab_overview.html.erb
foreman_remote_execution-2.0.1 app/views/job_invocations/_tab_overview.html.erb
foreman_remote_execution-2.0.0 app/views/job_invocations/_tab_overview.html.erb
foreman_remote_execution-1.8.4 app/views/job_invocations/_tab_overview.html.erb
foreman_remote_execution-1.8.3 app/views/job_invocations/_tab_overview.html.erb
foreman_remote_execution-1.8.2 app/views/job_invocations/_tab_overview.html.erb
foreman_remote_execution-1.8.1 app/views/job_invocations/_tab_overview.html.erb