1
0
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:
2020-01-10 14:40:11 -05:00
parent 323f8addab
commit 9b19cf8072
2 changed files with 4 additions and 2 deletions

View File

@@ -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>

View File

@@ -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' %>