Fixes pour la mise à jour de mars (#598)

This commit is contained in:
Julien Constant
2023-04-04 22:50:19 +02:00
committed by Julien Constant
parent 8e7c025e47
commit f605f7dcc6
11 changed files with 69 additions and 12 deletions

View File

@ -84,10 +84,16 @@
</div>
{% if profile.promo %}
<br>
<div class="user_profile_infos_promo">
{% trans %}Promo: {% endtrans %}{{ profile.promo }}
<img src="{{ static('core/img/promo_%02d.png' % profile.promo) }}"
alt="Promo {{ profile.promo }}" />
{% if profile.promo_has_logo() %}
<img src="{{ static('core/img/promo_%02d.png' % profile.promo) }}" alt="Promo {{ profile.promo }}" />
{% else %}
<div>
<span>¯\_(ツ)_/¯</span>
</div>
{% endif %}
</div>
{% endif %}
</div>