mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-03-25 01:14:43 +00:00
Hide jobs from non tournament directors
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
<ul class="nav navbar-nav">
|
||||
<li><%= link_to " Tournament Home" , "/tournaments/#{@tournament.id}", class: "fas fa-home" %></li>
|
||||
<li class="dropdown">
|
||||
<a class="dropdown-toggle" data-toggle="dropdown" href="#"><i class="fas fa-poll-h"> Tournament Results</i>
|
||||
<a class="dropdown-toggle" data-toggle="dropdown" href="#"><i class="fas fa-poll-h"> Tournament Results/Brackets</i>
|
||||
<span class="caret"></span></a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><strong>Results</strong></li>
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
</p>
|
||||
<br>
|
||||
<h3>Schools</h3>
|
||||
<p>(Click to see lineups, score breakdowns, and stats)</p>
|
||||
<p>Click to see lineups, bout numbers, score breakdowns, and stats. Brackets can be found in the white nav-bar up top.</p>
|
||||
<br>
|
||||
<table class="table table-hover table-condensed">
|
||||
<thead>
|
||||
@@ -97,6 +97,7 @@
|
||||
</tbody>
|
||||
</table>
|
||||
<% end %>
|
||||
<% if can? :manage, @tournament %>
|
||||
<br>
|
||||
<h3>Background Jobs</h3>
|
||||
<p>This is a list of queued or running background jobs. Match generation, bracket advancement, team score calculation, etc.</p>
|
||||
@@ -125,6 +126,7 @@
|
||||
<% end %>
|
||||
</tbody>
|
||||
</table>
|
||||
<% end %>
|
||||
<br>
|
||||
<br>
|
||||
<%= render 'import_form' %>
|
||||
|
||||
Reference in New Issue
Block a user