N°8701 - Fix class icon alt text displaying in portal tile when there's no icon defined

This commit is contained in:
Stephen Abello
2025-10-15 15:18:03 +02:00
parent 5bc453bca6
commit bfc583e6b5

View File

@@ -5,7 +5,7 @@
{% block pTileTitle %}
<div class="ipb-tile--title">
<span>{{ oBrick.GetTitle()|dict_s }}</span><span><span>{{ iCount }}</span>
{% if sIconURL is defined %}
{% if sIconURL is defined and sIconURL is not empty %}
<img id="img{{ id }}" src="{{ sIconURL }}" class="ipb-tile--decoration--icon class-icon" alt="Class Icon">
{% endif %}
</span>