diff --git a/app/views/home/index.html.erb b/app/views/home/index.html.erb index b7b48af..bc0367a 100644 --- a/app/views/home/index.html.erb +++ b/app/views/home/index.html.erb @@ -36,8 +36,8 @@ <% users = User.all %> - <% nodes = Node.all %> - <% vols = ssh_volume_info %> + <% nodes = ssh_nodes %> + <% volumes = ssh_volume_info %> <% today_user = User.where(:last_sign_in_at => Date.today..Date.tomorrow) %> <% today_node = Node.where(:created_at => Date.today..Date.tomorrow) %>
<%= node["host_ip"] %> <%= node["user_name"] %>
- <% if node["gluster"].eql? "on" %> -number of peers: <%= node["number_of_peers"] %>
- <% end %> -<%= node["host_ip"] %> <%= node["user_name"] %>
+ <% if node["gluster"].eql? "on" %> +number of peers: <%= node["number_of_peers"] %>
+ <% end %> +