{# @copyright   Copyright (C) 2010-2021 Combodo SARL #}
{# @license     http://opensource.org/licenses/AGPL-3.0 #}
{% apply spaceless %}
<div id="{{ oUIBlock.GetId() }}" class="ibo-medallion-icon {{ oUIBlock.GetAdditionalCSSClassesAsString() }}">
    {% if oUIBlock.GetImageUrl() != '' %}
        <img class="ibo-medallion-icon--image" src="{{ oUIBlock.GetImageUrl() }}" />
    {% endif %}
    {% if oUIBlock.GetIconClass() != '' %}
        <i class="ibo-medallion-icon--image {{ oUIBlock.GetIconClass() }}"></i>
    {% endif %}
    {% if oUIBlock.GetDescription() != '' %}
        <div class="ibo-medallion-icon--description">{{ oUIBlock.GetDescription() }}</div>
    {% endif %}
</div>
{% endapply %}