mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-04-09 23:44:52 +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>
|
<li><%= link_to "Team Scores" , "/tournaments/#{@tournament.id}/team_scores" %></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</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 %>
|
<% end %>
|
||||||
|
<br><br>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -31,13 +31,6 @@
|
|||||||
<%= @tournament.tournament_type %>
|
<%= @tournament.tournament_type %>
|
||||||
</p>
|
</p>
|
||||||
<br>
|
<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>
|
<br>
|
||||||
<h3>School Lineups</h3>
|
<h3>School Lineups</h3>
|
||||||
<br>
|
<br>
|
||||||
@@ -77,8 +70,6 @@
|
|||||||
<br>
|
<br>
|
||||||
<% if tournament_permissions(@tournament) %>
|
<% if tournament_permissions(@tournament) %>
|
||||||
<%= link_to "New #{@tournament.name} Weight" , "/weights/new?tournament=#{@tournament.id}", :class=>"btn btn-success" %>
|
<%= 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>
|
||||||
<br>
|
<br>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|||||||
Reference in New Issue
Block a user