<div class="index-btn">
    {% if is_granted('ROLE_OTS_CORDINATOR')
    or is_granted('ROLE_SUPER_SUPERVISOR')
    or is_granted('ROLE_SUPERVISOR')
    or is_granted('ROLE_HUMAN_RESOURCES') %}
        {% if is_granted('ROLE_OTS_CORDINATOR')
        or is_granted('ROLE_SUPER_SUPERVISOR')
        or is_granted('ROLE_GENERAL_SUPERVISOR')
        or is_granted('ROLE_SUPERVISOR') %}
            <div class="col-lg-12 index-button-title">
                <span class="glyphicon glyphicon-certificate pull-left"></span><strong>Management</strong>
            </div>
            <div class="col-lg-12 index-button-content">
                {% if is_granted('ROLE_SUPER_SUPERVISOR')
                or is_granted('ROLE_GENERAL_SUPERVISOR') %}
                    <a href="{{ path('tasks_board') }}"  class="inner-button-6">
                        Planning
                        <div>
                            <img src="{{ asset('bundles/vgmwo/images/Icons/planning-active.png') }}">
                        </div>
                    </a>
                {% else %}
                    <div class="inner-button-disabled-6">
                        Planning
                        <div>
                            <img src="{{ asset('bundles/vgmwo/images/Icons/planning-disabled.png') }}">
                        </div>
                    </div>
                {% endif %}
                <a href="{{ path('workorders') }}" class="inner-button-6">
                    Work orders
                    <div>
                        <img src="{{ asset('bundles/vgmwo/images/Icons/workorder-active.png') }}">
                    </div>
                </a>
                <a href="{{ path('workorders_archived') }}" class="inner-button-6">
                    WO Archive
                    <div>
                        <img src="{{ asset('bundles/vgmwo/images/Icons/aworkorder-active.png') }}">
                    </div>
                </a>
                <a href="{{ path('reports_jobs_worker') }}" class="inner-button-6">
                    Time record
                    <div>
                        <img src="{{ asset('bundles/vgmwo/images/Icons/timerecord-active.png') }}">
                    </div>
                </a>
                {% if is_granted('ROLE_OTS_CORDINATOR')
                    or is_granted('ROLE_SUPER_SUPERVISOR') %}
                    <a href="{{ path('vgm_client') }}" class="inner-button-6">
                        Clients
                        <div>
                            <img src="{{ asset('bundles/vgmwo/images/Icons/clients-active.png') }}">
                        </div>
                    </a>
                {% else %}
                    <div class="inner-button-disabled-6">
                        Clients
                        <div>
                            <img src="{{ asset('bundles/vgmwo/images/Icons/clients-disabled.png') }}">
                        </div>
                    </div>
                {% endif %}
                <div class="inner-button-disabled-6">
                    Employees
                    <div>
                        <img src="{{ asset('bundles/vgmwo/images/Icons/workers-disabled.png') }}">
                    </div>
                </div>
            </div>
        {% else %}
            <div class="col-lg-12 index-button-title">
                <span class="glyphicon glyphicon-certificate pull-left"></span><strong>Management</strong>
            </div>
            <div class="col-lg-12 index-button-content">
                <div class="inner-button-disabled-6">
                    Planning
                    <div>
                        <img src="{{ asset('bundles/vgmwo/images/Icons/planning-disabled.png') }}">
                    </div>
                </div>
                <div class="inner-button-disabled-6">
                    Work orders
                    <div>
                        <img src="{{ asset('bundles/vgmwo/images/Icons/workorder-disabled.png') }}">
                    </div>
                </div>
                <div class="inner-button-disabled-6">
                    WO Archive
                    <div>
                        <img src="{{ asset('bundles/vgmwo/images/Icons/aworkorder-disabled.png') }}">
                    </div>
                </div>
                <div class="inner-button-disabled-6">
                    Time record
                    <div>
                        <img src="{{ asset('bundles/vgmwo/images/Icons/timerecord-disabled.png') }}">
                    </div>
                </div>
                <div class="inner-button-disabled-6">
                    Clients
                    <div>
                        <img src="{{ asset('bundles/vgmwo/images/Icons/clients-disabled.png') }}">
                    </div>
                </div>
                <a href="{{ path('workers') }}" class="inner-button-6">
                    Employees
                    <div>
                        <img src="{{ asset('bundles/vgmwo/images/Icons/workers-active.png') }}">
                    </div>
                </a>
            </div>
        {% endif %}
    {% else %}
        {% if is_granted('ROLE_USER') %}
            <div class="col-lg-12 index-button-title">
        {% else %}
            <div class="col-lg-12 index-button-disabled-title">
        {% endif %}
            <span class="glyphicon glyphicon-certificate pull-left"></span><strong>Management</strong>
        </div>
        {% if is_granted('ROLE_USER') %}
            <div class="col-lg-12 index-button-content">
        {% else %}
            <div class="col-lg-12 index-button-disabled-content">
        {% endif %}
            <div class="inner-button-disabled-6">
                Planning
                <div>
                    <img src="{{ asset('bundles/vgmwo/images/Icons/planning-disabled.png') }}">
                </div>
            </div>
            {% if is_granted('ROLE_USER') %}
                <a href="{{ path('workorders_consulting') }}" class="inner-button-6">
                    Work orders
                    <div>
                        <img src="{{ asset('bundles/vgmwo/images/Icons/workorder-active.png') }}">
                    </div>
                </a>
            {% else %}
                <div class="inner-button-disabled-6">
                    Work orders
                    <div>
                        <img src="{{ asset('bundles/vgmwo/images/Icons/workorder-disabled.png') }}">
                    </div>
                </div>
            {% endif %}
            <div class="inner-button-disabled-6">
                WO Archive
                <div>
                    <img src="{{ asset('bundles/vgmwo/images/Icons/aworkorder-disabled.png') }}">
                </div>
            </div>
            <div class="inner-button-disabled-6">
                Time record
                <div>
                    <img src="{{ asset('bundles/vgmwo/images/Icons/timerecord-disabled.png') }}">
                </div>
            </div>
            <div class="inner-button-disabled-6">
                Clients
                <div>
                    <img src="{{ asset('bundles/vgmwo/images/Icons/clients-disabled.png') }}">
                </div>
            </div>
            <div class="inner-button-disabled-6">
                Employees
                <div>
                    <img src="{{ asset('bundles/vgmwo/images/Icons/workorder-disabled.png') }}">
                </div>
            </div>
        </div>
    {% endif %}
</div>