Sha256: 55953eb0b43a7b1bdb3eacc0182a044685ce60186245acdfcd134f8c6a0d55cb

Contents?: true

Size: 695 Bytes

Versions: 51

Compression:

Stored size: 695 Bytes

Contents

<% if @dynamic -%>
<div class="alert alert-info alert-dismissable">
    <p><%= _("The final host list may change because the selected query is dynamic.  It will be rerun during execution.") %></p>
</div>
<% end -%>

<% if @hosts.any? -%>
  <ul>
    <% @hosts.each do |host| -%>
        <li><%= link_to h(host.name), current_host_details_path(host), :target => '_blank' %></li>
    <% end -%>

    <% if @additional > 0 -%>
        <li><%= link_to(n_('...and %{count} more', '...and %{count} more', @additional) % {:count => @additional}, hosts_path(:search => @query, :page => 2), :target => '_blank') %></li>
    <% end -%>
  </ul>
<% else -%>
  <h3><%= _("No hosts found.") %></h3>
<% end -%>

Version data entries

51 entries across 51 versions & 1 rubygems

Version Path
foreman_remote_execution-7.1.0 app/views/job_invocations/_preview_hosts_list.html.erb
foreman_remote_execution-7.0.0 app/views/job_invocations/_preview_hosts_list.html.erb
foreman_remote_execution-5.0.7 app/views/job_invocations/_preview_hosts_list.html.erb
foreman_remote_execution-5.0.6 app/views/job_invocations/_preview_hosts_list.html.erb
foreman_remote_execution-6.2.0 app/views/job_invocations/_preview_hosts_list.html.erb
foreman_remote_execution-5.0.5 app/views/job_invocations/_preview_hosts_list.html.erb
foreman_remote_execution-6.1.0 app/views/job_invocations/_preview_hosts_list.html.erb
foreman_remote_execution-5.0.4 app/views/job_invocations/_preview_hosts_list.html.erb
foreman_remote_execution-5.0.3 app/views/job_invocations/_preview_hosts_list.html.erb
foreman_remote_execution-6.0.0 app/views/job_invocations/_preview_hosts_list.html.erb
foreman_remote_execution-5.0.2 app/views/job_invocations/_preview_hosts_list.html.erb