1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-04-23 22:49:54 +00:00

Added team abbreviation

This commit is contained in:
2019-01-24 20:16:43 +00:00
parent 0599faa173
commit 6bbb0b2e2c
11 changed files with 94 additions and 59 deletions

View File

@@ -4,9 +4,9 @@
<% @matches.select{|m|m.bracket_position == "Quarter"}.sort_by{|m| m.bracket_position_number}.each do |match| %>
<li>&nbsp;</li>
<li class="game game-top "><%= match.w1_name %> <span></span></li>
<li class="game game-top "><%= match.w1_bracket_name %> <span></span></li>
<li><%= match.bout_number %> <%= match.bracket_score_string %>&nbsp;</li>
<li class="game game-bottom "><%= match.w2_name %><span></span></li>
<li class="game game-bottom "><%= match.w2_bracket_name %><span></span></li>
<li>&nbsp;</li>
@@ -16,9 +16,9 @@
<% @matches.select{|m|m.bracket_position == "Semis"}.sort_by{|m| m.bracket_position_number}.each do |match| %>
<li>&nbsp;</li>
<li class="game game-top "><%= match.w1_name %> <span></span></li>
<li class="game game-top "><%= match.w1_bracket_name %> <span></span></li>
<li class="bout-number"><%= match.bout_number %> <%= match.bracket_score_string %>&nbsp;</li>
<li class="game game-bottom "><%= match.w2_name %><span></span></li>
<li class="game game-bottom "><%= match.w2_bracket_name %><span></span></li>
<li>&nbsp;</li>
<% end %>
@@ -27,9 +27,9 @@
<% @matches.select{|m|m.bracket_position == "1/2"}.each do |match| %>
<li>&nbsp;</li>
<li class="game game-top "><%= match.w1_name %> <span></span></li>
<li class="game game-top "><%= match.w1_bracket_name %> <span></span></li>
<li><%= match.bout_number %> <%= match.bracket_score_string %>&nbsp;</li>
<li class="game game-bottom "><%= match.w2_name %><span></span></li>
<li class="game game-bottom "><%= match.w2_bracket_name %><span></span></li>
<li>&nbsp;</li>
@@ -37,7 +37,7 @@
<ul class="round round-4">
<li>&nbsp;</li>
<li class="bracket-winner"><%= match.winner_name %> <span></span></li>
<li class="bracket-winner"><%= match.bracket_winner_name %> <span></span></li>
1st
<li>&nbsp;</li>
@@ -50,9 +50,9 @@
<% @matches.select{|m|m.bracket_position == "3/4"}.each do |match| %>
<li>&nbsp;</li>
<li class="game game-top "><%= match.w1_name %> <span></span></li>
<li class="game game-top "><%= match.w1_bracket_name %> <span></span></li>
<li><%= match.bout_number %> <%= match.bracket_score_string %>&nbsp;</li>
<li class="game game-bottom "><%= match.w2_name %><span></span></li>
<li class="game game-bottom "><%= match.w2_bracket_name %><span></span></li>
<li>&nbsp;</li>
@@ -60,7 +60,7 @@
<ul class="round round-2">
<li>&nbsp;</li>
<li class="bracket-winner"> <%= match.winner_name %><span></span></li>
<li class="bracket-winner"> <%= match.bracket_winner_name %><span></span></li>
3rd
<li>&nbsp;</li>
@@ -73,9 +73,9 @@
<% @matches.select{|m|m.bracket_position == "Conso Semis"}.sort_by{|m| m.bracket_position_number}.each do |match| %>
<li>&nbsp;</li>
<li class="game game-top "><%= match.w1_name %> <span></span></li>
<li class="game game-top "><%= match.w1_bracket_name %> <span></span></li>
<li><%= match.bout_number %> <%= match.bracket_score_string %>&nbsp;</li>
<li class="game game-bottom "><%= match.w2_name %><span></span></li>
<li class="game game-bottom "><%= match.w2_bracket_name %><span></span></li>
<li>&nbsp;</li>
@@ -85,9 +85,9 @@
<% @matches.select{|m|m.bracket_position == "5/6"}.each do |match| %>
<li>&nbsp;</li>
<li class="game game-top "><%= match.w1_name %> <span></span></li>
<li class="game game-top "><%= match.w1_bracket_name %> <span></span></li>
<li><%= match.bout_number %> <%= match.bracket_score_string %>&nbsp;</li>
<li class="game game-bottom "><%= match.w2_name %><span></span></li>
<li class="game game-bottom "><%= match.w2_bracket_name %><span></span></li>
<li>&nbsp;</li>
@@ -95,7 +95,7 @@
<ul class="round round-3">
<li>&nbsp;</li>
<li class="bracket-winner"> <%= match.winner_name %><span></span></li>
<li class="bracket-winner"> <%= match.bracket_winner_name %><span></span></li>
5th
<li>&nbsp;</li>
@@ -108,9 +108,9 @@
<% @matches.select{|m|m.bracket_position == "7/8"}.each do |match| %>
<li>&nbsp;</li>
<li class="game game-top "><%= match.w1_name %> <span></span></li>
<li class="game game-top "><%= match.w1_bracket_name %> <span></span></li>
<li><%= match.bout_number %> <%= match.bracket_score_string %>&nbsp;</li>
<li class="game game-bottom "><%= match.w2_name %><span></span></li>
<li class="game game-bottom "><%= match.w2_bracket_name %><span></span></li>
<li>&nbsp;</li>
@@ -118,7 +118,7 @@
<ul class="round round-2">
<li>&nbsp;</li>
<li class="bracket-winner"><%= match.winner_name %> <span></span></li>
<li class="bracket-winner"><%= match.bracket_winner_name %> <span></span></li>
7th
<li>&nbsp;</li>