From 637b4973623d57eb4ec1dcc5988ab149df735ddf Mon Sep 17 00:00:00 2001 From: "Edgar P. Burkhart" Date: Sat, 14 Jun 2025 12:27:24 +0200 Subject: [PATCH] Enhance group detail view: add conditional buttons for game and member removal based on group ownership --- game/templates/game/group_detail.html | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/game/templates/game/group_detail.html b/game/templates/game/group_detail.html index 1395e85..8f12311 100644 --- a/game/templates/game/group_detail.html +++ b/game/templates/game/group_detail.html @@ -26,7 +26,7 @@ {% csrf_token %} - + {% if group.owner == user %}{% endif %} @@ -46,9 +46,11 @@ {% endfor %}
Date Joueurs
- + {% if group.owner == user %} + + {% endif %} {% endif %}

@@ -92,7 +94,7 @@ {% endfor %} - {% if musics %} + {% if group.owner == user %}