{% extends 'buzz/base.html.twig' %}
{% import 'buzz/fragments/macros.html.twig' as macros %}
{% block title %}{{ metaTag.title }}{% endblock %}
{% block meta_description %}{{ metaTag.description }}{% endblock %}
{% block stylesheets %}
{{ parent() }}
<link rel="stylesheet" href="{{ asset('build/css/buzz/index/index_fr.css') }}">
<link rel="stylesheet" href="{{ asset('build/css/buzz/custom_fusacq.css') }}">
{% endblock %}
{% block body %}
{% set countryNames = {
'be': 'BELGIQUE',
'ca': 'CANADA',
'ch': 'SUISSE',
'fr': 'FRANCE',
} %}
<div class="row">
<div class="col-12">
{{ render_esi(controller(
'App\\Controller\\Buzz\\CoreController::menu',
{ "lang": lang,
"currentRoute":currentRoute,
"codePays": codePaysWithUnderScore,
"authFrom": authFrom }
)) | spaceless }}
{% include 'buzz/fragments/publicite.html.twig' %}
<div class="container">
<div class="row">
<main class="col-12 col-lg-9 no_shadow mb-3 border_right_dashed">
<div class="row bkg_blanc d-none d-sm-block">
<div class="onglet_buzz col-12 no-padding-x ">
<nav>
<div class="nav nav-tabs nav-fill" id="nav-tab" role="tablist">
{% if codePays == 'fr' %}
{# Pour la France : 3 onglets #}
<div class="col-12 col-sm-4 no-padding-x order-sm-1 order-3">
<div class="nav-item nav-link active">
<span class="fs11">ACTUALITÉ NATIONALE</span>
</div>
</div>
<div class="col-12 col-sm-4 no-padding-x bl_gris order-sm-2 order-2">
<a class="nav-item nav-link"
href="{{ path('buzz_actualite_internationale',{'codePays':codePaysWithUnderScore}) }}">
<span class="fs11">ACTUALITÉ INTERNATIONALE</span>
</a>
</div>
<div class="col-12 col-sm-4 no-padding-x bl_gris order-sm-3 order-1">
<a class="nav-item nav-link"
href="{{ path('buzz_en_direct_des_experts',{'codePays':codePaysWithUnderScore}) }}">
<span class="fs11">EN DIRECT DES EXPERTS</span>
</a>
</div>
{% else %}
{# Pour les autres pays : 4 onglets #}
<div class="col-12 col-sm-3 no-padding-x order-sm-1 order-4">
<a class="nav-item nav-link" href="/buzz/{{ codePays }}">
<span class="fs11">ACTUALITÉ {{ countryNames[codePays] is defined ? countryNames[codePays] : codePays|upper }}</span>
</a>
</div>
<div class="col-12 col-sm-3 no-padding-x order-sm-2 order-1">
<div class="nav-item nav-link active">
<span class="fs11">FRANCE</span>
</div>
</div>
<div class="col-12 col-sm-3 no-padding-x bl_gris order-sm-3 order-2">
<a class="nav-item nav-link"
href="{{ path('buzz_actualite_internationale',{'codePays':codePaysWithUnderScore}) }}">
<span class="fs11">INTERNATIONAL</span>
</a>
</div>
<div class="col-12 col-sm-3 no-padding-x bl_gris order-sm-4 order-3">
<a class="nav-item nav-link"
href="{{ path('buzz_en_direct_des_experts',{'codePays':codePaysWithUnderScore}) }}">
<span class="fs11">L'ACTU DES EXPERTS</span>
</a>
</div>
{% endif %}
</div>
</nav>
</div>
</div>
<div class="row bkg_blanc">
<div class="col-12 pt-4 mt-2 text-center">
<h3 class="gris_666">L'actualité française des Fusions-acquisitions</h3>
</div>
<div class="col-12">
<div class="card no_shadow no_border">
<div class="card-body">
<div class="row">
<div class="col-12">
<form class="form-inline" method="GET"
action="{{ path('buzz_recherche_avancee', {'codePays': codePaysWithUnderScore}) }}">
<div class="form-group col-9 col-sm-6 offset-sm-1 mr-sm-3">
<label for="searchInput" class="sr-only">Recherche</label>
<input type="text" class="form-control w-100" id="searchInput"
name="recherche" aria-describedby="emailHelp"
placeholder="Recherche article, société, secteur d'activité, ...">
</div>
<div class="form-group col-2 col-sm-1 pt-1 mr-sm-3">
<button type="submit" class="button-rond" aria-pressed="true">
OK
</button>
</div>
<div class="form-group col-12 col-sm-2 text-center pt-1">
<a href="{{ path('buzz_recherche_avancee', {'codePays': codePaysWithUnderScore}) }}"
class="fullsouligne pb-2 ml-3" target="_self">+ de
critères</a>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
</div>
{% include 'buzz/fragments/page_buzz_fr_main_listing.html.twig' %}
</main><!-- FIN COLONNE GAUCHE -->
<aside class="col-12 col-lg-3 col_droite_buzz2">
<div class="row">
{{ render_esi(controller(
'App\\Controller\\Buzz\\CoreController::rightColumn',
{ "codePays": codePaysWithUnderScore,
"lang" : lang,
"authFrom" : authFrom,
"alwaysShowJuridiqueExperts": true,
"isInternationalImage": true
}
)) }}
</div>
</aside>
</div>
</div>
</div>
</div>
{% if not first_featured and (next_articles is empty) and (grouped_articles is empty) %}
<div class="col-12 text-center my-5">
<p>Aucune actualité française trouvée pour le moment.</p>
</div>
{% endif %}
{% endblock %}
{% block javascripts %}
{{ parent() }}
<script>
(function () {
var imgs = document.querySelectorAll('img[data-fallback]');
imgs.forEach(function (img) {
if (img.dataset.__fallbackBound) { return; }
img.dataset.__fallbackBound = '1';
img.addEventListener('error', function () {
var fb = img.getAttribute('data-fallback');
if (fb && img.src !== fb) { img.src = fb; }
}, { once: true });
});
})();
</script>
{% endblock %}