user type
This commit is contained in:
parent
5e9d26ff8e
commit
b8e4d98b05
@ -19,6 +19,9 @@
|
||||
<a href="{% url 'home' %}"><i class="fa-solid fa-house"></i> Strona główna</a>
|
||||
<a href="{% url 'popular' %}"><i class="fa-solid fa-star"></i> Popularne </a>
|
||||
<a href="{% url 'hard' %}"><i class="fa-solid fa-fire-flame-curved"></i> Trudne </a>
|
||||
{% if user.type == "admin" %}
|
||||
<a href="{% url 'home' %}"><i class="fa-solid fa-trophy"></i> Stwórz turniej </a>
|
||||
{% endif %}
|
||||
<a href="{% url 'home' %}"><i class="fa-solid fa-trophy"></i> Turnieje </a>
|
||||
<br>
|
||||
<a href="{% url 'newTest' %}"><i class="fa-solid fa-circle-plus"></i> Stwórz test</a>
|
||||
|
Loading…
Reference in New Issue
Block a user