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 d0c46b1..5f5e8cc 100644 --- a/src/character/templates/character/snippets/characters_list/character_card.html +++ b/src/character/templates/character/snippets/characters_list/character_card.html @@ -9,9 +9,18 @@ {{ character.get_gender_display }}, {{ character.age }} ans, {{ character.height_m }}m, {{ character.weight }}kg
PV {{ character.health_remaining }}/{{ character.health_max }}, PM {{ character.mana_remaining }}/{{ character.mana_max }}

- - Jouer - + {% if character.player == user %} +
+ + Jouer + + {% if party %} + + Quitter le groupe + + {% endif %} +
+ {% endif %} diff --git a/src/party/templates/party/party_details.html b/src/party/templates/party/party_details.html index 137a610..f734681 100644 --- a/src/party/templates/party/party_details.html +++ b/src/party/templates/party/party_details.html @@ -7,18 +7,9 @@ {% block content %}

{{ party.name }}

MJ : {{ party.game_master.get_full_name|default:party.game_master.username }}

-

Personnages :

- + {% endblock %}