summaryrefslogtreecommitdiff
path: root/app/views/matches
diff options
context:
space:
mode:
authorguntasgrewal <guntasgrewal@gmail.com>2014-04-22 19:13:01 -0400
committerguntasgrewal <guntasgrewal@gmail.com>2014-04-22 19:13:01 -0400
commit38c2ff9637018d88db7083c76c133da3a72f4c31 (patch)
treeae5c381e7fe9493abfe8fa6c700df64648246fe2 /app/views/matches
parent3e86ffe1113a096541ea94567bffee79368fb863 (diff)
parent5c6d6dca48bf3d54f145e859e6d4c8b1befe1f09 (diff)
Merge branch 'master' of https://github.com/LukeShu/leaguer
Diffstat (limited to 'app/views/matches')
-rw-r--r--app/views/matches/index.html.erb2
-rw-r--r--app/views/matches/show.html.erb4
2 files changed, 1 insertions, 5 deletions
diff --git a/app/views/matches/index.html.erb b/app/views/matches/index.html.erb
index 058477a..fda8582 100644
--- a/app/views/matches/index.html.erb
+++ b/app/views/matches/index.html.erb
@@ -37,5 +37,5 @@
<br>
<% @tournament.stages_ordered.keys.sort.each do |stage_key| %>
- <div class="graph"><%= raw @tournament.stages_ordered[stage_key].to_svg %></div>
+ <div class="graph"><%= raw @tournament.stages_ordered[stage_key].to_svg(current_user) %></div>
<% end %>
diff --git a/app/views/matches/show.html.erb b/app/views/matches/show.html.erb
index e7fe791..a1d82a3 100644
--- a/app/views/matches/show.html.erb
+++ b/app/views/matches/show.html.erb
@@ -7,10 +7,6 @@
<%= @match.tournament_stage %>
</p>
-<p>
- <strong>Name:</strong>
- <%= @match.name %>
-</p>
<!--
Match Status 0 => Created, waiting to start
Match Status 1 => Match is running, waiting to finish