Private
Public Access
1
0

alertowners

This commit is contained in:
Sander Roosendaal
2019-10-02 17:25:05 +02:00
parent 20f2d2cbe0
commit 2631419265
5 changed files with 52 additions and 4 deletions

View File

@@ -15,9 +15,11 @@
{% for alert in alerts %}
<li class="rounder" id="alert_{{ alert.id }}">
<h2>{{ alert.name }}</h2>
{% if alert.manager == request.user %}
<a class="small" href="/rowers/alerts/{{ alert.id }}/edit/" title="Edit">
<i class="fas fa-pencil-alt fa-fw"></i>
</a>
{% endif %}
<a class="small" href="/rowers/alerts/{{ alert.id }}/delete/"
title="Delete">
<i class="fas fa-trash-alt fa-fw"></i>