diff --git a/src/character/templates/character/character_details.html b/src/character/templates/character/character_details.html index 4bc3fa9..f8e393c 100644 --- a/src/character/templates/character/character_details.html +++ b/src/character/templates/character/character_details.html @@ -15,7 +15,18 @@
Groupe : {{ party }} • - Joueurs : {% for other in party.characters.all %}{{ other }}{% if not forloop.last %}, {% endif %}{% endfor %} + Joueurs : + {% for other in party.characters.all %} + + {% if other.profile_picture %} + + {% endif %} + {{ other }} + {% if not forloop.last %}, {% endif %} + {% endfor %}
{% endif %} {% if character|managed_by:user %} 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 1419600..bfaf118 100644 --- a/src/character/templates/character/snippets/characters_list/character_card.html +++ b/src/character/templates/character/snippets/characters_list/character_card.html @@ -5,7 +5,7 @@