<div class="block-operations">
    <div class="operations">
        <ul class="filtre">
            <li class="programed current">
                {{ include('Front/_component/icon.html.twig', {id:'checkbox--radio-unchecked', class: 'icon-unchecked'}) }}
                {{ include('Front/_component/icon.html.twig', {id:'checkbox--radio-checked', class: 'icon-checked'}) }}
                Programmées
            </li>
            <li class="realized">
                {{ include('Front/_component/icon.html.twig', {id:'checkbox--radio-unchecked', class: 'icon-unchecked'}) }}
                {{ include('Front/_component/icon.html.twig', {id:'checkbox--radio-checked', class: 'icon-checked'}) }}
                Réalisées
            </li>
        </ul>
        <div class="operations-list">
            {% if constant('AppBundle\\Enum\\UserType::TEACHER') == app.user.type %}
                <div class="operation-block blockProgramed list-scrollable">
                    {{ include('Front/User/Legacy/_component/describeOperationItdlc.html.twig', {operations:oItdlcPlanned}) }}

                    {{
                        include('Front/User/Legacy/_component/describeOperationPee.html.twig', {
                            operations: oPeePlanned,
                            dWaitingValidation: dPeeWaitingValidation
                        })
                    }}
                </div>
                <div class="operation-block blockRealized list-scrollable">
                    {{ include('Front/User/Legacy/_component/describeOperationItdlc.html.twig', {operations:oItdlcDone}) }}

                    {{ include('Front/User/Legacy/_component/describeOperationPee.html.twig', {operations:oPeeDone}) }}
                </div>
            {% else %} {# Engineer #}
                <div class="operation-block blockProgramed list-scrollable">
                    {{ include('Front/User/Legacy/_component/describeOperationItdlc.html.twig', {operations:oItdlcPlanned}) }}
                </div>
                <div class="operation-block blockRealized list-scrollable">
                    {{ include('Front/User/Legacy/_component/describeOperationItdlc.html.twig', {operations:oItdlcDone}) }}
                </div>
            {% endif %}
        </div>
    </div>      
</div>