mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-04-16 04:56:58 +00:00
Removed single weight match generation, fixed bracket names, reload weight matches for pool order, and auto delete errrored jobs
This commit is contained in:
@@ -280,4 +280,19 @@ class Wrestler < ApplicationRecord
|
||||
end
|
||||
end
|
||||
|
||||
def long_bracket_name
|
||||
return_string = ""
|
||||
if self.original_seed
|
||||
return_string = return_string + "[#{self.original_seed}] "
|
||||
end
|
||||
return_string = return_string + "#{self.name} - #{self.school.name}"
|
||||
if self.season_win && self.season_loss
|
||||
return_string = return_string + " (#{self.season_win}-#{self.season_loss})"
|
||||
end
|
||||
return return_string
|
||||
end
|
||||
|
||||
def short_bracket_name
|
||||
return "#{self.name} (#{self.school.abbreviation})"
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user