Sha256: 4a91fb48f73d4000ac05120a85ccad8227a5d7c1cf1894944d8c4655c46c9e72

Contents?: true

Size: 1.54 KB

Versions: 12

Compression:

Stored size: 1.54 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', :locals => { :job_invocation => job_invocation } %>
    <%= 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

12 entries across 12 versions & 1 rubygems

Version Path
foreman_remote_execution-3.3.7 app/views/job_invocations/_tab_overview.html.erb
foreman_remote_execution-4.0.0 app/views/job_invocations/_tab_overview.html.erb
foreman_remote_execution-3.3.6 app/views/job_invocations/_tab_overview.html.erb
foreman_remote_execution-3.3.5 app/views/job_invocations/_tab_overview.html.erb
foreman_remote_execution-3.3.4 app/views/job_invocations/_tab_overview.html.erb
foreman_remote_execution-3.3.3 app/views/job_invocations/_tab_overview.html.erb
foreman_remote_execution-3.2.2 app/views/job_invocations/_tab_overview.html.erb
foreman_remote_execution-3.3.2 app/views/job_invocations/_tab_overview.html.erb
foreman_remote_execution-3.3.1 app/views/job_invocations/_tab_overview.html.erb
foreman_remote_execution-3.3.0 app/views/job_invocations/_tab_overview.html.erb
foreman_remote_execution-3.2.1 app/views/job_invocations/_tab_overview.html.erb
foreman_remote_execution-3.2.0 app/views/job_invocations/_tab_overview.html.erb