New configurable: outfit_images_wrong_looktypes

This commit is contained in:
slawkens
2020-12-21 01:59:32 +01:00
parent 6603815a81
commit 3beedc1747
7 changed files with 10 additions and 9 deletions

View File

@@ -102,7 +102,7 @@
<td>{{ player.country_image|raw }}</td>
{% endif %}
{% if config.online_outfit %}
<td width="5%"><img style="position:absolute;margin-top:{% if player.player.looktype in [75, 266, 302] %}-20px;margin-left:-0px;{% else %}-45px;margin-left:-25px;{% endif %}" src="{{ player.outfit }}" alt="player outfit"/></td>
<td width="5%"><img style="position:absolute;margin-top:{% if player.player.looktype in config.outfit_images_wrong_looktypes %}-20px;margin-left:-0px;{% else %}-45px;margin-left:-25px;{% endif %}" src="{{ player.outfit }}" alt="player outfit"/></td>
{% endif %}
<td>{{ player.name|raw }}{{ player.skull }}</td>
<td>{{ player.level }}</td>
@@ -110,4 +110,4 @@
</tr>
{% endfor %}
</table>
{% endif %}
{% endif %}