From-to:
<%= longdate @contest.start %>
<%= longdate @contest.end %>
Rules:
<%= namelink @contest.rules %>
Status:
<%= @contest.statuses[@contest.status] %>
Default:
Sunday: <%= h @contest.default_time.strftime("%H:%M") %>
<%= week.name %> | Date | Score | <% if @contest.contest_type == Contest::TYPE_LADDER %>Points | <% end %>
---|---|---|---|
<%= namelink match.contester1.team if match.contester1 %> vs <%= namelink match.contester2.team if match.contester1 %> | <%= shorttime match.match_time %> | <%= link_to match, :class => "bold #{match.score_color}" do %> <%= h match.score1 %> - <%= h match.score2 %> <% end %> | <% if @contest.contest_type == Contest::TYPE_LADDER %><%= match.points1 %> / <%= match.points2 %> | <% end %>
Teams | Date | Score | <% if @contest.contest_type == Contest::TYPE_LADDER %>Points | <% end %>
---|---|---|---|
<%= namelink match.contester1.team %> vs <%= namelink match.contester2.team %> | <%= shorttime match.match_time %> | <%= link_to(match) do %> <%= h match.score1 %> - <%= h match.score2 %> <% end %> | <% if @contest.contest_type == Contest::TYPE_LADDER %><%= match.points1 %> / <%= match.points2 %> | <% end %>
Teams | Date |
---|---|
<%= namelink match.contester1.team if match.contester1 %> vs <%= namelink match.contester2.team if match.contester2 %> | <%= link_to shorttime(match.match_time), match %> |
User | Result |
---|---|
<%= namelink prediction.user %> | <%= prediction.correct %> / <%= prediction.total %> correct (<%= prediction.score.to_f.round(2) %>%) |