Skip to content

Commit

Permalink
Add quick link to log session on homepage for supervisors
Browse files Browse the repository at this point in the history
  • Loading branch information
jb3 committed Nov 14, 2024
1 parent 93762fe commit 6b4a1ce
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ <h4 class="card-header">Training Database</h4>
<a class="list-group-item list-group-item-action" href="{% url 'trainee_list' %}"><span class="fas fa-users"></span><span class="align-middle"> Trainee List</span></a>
<a class="list-group-item list-group-item-action" href="{% url 'level_list' %}"><span class="fas fa-layer-group"></span> <span class="align-middle">Level List</span></a>
<a class="list-group-item list-group-item-action" href="{% url 'item_list' %}"><span class="fas fa-sitemap"></span> <span class="align-middle">Item List</span></a>
{% if request.user.is_supervisor %}
<a class="list-group-item list-group-item-action" href="{% url 'session_log' %}"><span class="fas fa-users"></span> <span class="align-middle">Log Session</span></a>
{% endif %}
</div>
</div>
</div>
Expand Down

0 comments on commit 6b4a1ce

Please sign in to comment.