Address: <%= @tournament.address %>
Director: <%= @tournament.director %>
Director email: <%= @tournament.director_email %>
Tournament Type: <%= @tournament.tournament_type %>
Tournament Date: <%= @tournament.date %>
Tournament Information Is Public: <%= @tournament.is_public %>
Brackets and team scores can be found in the white nav-bar up top.
Click to see lineups, bout numbers, score breakdowns, and stats.
| Name | <% if can? :manage, @tournament %><%= link_to " New School" , "/schools/new?tournament=#{@tournament.id}", :class=>"fas fa-plus" %> | <% end %>
|---|---|
| <% if can? :read, school %> <%= link_to "#{school.name}", school %> <% else %> <%= "#{school.name}" %> <% end %> | <% if can? :manage, school %> <%= link_to '', edit_school_path(school), :class=>"fas fa-edit" %> <% if can? :manage, @tournament %> <%= link_to '', school, method: :delete, data: { confirm: "Are you sure you want to delete #{school.name}?" }, :class=>"fas fa-trash-alt" %> <% end %> <% end %> |
| Weight Class | Bracket Size | <% if can? :manage, @tournament %><%= link_to " New Weight Class" , "/weights/new?tournament=#{@tournament.id}", :class=>"fas fa-plus" %> | <% end %>
|---|---|---|
| <% if can? :read, @tournament %> <%= link_to "#{weight.max} lbs", weight %> <% else %> <%= "#{weight.max}" %> <% end %> | <%= weight.bracket_size %> | <% if can? :manage, @tournament %><%= link_to '', edit_weight_path(weight), :class=>"fas fa-edit" %> <%= link_to '', weight, method: :delete, data: { confirm: "Are you sure you want to delete the #{weight.max} weight class?" }, :class=>"fas fa-trash-alt" %> | <% end %>
| Name | <%= link_to " New Mat" , "/mats/new?tournament=#{@tournament.id}", :class=>"fas fa-plus" %> |
|---|---|
| <%= link_to "Mat #{mat.name}", mat %> | <% if can? :manage, @tournament %><%= link_to '', mat, method: :delete, data: { confirm: "Are you sure you want to delete Mat #{mat.name}?" }, :class=>"fas fa-trash-alt" %> | <% end %>
This is a list of queued or running background jobs. Match generation, bracket advancement, team score calculation, etc.
| Name of Job | Job Status |
|---|---|
| <%= job.job_owner_type %> | <% if job.locked_at %> Running <% elsif job.last_error %> Error <% elsif job.attempts == 0 and !job.locked_at %> Pending <% end %> |