Server: <%= h @server.name %>

<%= image_tag "servers/#{@server.id}.png", :width => 350, :height => 227, :class => "centered" %>
<% if @server.map %> <%= image_tag "maps/" + @server.map + ".gif", :width => 150, :height => 100, :class => "centered" %> <% end %>

<%= h @server.name %>

IP: <%= link_to @server.addr, "steam://connect/#{@server.addr}" %>

<%= cascade @server, ["dns", "password", "irc", ["Owner", :user], "description"] %>

Reservations

<% @server.matches.order("id DESC").limit(10).each do |match| %> <% end %>
Teams Time
<%= link_to match, match %> <%= longtime match.match_time %>
<% if @server.can_update? cuser %> <%= link_to 'Edit', edit_server_path(@server) %> | <%= link_to 'Admin', :action => "admin", :id => @server %> | <% if @server.domain == Server::DOMAIN_HLTV %> <%= link_to 'Default Record', :action => "default", :id => @server %> | <% end %> <% end %> <%= link_to 'Back', servers_path %>