From 3cf359744a0db30a4005dc7218192217727b0c66 Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Sun, 6 Nov 2022 15:08:31 +0100 Subject: [PATCH] Improve character card render --- .../snippets/characters_list/character_card.html | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/src/character/templates/character/snippets/characters_list/character_card.html b/src/character/templates/character/snippets/characters_list/character_card.html index e951d36..73df085 100644 --- a/src/character/templates/character/snippets/characters_list/character_card.html +++ b/src/character/templates/character/snippets/characters_list/character_card.html @@ -24,9 +24,16 @@

{% if character|managed_by:user %} - - {% if character.player == user %}Jouer{% else %}Gérer{% endif %} - + {% if character.player == user %} + + Jouer + + {% else %} + + + Gérer + + {% endif %} {% if party %} Quitter le groupe