Add group detail link and implement game removal functionality in views
This commit is contained in:
parent
122ae40570
commit
dfe312d47d
4 changed files with 47 additions and 7 deletions
|
@ -31,6 +31,13 @@
|
|||
</a>
|
||||
<nav>
|
||||
<ul>
|
||||
{% if object.group %}
|
||||
<li>
|
||||
<a href="{% url 'group_detail' pk=object.group.pk %}">
|
||||
<i class="ri-group-2-fill"></i> {{ object.group.name }}
|
||||
</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
{% if user.is_authenticated %}
|
||||
<li>{{ user.username }}</li>
|
||||
<li>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue