mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-03-30 19:22:21 +00:00
Moved director links to the left sidebar
This commit is contained in:
@@ -11,6 +11,20 @@
|
||||
<li><%= link_to "Team Scores" , "/tournaments/#{@tournament.id}/team_scores" %></li>
|
||||
</ul>
|
||||
</div>
|
||||
<% if tournament_permissions(@tournament) %>
|
||||
<br><br>
|
||||
<div class="" style="padding-right: 1%;">
|
||||
<ul class="">
|
||||
<h4>Tournament Director Links</h4>
|
||||
<li><%= link_to "Generate Brackets" , "/tournaments/#{@tournament.id}/generate_matches", data: { confirm: 'Are you sure? This will delete all current matches.' } %></li>
|
||||
<li><%= link_to "Weigh In Page" , "/tournaments/#{@tournament.id}/weigh_in" %></li>
|
||||
<li><%= link_to "Create High School Weights" , "/tournaments/#{@tournament.id}/create_custom_weights?customValue=hs",data: { confirm: 'Are you sure? This will delete all current weights.' } %></li>
|
||||
</ul>
|
||||
</div>
|
||||
<% end %>
|
||||
<% end %>
|
||||
<br><br>
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -31,13 +31,6 @@
|
||||
<%= @tournament.tournament_type %>
|
||||
</p>
|
||||
<br>
|
||||
<% if tournament_permissions(@tournament) %>
|
||||
<%= link_to "Generate Brackets" , "/tournaments/#{@tournament.id}/generate_matches", data: { confirm: 'Are you sure? This will delete all current matches.' }, :class=>"btn btn-success" %>
|
||||
<br><br>
|
||||
<%= link_to "Weigh In Page" , "/tournaments/#{@tournament.id}/weigh_in", :class=>"btn btn-primary" %>
|
||||
<br>
|
||||
<br>
|
||||
<% end %>
|
||||
<br>
|
||||
<h3>School Lineups</h3>
|
||||
<br>
|
||||
@@ -77,8 +70,6 @@
|
||||
<br>
|
||||
<% if tournament_permissions(@tournament) %>
|
||||
<%= link_to "New #{@tournament.name} Weight" , "/weights/new?tournament=#{@tournament.id}", :class=>"btn btn-success" %>
|
||||
<br><br>
|
||||
<%= link_to "Create HS Weights" , "/tournaments/#{@tournament.id}/create_custom_weights?customValue=hs",data: { confirm: 'Are you sure? This will delete all current weights.' }, :class=>"btn btn-success" %>
|
||||
<br>
|
||||
<br>
|
||||
<% end %>
|
||||
|
||||
Reference in New Issue
Block a user