Merge pull request #803 from ae-utbm/fix-promo-image

fix promo img on clicks
This commit is contained in:
thomas girod 2024-09-01 12:49:38 +02:00 committed by GitHub
commit 93cc6d99f8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -64,7 +64,7 @@
</div>
{% endif %}
</div>
{% if user.promo %}
{% if user.promo and user.promo_has_logo() %}
<div class="user_mini_profile_promo">
<img src="{{ static('core/img/promo_%02d.png' % user.promo) }}" title="Promo {{ user.promo }}" alt="Promo {{ user.promo }}" class="promo_pict" />
</div>