1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-04-06 22:44:14 +00:00

Consolidated the double elimination bracket view, the double elimination match generation, and the double elimination loser names

This commit is contained in:
2024-12-04 17:01:02 -05:00
parent 5d37e5e0d8
commit db440c0603
12 changed files with 341 additions and 438 deletions

View File

@@ -201,7 +201,7 @@ class Match < ApplicationRecord
return_string_ending = return_string_ending + "</strong>"
end
if self.w2 != nil
if self.round == 1 and self.bracket_position == "Bracket"
if self.round == 1 and (self.bracket_position == "Bracket" or self.bracket_position == "Quarter")
if self.wrestler2.original_seed
return_string = return_string + "#{wrestler2.original_seed} "
end