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 %} + Image de profil + {% 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 @@
{% if character.profile_picture %} Image de profil {% endif %} diff --git a/src/common/static/style.css b/src/common/static/style.css index 81c2ce1..b6f990a 100644 --- a/src/common/static/style.css +++ b/src/common/static/style.css @@ -11,7 +11,7 @@ blockquote { border-left: solid #d5d5d5 4px; } -.card img.profile-pic { +img.profile-pic-small { width: 28px; height: 28px; object-fit: cover;