<%= namelink server %>

<% if m = Map.find_by_name(server.map) and m.picture %> <%= image_tag m.picture.url, :width => 140, :height => 90, :class => "centered" %> <% else %> Description: <%= server.description %> <% end %>

Details

IP: <%= h server.ip %>:<%= h server.port %>

<%= cascade server, ["dns", "password", "irc", ["Owner", :user]] %> <% if server.domain == Server::DOMAIN_HLDS or server.domain == Server::DOMAIN_HLTV %> <%= link_to "Click to connect", "steam://connect/#{server.addr}" %> <% else %> <%= link_to "Click to connect", "steam://run/4920//connect #{server.ip} #{server.password}" %> <% end %>

Stats

<% if server.domain == Server::DOMAIN_HLDS or server.reservation %> <%= cascade server, ["ping", "map", "players_s", "recording_s", ["Connected to", "reservation_s"]] %> <% end %>
<% if cuser and server.can_update? cuser %> <%= link_to "Edit", edit_server_path(server) %> <% end %>