From 5173f8209a0d33b6343ab422689c4ed7f1a226f5 Mon Sep 17 00:00:00 2001 From: Jacob Cody Wimer Date: Thu, 5 Nov 2015 08:23:29 -0500 Subject: [PATCH] Putting score in correct spot --- .../_fourPoolQuarterBracket.html.erb | 28 +++++++++---------- .../tournaments/_fourPoolSemiBracket.html.erb | 24 ++++++++-------- .../tournaments/_twoPoolFinalBracket.html.erb | 8 +++--- .../tournaments/_twoPoolSemiBracket.html.erb | 12 ++++---- 4 files changed, 36 insertions(+), 36 deletions(-) diff --git a/app/views/tournaments/_fourPoolQuarterBracket.html.erb b/app/views/tournaments/_fourPoolQuarterBracket.html.erb index 216510c..fbd94b2 100644 --- a/app/views/tournaments/_fourPoolQuarterBracket.html.erb +++ b/app/views/tournaments/_fourPoolQuarterBracket.html.erb @@ -65,9 +65,9 @@ li.game{ <% @matches.select{|m|m.bracket_position == "Quarter"}.sort_by{|m| m.bracket_position_number}.each do |match| %>
  •  
  • -
  • <%= match.w1_name %> Score
  • +
  • <%= match.w1_name %>
  • <%= match.bout_number %> <%= match.bracketScore %> 
  • -
  • <%= match.w2_name %>Score
  • +
  • <%= match.w2_name %>
  •  
  • @@ -77,9 +77,9 @@ li.game{ <% @matches.select{|m|m.bracket_position == "Semis"}.sort_by{|m| m.bracket_position_number}.each do |match| %>
  •  
  • -
  • <%= match.w1_name %> Score
  • +
  • <%= match.w1_name %>
  • <%= match.bout_number %> <%= match.bracketScore %> 
  • -
  • <%= match.w2_name %>Score
  • +
  • <%= match.w2_name %>
  •  
  • @@ -89,9 +89,9 @@ li.game{ <% @matches.select{|m|m.bracket_position == "1/2"}.each do |match| %>
  •  
  • -
  • <%= match.w1_name %> Score
  • +
  • <%= match.w1_name %>
  • <%= match.bout_number %> <%= match.bracketScore %> 
  • -
  • <%= match.w2_name %>Score
  • +
  • <%= match.w2_name %>
  •  
  • @@ -114,9 +114,9 @@ li.game{ <% @matches.select{|m|m.bracket_position == "3/4"}.each do |match| %>
  •  
  • -
  • <%= match.w1_name %> Score
  • +
  • <%= match.w1_name %>
  • <%= match.bout_number %> <%= match.bracketScore %> 
  • -
  • <%= match.w2_name %>Score
  • +
  • <%= match.w2_name %>
  •  
  • @@ -139,9 +139,9 @@ li.game{ <% @matches.select{|m|m.bracket_position == "Conso Semis"}.sort_by{|m| m.bracket_position_number}.each do |match| %>
  •  
  • -
  • <%= match.w1_name %> Score
  • +
  • <%= match.w1_name %>
  • <%= match.bout_number %> <%= match.bracketScore %> 
  • -
  • <%= match.w2_name %>Score
  • +
  • <%= match.w2_name %>
  •  
  • @@ -151,9 +151,9 @@ li.game{ <% @matches.select{|m|m.bracket_position == "5/6"}.each do |match| %>
  •  
  • -
  • <%= match.w1_name %> Score
  • +
  • <%= match.w1_name %>
  • <%= match.bout_number %> <%= match.bracketScore %> 
  • -
  • <%= match.w2_name %>Score
  • +
  • <%= match.w2_name %>
  •  
  • @@ -176,9 +176,9 @@ li.game{ <% @matches.select{|m|m.bracket_position == "7/8"}.each do |match| %>
  •  
  • -
  • <%= match.w1_name %> Score
  • +
  • <%= match.w1_name %>
  • <%= match.bout_number %> <%= match.bracketScore %> 
  • -
  • <%= match.w2_name %>Score
  • +
  • <%= match.w2_name %>
  •  
  • diff --git a/app/views/tournaments/_fourPoolSemiBracket.html.erb b/app/views/tournaments/_fourPoolSemiBracket.html.erb index 8f7791c..d52c13c 100644 --- a/app/views/tournaments/_fourPoolSemiBracket.html.erb +++ b/app/views/tournaments/_fourPoolSemiBracket.html.erb @@ -65,9 +65,9 @@ li.game{ <% @matches.select{|m|m.bracket_position == "Semis"}.sort_by{|m| m.bracket_position_number}.each do |match| %>
  •  
  • -
  • <%= match.w1_name %> Score
  • +
  • <%= match.w1_name %>
  • <%= match.bout_number %> <%= match.bracketScore %> 
  • -
  • <%= match.w2_name %>Score
  • +
  • <%= match.w2_name %>
  •  
  • @@ -77,9 +77,9 @@ li.game{ <% @matches.select{|m|m.bracket_position == "1/2"}.each do |match| %>
  •  
  • -
  • <%= match.w1_name %> Score
  • +
  • <%= match.w1_name %>
  • <%= match.bout_number %> <%= match.bracketScore %> 
  • -
  • <%= match.w2_name %>Score
  • +
  • <%= match.w2_name %>
  •  
  • @@ -103,9 +103,9 @@ li.game{ <% @matches.select{|m|m.bracket_position == "3/4"}.each do |match| %>
  •  
  • -
  • <%= match.w1_name %> Score
  • +
  • <%= match.w1_name %>
  • <%= match.bout_number %> <%= match.bracketScore %> 
  • -
  • <%= match.w2_name %>Score
  • +
  • <%= match.w2_name %>
  •  
  • @@ -130,9 +130,9 @@ li.game{ <% @matches.select{|m|m.bracket_position == "Conso Semis"}.sort_by{|m| m.bracket_position_number}.each do |match| %>
  •  
  • -
  • <%= match.w1_name %> Score
  • +
  • <%= match.w1_name %>
  • <%= match.bout_number %> <%= match.bracketScore %> 
  • -
  • <%= match.w2_name %>Score
  • +
  • <%= match.w2_name %>
  •  
  • @@ -142,9 +142,9 @@ li.game{ <% @matches.select{|m|m.bracket_position == "5/6"}.each do |match| %>
  •  
  • -
  • <%= match.w1_name %> Score
  • +
  • <%= match.w1_name %>
  • <%= match.bout_number %> <%= match.bracketScore %> 
  • -
  • <%= match.w2_name %>Score
  • +
  • <%= match.w2_name %>
  •  
  • @@ -167,9 +167,9 @@ li.game{ <% @matches.select{|m|m.bracket_position == "7/8"}.each do |match| %>
  •  
  • -
  • <%= match.w1_name %> Score
  • +
  • <%= match.w1_name %>
  • <%= match.bout_number %> <%= match.bracketScore %> 
  • -
  • <%= match.w2_name %>Score
  • +
  • <%= match.w2_name %>
  •  
  • diff --git a/app/views/tournaments/_twoPoolFinalBracket.html.erb b/app/views/tournaments/_twoPoolFinalBracket.html.erb index 99442e2..a058c12 100644 --- a/app/views/tournaments/_twoPoolFinalBracket.html.erb +++ b/app/views/tournaments/_twoPoolFinalBracket.html.erb @@ -65,9 +65,9 @@ li.game{ <% @matches.select{|m|m.bracket_position == "1/2"}.each do |match| %>
  •  
  • -
  • <%= match.w1_name %> Score
  • +
  • <%= match.w1_name %>
  • <%= match.bout_number %> <%= match.bracketScore %> 
  • -
  • <%= match.w2_name %>Score
  • +
  • <%= match.w2_name %>
  •  
  • @@ -89,9 +89,9 @@ li.game{ <% @matches.select{|m|m.bracket_position == "3/4"}.each do |match| %>
  •  
  • -
  • <%= match.w1_name %> Score
  • +
  • <%= match.w1_name %>
  • <%= match.bout_number %> <%= match.bracketScore %> 
  • -
  • <%= match.w2_name %>Score
  • +
  • <%= match.w2_name %>
  •  
  • diff --git a/app/views/tournaments/_twoPoolSemiBracket.html.erb b/app/views/tournaments/_twoPoolSemiBracket.html.erb index dd1497a..bb23f26 100644 --- a/app/views/tournaments/_twoPoolSemiBracket.html.erb +++ b/app/views/tournaments/_twoPoolSemiBracket.html.erb @@ -65,9 +65,9 @@ li.game{ <% @matches.select{|m|m.bracket_position == "Semis"}.sort_by{|m| m.bracket_position_number}.each do |match| %>
  •  
  • -
  • <%= match.w1_name %> Score
  • +
  • <%= match.w1_name %>
  • <%= match.bout_number %> <%= match.bracketScore %> 
  • -
  • <%= match.w2_name %>Score
  • +
  • <%= match.w2_name %>
  •  
  • @@ -77,9 +77,9 @@ li.game{ <% @matches.select{|m|m.bracket_position == "1/2"}.each do |match| %>
  •  
  • -
  • <%= match.w1_name %> Score
  • +
  • <%= match.w1_name %>
  • <%= match.bout_number %> <%= match.bracketScore %> 
  • -
  • <%= match.w2_name %>Score
  • +
  • <%= match.w2_name %>
  •  
  • @@ -103,9 +103,9 @@ li.game{ <% @matches.select{|m|m.bracket_position == "3/4"}.each do |match| %>
  •  
  • -
  • <%= match.w1_name %> Score
  • +
  • <%= match.w1_name %>
  • <%= match.bout_number %> <%= match.bracketScore %> 
  • -
  • <%= match.w2_name %>Score
  • +
  • <%= match.w2_name %>
  •