<%= link_to (h @contester.team.name), team_url(@contester.team, :teamTab => "matches", :anchor => "contest_#{@contester.contest.id}") %>
<%= namelink @contester.contest %>
<% if @contester.team.logo %>
<%= image_tag @contester.team.logo.url, :class => "centered" %>
<% end %>
<%= render :partial => "matches/list", :locals => {:matches => @results, :friendly => @contester.team, :contest => false} %>
Upcoming
Opponent |
Date |
Maps |
Server |
<% @matches.each do |match| %>
<% match.friendly = @contester.team %>
<%= namelink match.get_opponent %> |
<%= link_to shorttime(match.match_time), match %> |
<%= namelink match.map1 %>, <%= namelink match.map2 %> |
<%= namelink match.server %> |
<% end %>
Rank
<%= cascade @contester, ["total", "win", "loss", "draw"] %>
<% if !@contester.active %>
INACTIVE
<% end %>
Members
<%= render :partial => "teamers/list", :locals => {:teamers => @members, :blacklist => nil, :comment => false} %>
<% if @contester.can_update? cuser %>
<%= link_to 'Edit', edit_contester_path(@contester) %> |
<% end %>
<%= link_to 'Back', @contester.contest %>