{# @copyright   Copyright (C) 2010-2021 Combodo SARL #}
{# @license     http://opensource.org/licenses/AGPL-3.0 #}
{% extends 'base/components/panel/layout.html.twig' %}

{% block iboPanelMetaData %}
    data-object-class="{{ oUIBlock.GetClassName() }}"
    data-object-id="{{ oUIBlock.GetObjectId() }}"
    data-object-mode="{{ oUIBlock.GetObjectMode() }}"
{% endblock %}

{% block iboPanelSubTitle %}
    {% if oUIBlock.GetStatusLabel() is not empty %}
        <span class="ibo-object-details--status" data-status-code="{{ oUIBlock.GetStatusCode() }}">
            <span class="ibo-object-details--status-dot ibo-is-state-{{ oUIBlock.GetStatusColor() }}"></span>
            <span class="ibo-object-details--status-label">{{ oUIBlock.GetStatusLabel() }}</span>
        </span>
    {% endif %}
    <span class="ibo-object-details--object-class">{{ oUIBlock.GetClassName() }}</span>
    {{ parent() }}
{% endblock %}