Sha256: 2d3defd968681817bf633769570be1ed32759a51e117d8a5ac5d270b3d6d754b
Contents?: true
Size: 1.36 KB
Versions: 17
Compression:
Stored size: 1.36 KB
Contents
<% template_invocations = job_invocation.pattern_template_invocations %> <div class="card-pf card-pf-accented"> <div class="card-pf-title"> <h2 style="height: 18px;" class="card-pf-title"> <%= _('Target hosts') %> </h2> </div> <div class="card-pf-body"> <p> <% if job_invocation.bookmark.present? %> <%= _('Bookmark') %> <%= job_invocation.bookmark.name %><br> <% else %> <%= _('Manual selection') %> <% end %> <%= _('using ') %> <strong><%= _(Targeting::TYPES[job_invocation.targeting.targeting_type]).downcase %></strong> <pre><%= job_invocation.targeting.search_query %></pre> </p> <p> <% key = job_invocation.targeting.randomized_ordering ? Targeting::RANDOMIZED : Targeting::ORDERED %> <%= _('Execution order') %>: <strong><%= Targeting::ORDERINGS[key].downcase %></strong> </p> </div> <div class='card-pf-footer'> <p> <%= _('Evaluated at:') %> <%= job_invocation.targeting.resolved_at %><br> <% if template_invocations.size > 1 %> <% template_invocations.each do |template_invocation| %> <%= host_counter template_invocation.template.provider.humanized_name, ForemanTasks::Task::DynflowTask. for_action(Actions::RemoteExecution::RunHostJob). for_resource(template_invocation).uniq.size %> <% end %> <% end %> </p> </div> </div>
Version data entries
17 entries across 17 versions & 1 rubygems