Revision 19df8e10
Added by Dominic Cleal about 8 years ago
app/views/hosts/multiple_disassociate.html.erb | ||
---|---|---|
<%= form_tag update_multiple_disassociate_hosts_path({:host_ids => params[:host_ids]}) do %>
|
||
<small><%= _('Disassociate the selected hosts from their VMs') %></small>
|
||
<br>
|
||
<%= _('The list is excluding %s ') % (@hosts.count - @non_physical_hosts.count) %>
|
||
<%= link_to(_('physical hosts'), hosts_path(:search => "name ^ (#{@physical_hosts.join(',')})")) %>
|
||
<% physical_count = @hosts.count - @non_physical_hosts.count %>
|
||
<%= n_('The list is excluding %{count} %{link_start}physical host%{link_end}.',
|
||
'The list is excluding %{count} %{link_start}physical hosts%{link_end}.',
|
||
physical_count).html_safe % {
|
||
:count => physical_count,
|
||
:link_start => tag('a', {:href => hosts_path(:search => "name ^ (#{@physical_hosts.join(',')})")}, true),
|
||
:link_end => '</a>'.html_safe} %>
|
||
<% end %>
|
Also available in: Unified diff
refs #5707 - use plural form and one string for translation