foreman/app/views/hosts/_conflicts.html.erb @ 82e47ae0
30ae12bf | Ohad Levy | <div id="host-conflicts-modal" class="modal in fade" <%= display(false) %>>
|
|
<div class="modal-header">
|
|||
82e47ae0 | Amos Benari | <a href="#" class="close" data-dismiss="modal">×</a>
|
|
30ae12bf | Ohad Levy | <h3>Conflicts have been detected</h3>
|
|
</div>
|
|||
<div class="modal-body">
|
|||
<p> The following entries were found conflicting with what foreman wanted to apply.</p>
|
|||
<p> Please review them carefully, if you are certain that they should be removed, please click on overwrite.</p>
|
|||
82e47ae0 | Amos Benari | <div class="alert alert-message alert-block base">
|
|
30ae12bf | Ohad Levy | <% @host.errors[:conflict].each do |e| -%>
|
|
<li><%= e %></li>
|
|||
<% end -%>
|
|||
</div>
|
|||
<h4>Additionally, we are about to perform the following <%@host.queue.count %> actions</h4>
|
|||
82e47ae0 | Amos Benari | <div class="alert alert-message alert-block alert-info base">
|
|
30ae12bf | Ohad Levy | <% @host.queue.all.each do |task| -%>
|
|
<li><%= task.name %></li>
|
|||
<% end -%>
|
|||
</div>
|
|||
</div>
|
|||
<div class="modal-footer">
|
|||
<a href="#" class="btn">ACK</a>
|
|||
</div>
|
|||
</div>
|