<% if @hosts.empty? && @clients.empty? %>

You have not configured any hosts yet

You should follow the application procedure as described here.

When your application will be approved, you may proceed with your clients configuration


<%= link_to 'New Client', new_host_path, class: 'btn btn-primary', role: 'button' %>
<% else %>
<%= link_to 'New Client', new_host_path, class: 'btn btn-primary', role: 'button' %>
<%= render partial: 'clients' if @clients.any? %> <%= render partial: 'pending_clients' if @hosts.any? %> <%= render partial: 'client_graphs', locals: { path: clients_path } if @clients.any? %> <% end %>