Add GameManager for filtering active games and update group_games template
This commit is contained in:
parent
302b884b23
commit
486f650ea6
3 changed files with 13 additions and 1 deletions
|
@ -1,5 +1,10 @@
|
|||
{% load form youtube %}
|
||||
{% if group.musikgame_set.exists %}
|
||||
{% for game in group.musikgame_set.playing %}
|
||||
<a class="running" href="{{ game.get_absolute_url }}">
|
||||
<article><i class="ri-play-circle-fill i"></i>{{ game.date }}</article>
|
||||
</a>
|
||||
{% endfor %}
|
||||
<h2>
|
||||
<i class="ri-play-circle-fill"></i> Parties
|
||||
</h2>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue