<% @nodes.each do |node| %> <% if node.person %> <% end %> <% node.ip.each do |ip| %> <% if ip.nets != nil %> <% if ip.nets.netmask != '255.255.255.255' %> <% else %> <% end %> <% else %> <% end %> <% end %> <% if node.smokeping %> <% else %> <% end %>
Name <%= node.name %>
Kommentar <%= node.comment %>
Administrator <%= node.person.email %>
Interfaces Name IP Netmask Link
<%= ip.name %> <%= link_to ip.ip, "http://#{ip.ip}" %><%= ip.nets.netmask %><%= '255.255.0.0' %><%= ip.net_id %><%= link_to "intern", "http://#{ip.name}.#{node.name}.#{node.location.name}.graz.funkfeuer.at" %> | <%= link_to "extern", "http://#{ip.name}.#{node.name}.#{node.location.name}.ext.graz.funkfeuer.at" %>
Smokepingenableddisabled

<%= link_to 'Edit', { :controller =>'node', :action => 'edit' , :id => node.id } %> | <%= link_to 'Destroy', { :controller => 'node', :action => 'destroy', :id => node.id } %>

<% end %>