{% if first_login is defined and first_login is not empty %}
    {%- set first_login_content -%}
    <div class="cgenial-modal first_login" role="dialog">
        <div class="modal-content" role="document">
            <div class="modal-header bg-tangerine text-center">
                <h2 class="h4 text-center">A quelle opération souhaitez-vous participer ?</h2>
            </div>
            <div class="modal-body">
                <div>
                    <div class="row list-cards">
                        <div class="col-md-6">
                            <div class="card bg-tundora">
                                <div class="item-content">
                                    <h3 class="item-title h6 color-la-rioja text-no-transform text-center">
                                        Professeurs en entreprise
                                    </h3>

                                    <div class="item-desc text-center text-small">
                                        {{ render(controller('AppBundle:Render:module', { position:'modal_firstlogin_teacher_block_1', force_type:'custom_html', force_layout:'nowrap.html.twig' })) }}
                                    </div>
            
                                    <footer class="item-more-actions text-small">
                                        <p><a class="btn btn-xs btn-la-rioja" href="{{ path('espace_perso_pee_add') }}">{{ 'word.register'|trans({}, 'word') }}</a></p>
                                        <p><a class="link text-small" href="{{ path('template_level2', {idlevel1:82, titlelevel1:"nos-actions", id:84, title:'professeurs-en-entreprise'}) }}">{{ 'word.learn_more'|trans({}, 'word') }}</a></p>
                                    </footer>
                                </div>
                            </div>
                        </div>  
                        <div class="col-md-6">
                            <div class="card bg-tundora">
                                <div class="item-content">
                                    <h3 class="item-title h6 color-tangerine text-no-transform text-center">
                                        Ingénieurs et techniciens dans les classes
                                    </h3>

                                    <div class="item-desc text-center text-small">
                                        {{ render(controller('AppBundle:Render:module', { position:'modal_firstlogin_teacher_block_2', force_type:'custom_html', force_layout:'nowrap.html.twig' })) }}
                                    </div>
            
                                    <footer class="item-more-actions text-small">
                                        <p><a class="btn btn-xs btn-tangerine" href="{{ path('espace_perso_prof_itdlc_add') }}">{{ 'word.register'|trans({}, 'word') }}</a></p>
                                        <p><a class="link text-small" href="{{ path('template_level2', {idlevel1:82, titlelevel1:"nos-actions", id:83, title:'ingenieurs-et-techniciens-dans-les-classes'}) }}">{{ 'word.learn_more'|trans({}, 'word') }}</a></p>
                                    </footer>
                                </div>
                            </div>
                        </div>  
                        <div class="col-md-6">
                            <div class="card bg-tundora">
                                <div class="item-content">
                                    <h3 class="item-title h6 color-pelorous text-no-transform text-center">
                                        Concours CGénial
                                    </h3>

                                    <div class="item-desc text-center text-small">
                                        {{ render(controller('AppBundle:Render:module', { position:'modal_firstlogin_teacher_block_3', force_type:'custom_html', force_layout:'nowrap.html.twig' })) }}
                                    </div>
            
                                    <footer class="item-more-actions text-small">
                                        <p><a class="btn btn-xs btn-pelorous" href="{{ path('template_level2', {idlevel1:82, titlelevel1:"nos-actions", id:145, title:'concours-cgenial'}) }}">{{ 'word.register'|trans({}, 'word') }}</a></p>
                                        <p><a class="link text-small" href="{{ path('template_level2', {idlevel1:82, titlelevel1:"nos-actions", id:145, title:'concours-cgenial'}) }}">{{ 'word.learn_more'|trans({}, 'word') }}</a></p>
                                    </footer>
                                </div>
                            </div>
                        </div>
                        <div class="col-md-6">
                            <div class="card bg-tundora">
                                <div class="item-content">
                                    <h3 class="item-title h6 color-pelorous text-no-transform text-center">
                                        Yes We Code!
                                    </h3>

                                    <div class="item-desc text-center text-small">
                                        {{ render(controller('AppBundle:Render:module', { position:'modal_firstlogin_teacher_block_4', force_type:'custom_html', force_layout:'nowrap.html.twig' })) }}
                                    </div>
            
                                    <footer class="item-more-actions text-small">
                                        <p><a class="btn btn-sm btn-pelorous" href="{{ path('template_level2', {idlevel1:82, titlelevel1:"nos-actions", id:162, title:'yes-we-code'}) }}">{{ 'word.register'|trans({}, 'word') }}</a></p>
                                        <p><a class="link text-small" href="{{ path('template_level2', {idlevel1:82, titlelevel1:"nos-actions", id:162, title:'yes-we-code'}) }}">{{ 'word.learn_more'|trans({}, 'word') }}</a></p>
                                    </footer>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    {%- endset -%}
    <script type="text/javascript">
        var first_login_content = "{{ first_login_content|replace({"\"":"\\\"", "\n":"", "\r":"", "\t":""})|raw }}";
    </script>
{% endif %}