templates/reprendre_entreprise/cible_potentielle.html.twig line 1

Open in your IDE?
  1. {% extends 'base.html.twig' %}
  2. {% block stylesheets %}  {{ parent() }}
  3.      <!-- <link rel="stylesheet" href="{{ asset('build/css/reprendre_entreprise/entreprise.css') }}">  -->
  4. {% endblock %}
  5. {% block body %}
  6.     {% include 'assets/assets_vuejs.html.twig' %}
  7.     <!-- Menu  -->
  8.     {{ render_esi(controller(
  9.       'App\\Controller\\CoreController::menu',
  10.       {   "lang": lang,
  11.           "currentRoute":currentRoute,
  12.           "codePays": codePaysWithUnderScore }
  13.     )) | spaceless }}
  14.     <!-- Menu  -->
  15.     <!-- Publicite  -->
  16.     {% include 'includes/publicite.html.twig' %}
  17.     <!-- Publicite  -->
  18.     <div class="container" id="app">
  19.         <div class="row">
  20.             <!--COLONNE GAUCHE -->
  21.             {% include 'includes/colonne_gauche_cibles_potentielles.html.twig' %}
  22.             <!--FIN COLONNE GAUCHE -->
  23.             <!--COLONNE DROITE -->
  24.             <div class="col-12 col-lg-9 bkg_blanc">
  25.                 <!-- ARIANE -->
  26.                 <nav aria-label="breadcrumb" class="d-none d-sm-block">
  27.                     <ol class="breadcrumb">
  28.                         <li class="breadcrumb-item"><a href="{{ path('index',{'codePays':codePays}) }}">{{ translate("accueil",lang,"","M") | raw }}</a></li>
  29.                         <li class="breadcrumb-item"><a href="{{ path('reprendre_entreprise_annonces_cession_entreprise',{'codePays':codePaysWithUnderScore}  ) }}">{{ translate("reprendre une entreprise",lang,"","M") | raw }}</a></li>
  30.                             {% if idLocalisation and not idSecteurActivite %}
  31.                             <li class="breadcrumb-item"><a href="{{ path('reprendre_entreprise_resultats_cibles_potentielles', {'codePays' : codePaysWithUnderScore}) }}" title="{{ translate("cibles potentielles",lang,"","M") | raw }}">{{ translate("cibles potentielles",lang,"","M") | raw }}</a></li>
  32.                                 {% for index, localisation in localisations %}
  33.                                     {% if index == 0 %}
  34.                                         {% set type_loc = "p" %}
  35.                                     {% elseif index == 1 %}
  36.                                         {% set type_loc = "r" %}
  37.                                     {% else %}
  38.                                         {% set type_loc = "d" %}
  39.                                     {% endif %}
  40.                                 {% if localisation != localisations|last %}
  41.                                     {% set arrayVarsTrans =  {"prefixe": localisation.prefixe, "nom_localisation" : localisation.nom_localisation }  %}
  42.                                     <li class="breadcrumb-item">
  43.                                         <a href="{{ path('reprendre_entreprise_annonce_cession_entreprise_localisation', {'slug': localisation.nom_localisation|slugify, 'type': type_loc, 'idLocalisation': localisation.id_localisation, 'codePays': codePaysWithUnderScore}) }}"
  44.                                            title="{{ translate("cibles potentielles %$prefixe%$ %$nom_localisation%$",lang,"","M", "", arrayVarsTrans) | raw }}">
  45.                                             {{ localisation.nom_localisation }}
  46.                                         </a>
  47.                                     </li>
  48.                                 {% else %}
  49.                                     <li class="breadcrumb-item active" aria-current="page">{{ localisation.nom_localisation }}</li>
  50.                                     {% endif %}
  51.                                 {% endfor %}
  52.                             {% elseif idSecteurActivite and not idLocalisation %}
  53.                             <li class="breadcrumb-item"><a href="{{ path('reprendre_entreprise_resultats_cibles_potentielles', {'codePays' : codePaysWithUnderScore}) }}" title="{{ translate("cibles potentielles",lang,"","M") | raw }}">{{ translate("cibles potentielles",lang,"","M") | raw }}</a></li>
  54.                                 {% for index, secteurActivite in secteurActivites %}
  55.                                     {% if secteurActivite != secteurActivites|last %}
  56.                                         {% set arrayVarsTrans =  {"nomPourTitle": secteurActivite.nomPourTitle|lower }  %}
  57.                                     <li class="breadcrumb-item">
  58.                                         <a href="{{ path('reprendre_entreprise_cible_potentielle_secteur_activite', {'slug': secteurActivite.nomSecteurActivite|slugify, 'idSecteurActivite': secteurActivite.idSecteurActivite, 'codePays': codePaysWithUnderScore}) }}"
  59.                                            title="{{ translate("cibles potentielles %$nomPourTitle%$",lang,"","M", "", arrayVarsTrans) | raw }}">
  60.                                             {{ secteurActivite.nomSecteurActivite }}
  61.                                         </a>
  62.                                     </li>
  63.                                 {% else %}
  64.                                     <li class="breadcrumb-item active" aria-current="page">{{ secteurActivite.nomSecteurActivite }}</li>
  65.                                     {% endif %}
  66.                                 {% endfor %}
  67.                             {% elseif idSecteurActivite and idLocalisation %}
  68.                             <li class="breadcrumb-item"><a href="{{ path('reprendre_entreprise_resultats_cibles_potentielles', {'codePays' : codePaysWithUnderScore}) }}" title="{{ translate("cibles potentielles",lang,"","M") | raw }}">{{ translate("cibles potentielles",lang,"","M") | raw }}</a></li>
  69.                                 {% for index, secteurActivite in secteurActivites %}
  70.                                     {% set arrayVarsTrans =  {"nomPourTitle": secteurActivite.nomPourTitle|lower }  %}
  71.                                 <li class="breadcrumb-item">
  72.                                     <a href="{{ path('reprendre_entreprise_cible_potentielle_secteur_activite', {'slug': secteurActivite.nomSecteurActivite|slugify, 'idSecteurActivite': secteurActivite.idSecteurActivite, 'codePays': codePaysWithUnderScore}) }}"
  73.                                        title="{{ translate("cibles potentielles %$nomPourTitle%$",lang,"","M", "", arrayVarsTrans) | raw }}">
  74.                                         {{ secteurActivite.nomSecteurActivite }}
  75.                                     </a>
  76.                                 </li>
  77.                             {% endfor %}
  78.                             {% for index, localisation in localisations %}
  79.                                 {% if index == 0 %}
  80.                                     {% set type_loc = "p" %}
  81.                                 {% elseif index == 1 %}
  82.                                     {% set type_loc = "r" %}
  83.                                 {% else %}
  84.                                     {% set type_loc = "d" %}
  85.                                 {% endif %}
  86.                                 {% if localisation != localisations|last %}
  87.                                     {% set arrayVarsTrans =  {"prefixe": localisation.prefixe, "nom_localisation" : localisation.nom_localisation, "nomPourTitle": secteurActivites|last.nomPourTitle|lower }  %}
  88.                                     <li class="breadcrumb-item">
  89.                                         <a href="{{ path('reprendre_entreprise_cible_potentielle_croise', {'nomLocalisation': localisation.nom_localisation|slugify, 'nomSecteurActivite': secteurActivites|last.nomSecteurActivite|slugify, 'type': type_loc, 'idLocalisation': localisation.id_localisation, 'idSecteurActivite': secteurActivites|last.idSecteurActivite, 'codePays': codePaysWithUnderScore}) }}"
  90.                                            title="{{ translate("cibles potentielles %$nomPourTitle%$ %$prefixe%$ %$nom_localisation%$",lang,"","M", "", arrayVarsTrans) | raw }}">
  91.                                             {{ localisation.nom_localisation }}
  92.                                         </a>
  93.                                     </li>
  94.                                 {% else %}
  95.                                     <li class="breadcrumb-item active" aria-current="page">{{ localisation.nom_localisation }}</li>
  96.                                     {% endif %}
  97.                                 {% endfor %}
  98.                             {% else %}
  99.                             <li class="breadcrumb-item active" aria-current="page">{{ translate("cibles potentielles",lang,"","M") | raw }}</li>
  100.                             {% endif %}
  101.                     </ol>
  102.                 </nav>
  103.                 <!-- FIN ARIANE -->
  104.                 {% if app.session.flashbag.peek('error')|length > 0 %}
  105.                     <div class="alert alert-danger" role="alert">
  106.                         {% for message in app.flashes('error') %}
  107.                             {{ message }}<br>
  108.                         {% endfor %}
  109.                     </div>
  110.                 {% endif %}
  111.                 {% if app.session.flashbag.peek('success')|length > 0 %}
  112.                     <div class="alert alert-success" role="alert">
  113.                         {% for message in app.flashes('success') %}
  114.                             - {{ message }}<br>
  115.                         {% endfor %}
  116.                     </div>
  117.                 {% endif %}
  118.                 {% if idLocalisation or idSecteurActivite %}
  119.                     <div class="row mt-4">
  120.                         <div class="col-12 mb-1 ml-3 mt-3">
  121.                             <h1 class="bleu fs2">{{ translate("cibles potentielles",lang,"","M") | raw }} -
  122.                                 {% if idLocalisation and not idSecteurActivite %}
  123.                                     {{ localisations|last.nom_localisation }} {% if noms_ville %}({{ noms_ville }}...){% endif %}
  124.                                 {% elseif idSecteurActivite and not idLocalisation %}
  125.                                     {{ secteurActivites|last.nomSecteurActivite }}
  126.                                 {% elseif idSecteurActivite and idLocalisation %}
  127.                                     {{ secteurActivites|last.nomSecteurActivite }} {{ localisations|last.prefixe }} {{ localisations|last.nom_localisation }}
  128.                                 {% endif %}
  129.                             </h1>
  130.                         </div>
  131.                     </div>
  132.                 {% endif %}
  133.                 {% if idLocalisation and not idSecteurActivite %}
  134.                     <div class="row">
  135.                         <div class="col-12">
  136.                             <div class="card no_shadow mb-3 card-ie">
  137.                                 <div class="card-body">
  138.                                     <div class="row">
  139.                                         <div class="col-12 mt-1">
  140.                                             <div class="float-left">
  141.                                                 {% if prev_localisation %}
  142.                                                     {% set arrayVarsTrans =  {"prefixe": prev_localisation.prefixe, "nom_localisation" : prev_localisation.nom_localisation }  %}
  143.                                                     <a href="{{ path('reprendre_entreprise_cible_potentielle_localisation', {'slug': prev_localisation.nom_localisation|slugify, 'type': prev_localisation.type, 'idLocalisation': prev_localisation.id_localisation, 'codePays': codePaysWithUnderScore}) }}" title="{{ translate("cibles potentielles %$prefixe%$ %$nom_localisation%$",lang,"","M", "", arrayVarsTrans) | raw }}">
  144.                                                         <i class="fas fa-arrow-circle-up fa-2x bleu"></i>
  145.                                                     </a>
  146.                                                 {% else %}
  147.                                                     <i class="fas fa-arrow-circle-up fa-2x bleu"></i>
  148.                                                 {% endif %}
  149.                                             </div>
  150.                                             <div class="lh18 ml-5">
  151.                                                 <strong class="bleu">{{ localisations|last.nom_localisation }} ({{ nb_cibles_potentielles }})</strong>
  152.                                             </div>
  153.                                         </div>
  154.                                         {% set nb_elements = sous_localisations_numbers | length %}
  155.                                         {% if nb_elements > 0 and nb_elements <= 5 %}
  156.                                             <div class="col-12 pt-2 mt-3">
  157.                                                 <ul class="cat_regions">
  158.                                                     {% for element in sous_localisations_numbers %}
  159.                                                         {% set arrayVarsTrans =  {"prefixe": element.prefixe, "nom_localisation" : element.nom_localisation }  %}
  160.                                                         <li>
  161.                                                             {% if element.nb_cibles_potentielles > 0 %}
  162.                                                                 <a href="{{ path('reprendre_entreprise_cible_potentielle_localisation', {'slug' : element.nom_localisation|slugify, 'idLocalisation' : element.id_localisation, 'type' : element.type, 'codePays' : codePaysWithUnderScore }) }}" title="{{ translate("cibles potentielles %$prefixe%$ %$nom_localisation%$",lang,"","M", "", arrayVarsTrans) | raw }}">
  163.                                                                     {{ element.nom_localisation }} ({{ element.nb_cibles_potentielles }})
  164.                                                                 </a>
  165.                                                             {% else %}
  166.                                                                 <span class="disabled-link">{{ element.nom_localisation }} ({{ element.nb_cibles_potentielles }})</span>
  167.                                                             {% endif %}
  168.                                                         </li>
  169.                                                     {% endfor %}
  170.                                                 </ul>
  171.                                             </div>
  172.                                         {% elseif nb_elements > 5 %}
  173.                                             {% set half = ((sous_localisations_numbers | length) / 2)| round(0, 'ceil') %}
  174.                                             <div class="col-6 pt-2 mt-3">
  175.                                                 <ul class="cat_regions">
  176.                                                     {% for index, element in sous_localisations_numbers %}
  177.                                                         {% set arrayVarsTrans =  {"prefixe": element.prefixe, "nom_localisation" : element.nom_localisation }  %}
  178.                                                         {% if index < half %}
  179.                                                             <li>
  180.                                                                 {% if element.nb_cibles_potentielles > 0 %}
  181.                                                                     <a href="{{ path('reprendre_entreprise_cible_potentielle_localisation', {'slug' : element.nom_localisation|slugify, 'idLocalisation' : element.id_localisation, 'type' : element.type, 'codePays' : codePaysWithUnderScore }) }}" title="{{ translate("cibles potentielles %$prefixe%$ %$nom_localisation%$",lang,"","M", "", arrayVarsTrans) | raw }}">
  182.                                                                         {{ element.nom_localisation }} ({{ element.nb_cibles_potentielles }})
  183.                                                                     </a>
  184.                                                                 {% else %}
  185.                                                                     <span class="disabled-link">{{ element.nom_localisation }} ({{ element.nb_cibles_potentielles }})</span>
  186.                                                                 {% endif %}
  187.                                                             </li>
  188.                                                         {% endif %}
  189.                                                     {% endfor %}
  190.                                                 </ul>
  191.                                             </div>
  192.                                             <div class="col-6 pt-2 mt-3">
  193.                                                 <ul class="cat_regions">
  194.                                                     {% for index, element in sous_localisations_numbers %}
  195.                                                         {% set arrayVarsTrans =  {"prefixe": element.prefixe, "nom_localisation" : element.nom_localisation }  %}
  196.                                                         {% if index >= half %}
  197.                                                             <li>
  198.                                                                 {% if element.nb_cibles_potentielles > 0 %}
  199.                                                                     <a href="{{ path('reprendre_entreprise_cible_potentielle_localisation', {'slug' : element.nom_localisation|slugify, 'idLocalisation' : element.id_localisation, 'type' : element.type, 'codePays' : codePaysWithUnderScore }) }}" title="{{ translate("cibles potentielles %$prefixe%$ %$nom_localisation%$",lang,"","M", "", arrayVarsTrans) | raw }}">
  200.                                                                         {{ element.nom_localisation }} ({{ element.nb_cibles_potentielles }})
  201.                                                                     </a>
  202.                                                                 {% else %}
  203.                                                                     <span class="disabled-link">{{ element.nom_localisation }} ({{ element.nb_cibles_potentielles }})</span>
  204.                                                                 {% endif %}
  205.                                                             </li>
  206.                                                         {% endif %}
  207.                                                     {% endfor %}
  208.                                                 </ul>
  209.                                             </div>
  210.                                         {% endif %}
  211.                                     </div>
  212.                                 </div>
  213.                             </div>
  214.                             <div class="col-12 text-right">
  215.                                 {% set arrayVarsTrans =  {"prefixe": localisations|last.prefixe, "nom_localisation" : localisations|last.nom_localisation }  %}
  216.                                 <img src="https://content.fusacq.com/static/help-fusacq/fr/css/images/mini_logo.jpg" alt="Place des Commerces">&nbsp;
  217.                                 <a href="https://www.placedescommerces.com/vente-commerce-{{ localisations|last.nom_localisation|slugify }},{{ type }}{{ localisations|last.id_localisation }}.html" target="_blank">{{ translate("reprendre un commerce %$prefixe%$ %$nom_localisation%$",lang,"","M", "", arrayVarsTrans) | raw }}</a>
  218.                             </div>
  219.                         </div>
  220.                     </div>
  221.                 {% elseif idSecteurActivite and not idLocalisation %}
  222.                     <div class="row">
  223.                         <div class="col-12">
  224.                             <div class="card no_shadow mb-3 card-ie">
  225.                                 <div class="card-body">
  226.                                     <div class="row">
  227.                                         <div class="col-12 mt-1">
  228.                                             <div class="float-left">
  229.                                                 {% if prev_secteur %}
  230.                                                     {% set arrayVarsTrans =  {"nomPourTitle": prev_secteur.nomPourTitle|lower }  %}
  231.                                                     <a href="{{ path('reprendre_entreprise_cible_potentielle_secteur_activite', {'slug': prev_secteur.nomSecteurActivite|slugify, 'idSecteurActivite': prev_secteur.idSecteurActivite, 'codePays': codePaysWithUnderScore}) }}"
  232.                                                        title="{{ translate("cibles potentielles %$nomPourTitle%$",lang,"","M", "", arrayVarsTrans) | raw }}">
  233.                                                         <i class="fas fa-arrow-circle-up fa-2x bleu"></i>
  234.                                                     </a>
  235.                                                 {% else %}
  236.                                                     <a href="{{ path('reprendre_entreprise_cibles_potentielles', {'codePays': codePaysWithUnderScore }) }}" title="{{ translate("toutes les opportunités", lang, "", "M") }}">
  237.                                                         <i class="fas fa-arrow-circle-up fa-2x bleu"></i>
  238.                                                     </a>
  239.                                                 {% endif %}
  240.                                             </div>
  241.                                             <div class="lh18 ml-5">
  242.                                                 <strong class="bleu">{{ secteurActivites|last.nomSecteurActivite }} ({{ nb_cibles_potentielles }})</strong>
  243.                                             </div>
  244.                                         </div>
  245.                                         {% set nb_elements = sous_secteurs_numbers | length %}
  246.                                         {% if nb_elements > 0 and nb_elements <= 5 %}
  247.                                             <div class="col-12 pt-2 mt-3">
  248.                                                 <ul class="cat_regions">
  249.                                                     {% for element in sous_secteurs_numbers %}
  250.                                                         {% set arrayVarsTrans =  {"nomPourTitle": secteurActivites|last.nomPourTitle|lower }  %}
  251.                                                         <li>
  252.                                                             {% if element.nb_cibles_potentielles > 0 %}
  253.                                                                 <a href="{{ path('reprendre_entreprise_cible_potentielle_secteur_activite', {'slug' : element.nomSecteurActivite|slugify, 'idSecteurActivite' : element.idSecteurActivite, 'codePays' : codePaysWithUnderScore }) }}"
  254.                                                                    title="{{ translate("cibles potentielles %$nomPourTitle%$",lang,"","M", "", arrayVarsTrans) | raw }}">
  255.                                                                     {{ element.nomSecteurActivite }} ({{ element.nb_cibles_potentielles }})
  256.                                                                 </a>
  257.                                                             {% else %}
  258.                                                                 <span class="disabled-link">{{ element.nomSecteurActivite }} ({{ element.nb_cibles_potentielles }})</span>
  259.                                                             {% endif %}
  260.                                                         </li>
  261.                                                     {% endfor %}
  262.                                                 </ul>
  263.                                             </div>
  264.                                         {% elseif nb_elements > 5 %}
  265.                                             {% set half = ((sous_secteurs_numbers | length) / 2)| round(0, 'ceil') %}
  266.                                             <div class="col-6 pt-2 mt-3">
  267.                                                 <ul class="cat_regions">
  268.                                                     {% for index, element in sous_secteurs_numbers %}
  269.                                                         {% set arrayVarsTrans =  {"nomPourTitle": secteurActivites|last.nomPourTitle|lower }  %}
  270.                                                         {% if index < half %}
  271.                                                             <li>
  272.                                                                 {% if element.nb_cibles_potentielles > 0 %}
  273.                                                                     <a href="{{ path('reprendre_entreprise_cible_potentielle_secteur_activite', {'slug' : element.nomSecteurActivite|slugify, 'idSecteurActivite' : element.idSecteurActivite, 'codePays' : codePaysWithUnderScore }) }}"
  274.                                                                        title="{{ translate("cibles potentielles %$nomPourTitle%$",lang,"","M", "", arrayVarsTrans) | raw }}">
  275.                                                                         {{ element.nomSecteurActivite }} ({{ element.nb_cibles_potentielles }})
  276.                                                                     </a>
  277.                                                                 {% else %}
  278.                                                                     <span class="disabled-link">{{ element.nomSecteurActivite }} ({{ element.nb_cibles_potentielles }})</span>
  279.                                                                 {% endif %}
  280.                                                             </li>
  281.                                                         {% endif %}
  282.                                                     {% endfor %}
  283.                                                 </ul>
  284.                                             </div>
  285.                                             <div class="col-6 pt-2 mt-3">
  286.                                                 <ul class="cat_regions">
  287.                                                     {% for index, element in sous_secteurs_numbers %}
  288.                                                         {% set arrayVarsTrans =  {"nomPourTitle": secteurActivites|last.nomPourTitle|lower }  %}
  289.                                                         {% if index >= half %}
  290.                                                             <li>
  291.                                                                 {% if element.nb_cibles_potentielles > 0 %}
  292.                                                                     <a href="{{ path('reprendre_entreprise_cible_potentielle_secteur_activite', {'slug' : element.nomSecteurActivite|slugify, 'idSecteurActivite' : element.idSecteurActivite, 'codePays' : codePaysWithUnderScore }) }}"
  293.                                                                        title="{{ translate("cibles potentielles %$nomPourTitle%$",lang,"","M", "", arrayVarsTrans) | raw }}">
  294.                                                                         {{ element.nomSecteurActivite }} ({{ element.nb_cibles_potentielles }})
  295.                                                                     </a>
  296.                                                                 {% else %}
  297.                                                                     <span class="disabled-link">{{ element.nomSecteurActivite }} ({{ element.nb_cibles_potentielles }})</span>
  298.                                                                 {% endif %}
  299.                                                             </li>
  300.                                                         {% endif %}
  301.                                                     {% endfor %}
  302.                                                 </ul>
  303.                                             </div>
  304.                                         {% endif %}
  305.                                     </div>
  306.                                 </div>
  307.                             </div>
  308.                             <div class="col-12 text-right">
  309.                                 {% set arrayVarsTrans =  {"nomPourTitle": secteurActivites|last.nomPourTitle }  %}
  310.                                 <!-- <img src="https://content.fusacq.com/static/help-fusacq/fr/css/images/mini_logo.jpg" alt="Place des Commerces">&nbsp; -->
  311.                                 <!-- <a href="https://www.placedescommerces.com/vente-commerce-{{ secteurActivites|last.nomSecteurActivite|slugify }},{{ secteurActivites|last.idSecteurActivite }}.html" target="_blank">{{ translate("reprendre un commerce %$nomPourTitle%$",lang,"","M", "", arrayVarsTrans) | raw }}</a> -->
  312.                             </div>
  313.                         </div>
  314.                     </div>
  315.                 {% elseif idSecteurActivite and idLocalisation %}
  316.                     <div class="row">
  317.                         <div class="col-12">
  318.                             <div class="card no_shadow mb-3 card-ie">
  319.                                 <div class="card-body">
  320.                                     <div class="row">
  321.                                         <div class="col-12 mt-1">
  322.                                             <div class="float-left">
  323.                                                 {% if prev_localisation %}
  324.                                                     {% set arrayVarsTrans =  {"prefixe": prev_localisation.prefixe, "nom_localisation" : prev_localisation.nom_localisation, "nomPourTitle": secteurActivites|last.nomPourTitle|lower }  %}
  325.                                                     <a href="{{ path('reprendre_entreprise_cible_potentielle_croise', {'nomLocalisation': prev_localisation.nom_localisation|slugify, 'nomSecteurActivite' : secteurActivites|last.nomSecteurActivite|slugify, 'type': prev_localisation.type, 'idLocalisation': prev_localisation.id_localisation, 'idSecteurActivite' : secteurActivites|last.idSecteurActivite, 'codePays': codePaysWithUnderScore}) }}"
  326.                                                        title="{{ translate("cibles potentielles %$nomPourTitle%$ %$prefixe%$ %$nom_localisation%$",lang,"","M", "", arrayVarsTrans) | raw }}">
  327.                                                         <i class="fas fa-arrow-circle-up fa-2x bleu"></i>
  328.                                                     </a>
  329.                                                 {% else %}
  330.                                                     <i class="fas fa-arrow-circle-up fa-2x bleu"></i>
  331.                                                 {% endif %}
  332.                                             </div>
  333.                                             <div class="lh18 ml-5">
  334.                                                 <strong class="bleu">{{ localisations|last.nom_localisation }} ({{ nb_cibles_potentielles }})</strong>
  335.                                             </div>
  336.                                         </div>
  337.                                         {% set nb_elements = sous_localisations_numbers | length %}
  338.                                         {% if nb_elements > 0 and nb_elements <= 5 %}
  339.                                             <div class="col-12 pt-2 mt-3">
  340.                                                 <ul class="cat_regions">
  341.                                                     {% for element in sous_localisations_numbers %}
  342.                                                         {% set arrayVarsTrans =  {"prefixe": element.prefixe, "nom_localisation" : element.nom_localisation, "nomPourTitle": secteurActivites|last.nomPourTitle|lower }  %}
  343.                                                         <li>
  344.                                                             {% if element.nb_cibles_potentielles > 0 %}
  345.                                                                 <a href="{{ path('reprendre_entreprise_cible_potentielle_croise', {'nomLocalisation' : element.nom_localisation|slugify, 'nomSecteurActivite' : secteurActivites|last.nomSecteurActivite|slugify, 'idLocalisation' : element.id_localisation, 'type' : element.type, 'idSecteurActivite' : secteurActivites|last.idSecteurActivite, 'codePays' : codePaysWithUnderScore }) }}"
  346.                                                                    title="{{ translate("cibles potentielles %$nomPourTitle%$ %$prefixe%$ %$nom_localisation%$",lang,"","M", "", arrayVarsTrans) | raw }}">
  347.                                                                     {{ element.nom_localisation }} ({{ element.nb_cibles_potentielles }})
  348.                                                                 </a>
  349.                                                             {% else %}
  350.                                                                 <span class="disabled-link">{{ element.nom_localisation }} ({{ element.nb_cibles_potentielles }})</span>
  351.                                                             {% endif %}
  352.                                                         </li>
  353.                                                     {% endfor %}
  354.                                                 </ul>
  355.                                             </div>
  356.                                         {% elseif nb_elements > 5 %}
  357.                                             {% set half = ((sous_localisations_numbers | length) / 2)| round(0, 'ceil') %}
  358.                                             <div class="col-6 pt-2 mt-3">
  359.                                                 <ul class="cat_regions">
  360.                                                     {% for index, element in sous_localisations_numbers %}
  361.                                                         {% set arrayVarsTrans =  {"prefixe": element.prefixe, "nom_localisation" : element.nom_localisation, "nomPourTitle": secteurActivites|last.nomPourTitle|lower }  %}
  362.                                                         {% if index < half %}
  363.                                                             <li>
  364.                                                                 {% if element.nb_cibles_potentielles > 0 %}
  365.                                                                     <a href="{{ path('reprendre_entreprise_cible_potentielle_croise', {'nomLocalisation' : element.nom_localisation|slugify, 'nomSecteurActivite' : secteurActivites|last.nomSecteurActivite|slugify, 'idLocalisation' : element.id_localisation, 'type' : element.type, 'idSecteurActivite' : secteurActivites|last.idSecteurActivite, 'codePays' : codePaysWithUnderScore }) }}"
  366.                                                                        title="{{ translate("cibles potentielles %$nomPourTitle%$ %$prefixe%$ %$nom_localisation%$",lang,"","M", "", arrayVarsTrans) | raw }}">
  367.                                                                         {{ element.nom_localisation }} ({{ element.nb_cibles_potentielles }})
  368.                                                                     </a>
  369.                                                                 {% else %}
  370.                                                                     <span class="disabled-link">{{ element.nom_localisation }} ({{ element.nb_cibles_potentielles }})</span>
  371.                                                                 {% endif %}
  372.                                                             </li>
  373.                                                         {% endif %}
  374.                                                     {% endfor %}
  375.                                                 </ul>
  376.                                             </div>
  377.                                             <div class="col-6 pt-2 mt-3">
  378.                                                 <ul class="cat_regions">
  379.                                                     {% for index, element in sous_localisations_numbers %}
  380.                                                         {% set arrayVarsTrans =  {"prefixe": element.prefixe, "nom_localisation" : element.nom_localisation, "nomPourTitle": secteurActivites|last.nomPourTitle|lower }  %}
  381.                                                         {% if index >= half %}
  382.                                                             <li>
  383.                                                                 {% if element.nb_cibles_potentielles > 0 %}
  384.                                                                     <a href="{{ path('reprendre_entreprise_cible_potentielle_croise', {'nomLocalisation' : element.nom_localisation|slugify, 'nomSecteurActivite' : secteurActivites|last.nomSecteurActivite|slugify, 'idLocalisation' : element.id_localisation, 'type' : element.type, 'idSecteurActivite' : secteurActivites|last.idSecteurActivite, 'codePays' : codePaysWithUnderScore }) }}"
  385.                                                                        title="{{ translate("cibles potentielles %$nomPourTitle%$ %$prefixe%$ %$nom_localisation%$",lang,"","M", "", arrayVarsTrans) | raw }}">
  386.                                                                         {{ element.nom_localisation }} ({{ element.nb_cibles_potentielles }})
  387.                                                                     </a>
  388.                                                                 {% else %}
  389.                                                                     <span class="disabled-link">{{ element.nom_localisation }} ({{ element.nb_cibles_potentielles }})</span>
  390.                                                                 {% endif %}
  391.                                                             </li>
  392.                                                         {% endif %}
  393.                                                     {% endfor %}
  394.                                                 </ul>
  395.                                             </div>
  396.                                         {% endif %}
  397.                                     </div>
  398.                                 </div>
  399.                             </div>
  400.                             <div class="col-12 text-right">
  401.                                 {% set arrayVarsTrans =  {"prefixe": localisations|last.prefixe, "nom_localisation" : localisations|last.nom_localisation }  %}
  402.                                 <img src="https://content.fusacq.com/static/help-fusacq/fr/css/images/mini_logo.jpg" alt="Place des Commerces">&nbsp;
  403.                                 <a href="https://www.placedescommerces.com/vente-commerce-{{ localisations|last.nom_localisation|slugify }},{{ type }}{{ localisations|last.id_localisation }}.html" target="_blank">{{ translate("reprendre un commerce %$prefixe%$ %$nom_localisation%$",lang,"","M", "", arrayVarsTrans) | raw }}</a>
  404.                             </div>
  405.                         </div>
  406.                     </div>
  407.                 {% endif %}
  408.                 <!--2 BOUTONS-->
  409.                 <div class="row mt-3 mb-3">
  410.                     <div class="col-12 pt-2 mb-4 text-right">
  411.                         <a href="{{ path('reprendre_entreprise_recherche_cibles_potentielles',{'codePays':codePaysWithUnderScore}  ) }}?{{ string_params_without_page }}" class="text-decoration-none" title="{{ translate("modifiez votre recherche",lang,"","M") | raw }}">
  412.                             <button type="submit" class="btn btn-bleu-annonce mt-2">{{ translate("modifiez votre recherche",lang,"","M") | raw }}</button>
  413.                         </a>
  414.                     </div>
  415.                 </div>
  416.                 <!--FIN 2 BOUTONS-->
  417.                 {% if idLocalisation and not idSecteurActivite %}
  418.                     <div class="row" >
  419.                         <div class="col-12 mb-3 ml-3">
  420.                             {% set p = "" %}
  421.                             {% if ( nb_annonces > 1 ) %}
  422.                                 {% set p = "p" %}
  423.                             {% endif %}
  424.                             {% set arrayVarsTrans =  {"prefixe": localisations|last.prefixe, "nom_localisation" : localisations|last.nom_localisation }  %}
  425.                             <span class="fs13">{{ nb_annonces }} {{ translate("$$opportunite$${p|opportunites} %$prefixe%$ %$nom_localisation%$ dont",lang,"","m", p, arrayVarsTrans) | raw }} :</span>
  426.                         </div>
  427.                     </div>
  428.                     <!--MOBILE-->
  429.                     <div class="row d-block d-sm-none bkg_gris_clair">
  430.                         <div class="col-12">
  431.                             <div class="row">
  432.                                 <div class="col-6  text-center my-3 br_gris">
  433.                                     <div class="blanc lh099 py-3">
  434.                                         <a href="{{ path('reprendre_entreprise_annonce_cession_entreprise_localisation', {'slug':slug, 'type':type, 'idLocalisation':idLocalisation, 'codePays':codePaysWithUnderScore}) }}" class="bleu lh099 py-3">
  435.                                             <span class="fs2">{{ nb_entreprises }}</span><br>
  436.                                             {% set p = "" %}
  437.                                             {% if ( nb_entreprises > 1 ) %}
  438.                                                 {% set p = "p" %}
  439.                                             {% endif %}
  440.                                             <span class="res_font">{{ translate("$$cession$${p|cessions}<br>d'entreprise",lang,"","m", p) | raw }}</span>
  441.                                         </a>
  442.                                     </div>
  443.                                 </div>
  444.                                 <div class="col-6 text-center my-3">
  445.                                     <div class="blanc lh099 py-3">
  446.                                         <a href="{{ path('reprendre_entreprise_cession_actif_localisation', {'slug':slug, 'type':type, 'idLocalisation':idLocalisation, 'codePays':codePaysWithUnderScore}) }}" class="bleu lh099 py-3">
  447.                                             <span class="fs2">{{ nb_actifs }}</span><br>
  448.                                             {% set p = "" %}
  449.                                             {% if ( nb_actifs > 1 ) %}
  450.                                                 {% set p = "p" %}
  451.                                             {% endif %}
  452.                                             <span class="res_font">{{ translate("$$actif$${p|actifs} a<br>reprendre",lang,"","m", p) | raw }}</span>
  453.                                         </a>
  454.                                     </div>
  455.                                 </div>
  456.                                 <div class="col-6 text-center my-3 br_gris">
  457.                                     <div class="blanc bkg_bleu_2 lh099 py-3">
  458.                                         <span class="fs2">{{ nb_cibles_potentielles }}</span><br>
  459.                                         {% set p = "" %}
  460.                                         {% if ( nb_cibles_potentielles > 1 ) %}
  461.                                             {% set p = "p" %}
  462.                                         {% endif %}
  463.                                         <span class="res_font">{{ translate("$$cible<br>potentielle$${p|cibles<br>potentielles}",lang,"","m", p) | raw }}</span>
  464.                                     </div>
  465.                                 </div>
  466.                                 <div class="col-6 text-center my-3 pr-4">
  467.                                     <div class="blanc lh099 py-3">
  468.                                         <a href="{{ path('reprendre_entreprise_recherche_partenariat_localisation', {'slug':slug, 'type':type, 'idLocalisation':idLocalisation, 'codePays':codePaysWithUnderScore}) }}" class="bleu lh099 py-3">
  469.                                             <span class="fs2">{{ nb_recherches_partenariats }}</span><br>
  470.                                             {% set p = "" %}
  471.                                             {% if ( nb_recherches_partenariats > 1 ) %}
  472.                                                 {% set p = "p" %}
  473.                                             {% endif %}
  474.                                             <span class="res_font">{{ translate("$$recherche$${p|recherches} de<br>partenariats",lang,"","m", p) | raw }}</span>
  475.                                         </a>
  476.                                     </div>
  477.                                 </div>
  478.                             </div>
  479.                         </div>
  480.                     </div>
  481.                     <!--MOBILE-->
  482.                     <!--TOUT SAUF MOBILE-->
  483.                     <div class="row d-none d-sm-block">
  484.                         <div class="onglet4 col-12 mb-4">
  485.                             <nav>
  486.                                 <div class="nav nav-tabs nav-fill" id="nav-tab" role="tablist">
  487.                                     <div class="col-12 col-sm-3 no-padding-x bl_gris br_gris lh13 order-4 order-sm-1">
  488.                                         <a class="nav-item nav-link" href="{{ path('reprendre_entreprise_annonce_cession_entreprise_localisation', {'slug':slug, 'type':type, 'idLocalisation':idLocalisation, 'codePays':codePaysWithUnderScore}) }}">
  489.                                             {% set p = "" %}
  490.                                             {% if ( nb_entreprises > 1 ) %}
  491.                                                 {% set p = "p" %}
  492.                                             {% endif %}
  493.                                             <span class="fs2">{{ nb_entreprises }}</span><br><span class="fs13">{{ translate("$$cession$${p|cessions}<br>d'entreprise",lang,"","m", p) | raw }}</span>
  494.                                         </a>
  495.                                     </div>
  496.                                     <div class="col-12 col-sm-3 no-padding-x br_gris lh13 order-sm-2">
  497.                                         <a class="nav-item nav-link" href="{{ path('reprendre_entreprise_cession_actif_localisation', {'slug':slug, 'type':type, 'idLocalisation':idLocalisation, 'codePays':codePaysWithUnderScore}) }}">
  498.                                             {% set p = "" %}
  499.                                             {% if ( nb_actifs > 1 ) %}
  500.                                                 {% set p = "p" %}
  501.                                             {% endif %}
  502.                                             <span class="fs2">{{ nb_actifs }}</span><br><span class="fs13">{{ translate("$$actif$${p|actifs} a<br>reprendre",lang,"","m", p) | raw }}</span>
  503.                                         </a>
  504.                                     </div>
  505.                                     <div class="col-12 col-sm-3 no-padding-x br_gris lh13 order-sm-3">
  506.                                         <div class="nav-item nav-link active">
  507.                                             {% set p = "" %}
  508.                                             {% if ( nb_cibles_potentielles > 1 ) %}
  509.                                                 {% set p = "p" %}
  510.                                             {% endif %}
  511.                                             <span class="fs2">{{ nb_cibles_potentielles }}</span><br><span class="fs13">{{ translate("$$cible<br>potentielle$${p|cibles<br>potentielles}",lang,"","m", p) | raw }}</span>
  512.                                         </div>
  513.                                     </div>
  514.                                     <div class="col-12 col-sm-3 no-padding-x br_gris lh13 order-sm-4">
  515.                                         <a class="nav-item nav-link" href="{{ path('reprendre_entreprise_recherche_partenariat_localisation', {'slug':slug, 'type':type, 'idLocalisation':idLocalisation, 'codePays':codePaysWithUnderScore}) }}">
  516.                                             {% set p = "" %}
  517.                                             {% if ( nb_recherches_partenariats > 1 ) %}
  518.                                                 {% set p = "p" %}
  519.                                             {% endif %}
  520.                                             <span class="fs2">{{ nb_recherches_partenariats }}</span><br><span class="fs13">{{ translate("$$recherche$${p|recherches} de<br>partenariats",lang,"","m", p) | raw }}</span>
  521.                                         </a>
  522.                                     </div>
  523.                                 </div>
  524.                             </nav>
  525.                         </div>
  526.                     </div>
  527.                     <!--TOUT SAUF MOBILE-->
  528.                 {% elseif idSecteurActivite and not idLocalisation %}
  529.                     <div class="row">
  530.                         <div class="col-12 mb-3 ml-3">
  531.                             {% set p = "" %}
  532.                             {% if ( nb_annonces > 1 ) %}
  533.                                 {% set p = "p" %}
  534.                             {% endif %}
  535.                             {% set arrayVarsTrans =  {"nomPourTitle": secteurActivites|last.nomPourTitle|lower }  %}
  536.                             <span class="fs13">{{ nb_annonces }} {{ translate("$$opportunite$${p|opportunites} %$nomPourTitle%$ dont",lang,"","m", p, arrayVarsTrans) | raw }} :</span>
  537.                         </div>
  538.                     </div>
  539.                     <!--MOBILE-->
  540.                     <div class="row d-block d-sm-none bkg_gris_clair">
  541.                         <div class="col-12">
  542.                             <div class="row">
  543.                                 <div class="col-6  text-center my-3 br_gris">
  544.                                     <div class="blanc lh099 py-3">
  545.                                         <a href="{{ path('reprendre_entreprise_annonce_cession_entreprise_secteur_activite', {'slug':slug, 'idSecteurActivite': idSecteurActivite, 'codePays':codePaysWithUnderScore}) }}" class="bleu lh099 py-3">
  546.                                             <span class="fs2">{{ nb_entreprises }}</span><br>
  547.                                             {% set p = "" %}
  548.                                             {% if ( nb_entreprises > 1 ) %}
  549.                                                 {% set p = "p" %}
  550.                                             {% endif %}
  551.                                             <span class="res_font">{{ translate("$$cession$${p|cessions}<br>d'entreprise",lang,"","m", p) | raw }}</span>
  552.                                         </a>
  553.                                     </div>
  554.                                 </div>
  555.                                 <div class="col-6 text-center my-3">
  556.                                     <div class="blanc lh099 py-3">
  557.                                         <a href="{{ path('reprendre_entreprise_cession_actif_secteur_activite', {'slug':slug, 'idSecteurActivite':idSecteurActivite, 'codePays':codePaysWithUnderScore}) }}" class="bleu lh099 py-3">
  558.                                             <span class="fs2">{{ nb_actifs }}</span><br>
  559.                                             {% set p = "" %}
  560.                                             {% if ( nb_actifs > 1 ) %}
  561.                                                 {% set p = "p" %}
  562.                                             {% endif %}
  563.                                             <span class="res_font">{{ translate("$$actif$${p|actifs} a<br>reprendre",lang,"","m", p) | raw }}</span>
  564.                                         </a>
  565.                                     </div>
  566.                                 </div>
  567.                                 <div class="col-6 text-center my-3 br_gris">
  568.                                     <div class="blanc bkg_bleu_2 lh099 py-3">
  569.                                         <span class="fs2">{{ nb_cibles_potentielles }}</span><br>
  570.                                         {% set p = "" %}
  571.                                         {% if ( nb_cibles_potentielles > 1 ) %}
  572.                                             {% set p = "p" %}
  573.                                         {% endif %}
  574.                                         <span class="res_font">{{ translate("$$cible<br>potentielle$${p|cibles<br>potentielles}",lang,"","m", p) | raw }}</span>
  575.                                     </div>
  576.                                 </div>
  577.                                 <div class="col-6 text-center my-3 pr-4">
  578.                                     <div class="blanc lh099 py-3">
  579.                                         <a href="{{ path('reprendre_entreprise_recherche_partenariat_secteur_activite', {'slug': slug, 'idSecteurActivite' : idSecteurActivite, 'codePays': codePaysWithUnderScore}) }}" class="bleu lh099 py-3">
  580.                                             <span class="fs2">{{ nb_recherches_partenariats }}</span><br>
  581.                                             {% set p = "" %}
  582.                                             {% if ( nb_recherches_partenariats > 1 ) %}
  583.                                                 {% set p = "p" %}
  584.                                             {% endif %}
  585.                                             <span class="res_font">{{ translate("$$recherche$${p|recherches} de<br>partenariats",lang,"","m", p) | raw }}</span>
  586.                                         </a>
  587.                                     </div>
  588.                                 </div>
  589.                             </div>
  590.                         </div>
  591.                     </div>
  592.                     <!--MOBILE-->
  593.                     <!--TOUT SAUF MOBILE-->
  594.                     <div class="row d-none d-sm-block">
  595.                         <div class="onglet4 col-12 mb-4">
  596.                             <nav>
  597.                                 <div class="nav nav-tabs nav-fill" id="nav-tab" role="tablist">
  598.                                     <div class="col-12 col-sm-3 no-padding-x bl_gris br_gris lh13 order-4 order-sm-1">
  599.                                         <a class="nav-item nav-link" href="{{ path('reprendre_entreprise_annonce_cession_entreprise_secteur_activite', {'slug':slug, 'idSecteurActivite': idSecteurActivite, 'codePays':codePaysWithUnderScore}) }}">
  600.                                             {% set p = "" %}
  601.                                             {% if ( nb_entreprises > 1 ) %}
  602.                                                 {% set p = "p" %}
  603.                                             {% endif %}
  604.                                             <span class="fs2">{{ nb_entreprises }}</span><br><span class="fs13">{{ translate("$$cession$${p|cessions}<br>d'entreprise",lang,"","m", p) | raw }}</span>
  605.                                         </a>
  606.                                     </div>
  607.                                     <div class="col-12 col-sm-3 no-padding-x br_gris lh13 order-sm-2">
  608.                                         <a class="nav-item nav-link" href="{{ path('reprendre_entreprise_cession_actif_secteur_activite', {'slug':slug, 'idSecteurActivite': idSecteurActivite, 'codePays':codePaysWithUnderScore}) }}">
  609.                                             {% set p = "" %}
  610.                                             {% if ( nb_actifs > 1 ) %}
  611.                                                 {% set p = "p" %}
  612.                                             {% endif %}
  613.                                             <span class="fs2">{{ nb_actifs }}</span><br><span class="fs13">{{ translate("$$actif$${p|actifs} a<br>reprendre",lang,"","m", p) | raw }}</span>
  614.                                         </a>
  615.                                     </div>
  616.                                     <div class="col-12 col-sm-3 no-padding-x br_gris lh13 order-sm-3">
  617.                                         <div class="nav-item nav-link active">
  618.                                             {% set p = "" %}
  619.                                             {% if ( nb_cibles_potentielles > 1 ) %}
  620.                                                 {% set p = "p" %}
  621.                                             {% endif %}
  622.                                             <span class="fs2">{{ nb_cibles_potentielles }}</span><br><span class="fs13">{{ translate("$$cible<br>potentielle$${p|cibles<br>potentielles}",lang,"","m", p) | raw }}</span>
  623.                                         </div>
  624.                                     </div>
  625.                                     <div class="col-12 col-sm-3 no-padding-x br_gris lh13 order-sm-4">
  626.                                         <a class="nav-item nav-link" href="{{ path('reprendre_entreprise_recherche_partenariat_secteur_activite', {'slug': slug, 'idSecteurActivite' : idSecteurActivite, 'codePays': codePaysWithUnderScore}) }}">
  627.                                             {% set p = "" %}
  628.                                             {% if ( nb_recherches_partenariats > 1 ) %}
  629.                                                 {% set p = "p" %}
  630.                                             {% endif %}
  631.                                             <span class="fs2">{{ nb_recherches_partenariats }}</span><br><span class="fs13">{{ translate("$$recherche$${p|recherches} de<br>partenariats",lang,"","m", p) | raw }}</span>
  632.                                         </a>
  633.                                     </div>
  634.                                 </div>
  635.                             </nav>
  636.                         </div>
  637.                     </div>
  638.                     <!--TOUT SAUF MOBILE-->
  639.                 {% elseif idLocalisation and idSecteurActivite %}
  640.                     <div class="row">
  641.                         <div class="col-12 mb-3 ml-3">
  642.                             {% set p = "" %}
  643.                             {% if ( nb_annonces > 1 ) %}
  644.                                 {% set p = "p" %}
  645.                             {% endif %}
  646.                             {% set arrayVarsTrans =  {"prefixe": localisations|last.prefixe, "nom_localisation" : localisations|last.nom_localisation, "nomPourTitle": secteurActivites|last.nomPourTitle|lower }  %}
  647.                             <span class="fs13">{{ nb_annonces }} {{ translate("$$opportunite$${p|opportunites} %$nomPourTitle%$ %$prefixe%$ %$nom_localisation%$ dont",lang,"","m", p, arrayVarsTrans) | raw }} :</span>
  648.                         </div>
  649.                     </div>
  650.                     <!--MOBILE-->
  651.                     <div class="row d-block d-sm-none bkg_gris_clair">
  652.                         <div class="col-12">
  653.                             <div class="row">
  654.                                 <div class="col-6  text-center my-3 br_gris">
  655.                                     <div class="blanc lh099 py-3">
  656.                                         <a href="{{ path('reprendre_entreprise_annonce_cession_entreprise_croise', {'nomLocalisation': localisations|last.nom_localisation|slugify, 'nomSecteurActivite' : secteurActivites|last.nomSecteurActivite|slugify, 'type': type, 'idLocalisation': localisations|last.id_localisation, 'idSecteurActivite' : secteurActivites|last.idSecteurActivite, 'codePays': codePaysWithUnderScore}) }}" class="bleu lh099 py-3">
  657.                                             <span class="fs2">{{ nb_entreprises }}</span><br>
  658.                                             {% set p = "" %}
  659.                                             {% if ( nb_entreprises > 1 ) %}
  660.                                                 {% set p = "p" %}
  661.                                             {% endif %}
  662.                                             <span class="res_font">{{ translate("$$cession$${p|cessions}<br>d'entreprise",lang,"","m", p) | raw }}</span>
  663.                                         </a>
  664.                                     </div>
  665.                                 </div>
  666.                                 <div class="col-6 text-center my-3">
  667.                                     <div class="blanc lh099 py-3">
  668.                                         <a href="{{ path('reprendre_entreprise_cession_actif_croise', {'nomLocalisation': localisations|last.nom_localisation|slugify, 'nomSecteurActivite' : secteurActivites|last.nomSecteurActivite|slugify, 'type': type, 'idLocalisation': localisations|last.id_localisation, 'idSecteurActivite' : secteurActivites|last.idSecteurActivite, 'codePays': codePaysWithUnderScore}) }}" class="bleu lh099 py-3">
  669.                                             <span class="fs2">{{ nb_actifs }}</span><br>
  670.                                             {% set p = "" %}
  671.                                             {% if ( nb_actifs > 1 ) %}
  672.                                                 {% set p = "p" %}
  673.                                             {% endif %}
  674.                                             <span class="res_font">{{ translate("$$actif$${p|actifs} a<br>reprendre",lang,"","m", p) | raw }}</span></a>
  675.                                     </div>
  676.                                 </div>
  677.                                 <div class="col-6 text-center my-3 br_gris">
  678.                                     <div class="blanc bkg_bleu_2 lh099 py-3">
  679.                                         <span class="fs2">{{ nb_cibles_potentielles }}</span><br>
  680.                                         {% set p = "" %}
  681.                                         {% if ( nb_cibles_potentielles > 1 ) %}
  682.                                             {% set p = "p" %}
  683.                                         {% endif %}
  684.                                         <span class="res_font">{{ translate("$$cible<br>potentielle$${p|cibles<br>potentielles}",lang,"","m", p) | raw }}</span>
  685.                                     </div>
  686.                                 </div>
  687.                                 <div class="col-6 text-center my-3 pr-4">
  688.                                     <div class="blanc lh099 py-3">
  689.                                         <a href="{{ path('reprendre_entreprise_recherche_partenariat_croise', {'nomLocalisation': localisations|last.nom_localisation|slugify, 'nomSecteurActivite' : secteurActivites|last.nomSecteurActivite|slugify, 'type': type, 'idLocalisation': localisations|last.id_localisation, 'idSecteurActivite' : secteurActivites|last.idSecteurActivite, 'codePays': codePaysWithUnderScore}) }}" class="bleu lh099 py-3">
  690.                                             <span class="fs2">{{ nb_recherches_partenariats }}</span><br>
  691.                                             {% set p = "" %}
  692.                                             {% if ( nb_recherches_partenariats > 1 ) %}
  693.                                                 {% set p = "p" %}
  694.                                             {% endif %}
  695.                                             <span class="res_font">{{ translate("$$recherche$${p|recherches} de<br>partenariats",lang,"","m", p) | raw }}</span></a>
  696.                                     </div>
  697.                                 </div>
  698.                             </div>
  699.                         </div>
  700.                     </div>
  701.                     <!--MOBILE-->
  702.                     <!--TOUT SAUF MOBILE-->
  703.                     <div class="row d-none d-sm-block">
  704.                         <div class="onglet4 col-12 mb-4">
  705.                             <nav>
  706.                                 <div class="nav nav-tabs nav-fill" id="nav-tab" role="tablist">
  707.                                     <div class="col-12 col-sm-3 no-padding-x bl_gris br_gris lh13 order-4 order-sm-1">
  708.                                         <a class="nav-item nav-link" href="{{ path('reprendre_entreprise_annonce_cession_entreprise_croise', {'nomLocalisation': localisations|last.nom_localisation|slugify, 'nomSecteurActivite' : secteurActivites|last.nomSecteurActivite|slugify, 'type': type, 'idLocalisation': localisations|last.id_localisation, 'idSecteurActivite' : secteurActivites|last.idSecteurActivite, 'codePays': codePaysWithUnderScore}) }}">
  709.                                             {% set p = "" %}
  710.                                             {% if ( nb_entreprises > 1 ) %}
  711.                                                 {% set p = "p" %}
  712.                                             {% endif %}
  713.                                             <span class="fs2">{{ nb_entreprises }}</span><br><span class="fs13">{{ translate("$$cession$${p|cessions}<br>d'entreprise",lang,"","m", p) | raw }}</span>
  714.                                         </a>
  715.                                     </div>
  716.                                     <div class="col-12 col-sm-3 no-padding-x br_gris lh13 order-sm-2">
  717.                                         <a class="nav-item nav-link" href="{{ path('reprendre_entreprise_cession_actif_croise', {'nomLocalisation': localisations|last.nom_localisation|slugify, 'nomSecteurActivite' : secteurActivites|last.nomSecteurActivite|slugify, 'type': type, 'idLocalisation': localisations|last.id_localisation, 'idSecteurActivite' : secteurActivites|last.idSecteurActivite, 'codePays': codePaysWithUnderScore}) }}">
  718.                                             {% set p = "" %}
  719.                                             {% if ( nb_actifs > 1 ) %}
  720.                                                 {% set p = "p" %}
  721.                                             {% endif %}
  722.                                             <span class="fs2">{{ nb_actifs }}</span><br><span class="fs13">{{ translate("$$actif$${p|actifs} a<br>reprendre",lang,"","m", p) | raw }}</span>
  723.                                         </a>
  724.                                     </div>
  725.                                     <div class="col-12 col-sm-3 no-padding-x br_gris lh13 order-sm-3">
  726.                                         <div class="nav-item nav-link active">
  727.                                             {% set p = "" %}
  728.                                             {% if ( nb_cibles_potentielles > 1 ) %}
  729.                                                 {% set p = "p" %}
  730.                                             {% endif %}
  731.                                             <span class="fs2">{{ nb_cibles_potentielles }}</span><br><span class="fs13">{{ translate("$$cible<br>potentielle$${p|cibles<br>potentielles}",lang,"","m", p) | raw }}</span>
  732.                                         </div>
  733.                                     </div>
  734.                                     <div class="col-12 col-sm-3 no-padding-x br_gris lh13 order-sm-4">
  735.                                         <a class="nav-item nav-link" href="{{ path('reprendre_entreprise_recherche_partenariat_croise', {'nomLocalisation': localisations|last.nom_localisation|slugify, 'nomSecteurActivite' : secteurActivites|last.nomSecteurActivite|slugify, 'type': type, 'idLocalisation': localisations|last.id_localisation, 'idSecteurActivite' : secteurActivites|last.idSecteurActivite, 'codePays': codePaysWithUnderScore}) }}">
  736.                                             {% set p = "" %}
  737.                                             {% if ( nb_recherches_partenariats > 1 ) %}
  738.                                                 {% set p = "p" %}
  739.                                             {% endif %}
  740.                                             <span class="fs2">{{ nb_recherches_partenariats }}</span><br><span class="fs13">{{ translate("$$recherche$${p|recherches} de<br>partenariats",lang,"","m", p) | raw }}</span>
  741.                                         </a>
  742.                                     </div>
  743.                                 </div>
  744.                             </nav>
  745.                         </div>
  746.                     </div>
  747.                     <!--TOUT SAUF MOBILE-->
  748.                 {% else %}
  749.                     <div class="row" >
  750.                         <div class="col-12 mb-3 ml-3">
  751.                             {% set p = "" %}
  752.                             {% if ( nb_annonces > 1 ) %}
  753.                                 {% set p = "p" %}
  754.                             {% endif %}
  755.                             <span class="fs13">{{ nb_annonces }} {{ translate("$$opportunite$${p|opportunites} dont",lang,"","m", p) | raw }} :</span>
  756.                         </div>
  757.                     </div>
  758.                     <!--MOBILE-->
  759.                     <div class="row d-block d-sm-none bkg_gris_clair">
  760.                         <div class="col-12">
  761.                             <div class="row">
  762.                                 <div class="col-6  text-center my-3 br_gris">
  763.                                     <div class="blanc lh099 py-3">
  764.                                         <a href="{{ path('reprendre_entreprise_resultats_annonces_cession_entreprise',{'codePays':codePaysWithUnderScore}) }}?{{ string_params_without_page }}" class="bleu lh099 py-3">
  765.                                             <span class="fs2">{{ nb_entreprises }}</span><br>
  766.                                             {% set p = "" %}
  767.                                             {% if ( nb_entreprises > 1 ) %}
  768.                                                 {% set p = "p" %}
  769.                                             {% endif %}
  770.                                             <span class="res_font">{{ translate("$$cession$${p|cessions}<br>d'entreprise",lang,"","m", p) | raw }}</span>
  771.                                         </a>
  772.                                     </div>
  773.                                 </div>
  774.                                 <div class="col-6 text-center my-3">
  775.                                     <div class="blanc lh099 py-3">
  776.                                         <a href="{{ path('reprendre_entreprise_resultats_cession_actif',{'codePays':codePaysWithUnderScore}) }}?{{ string_params_without_page }}" class="bleu lh099 py-3">
  777.                                             <span class="fs2">{{ nb_actifs }}</span><br>
  778.                                             {% set p = "" %}
  779.                                             {% if ( nb_actifs > 1 ) %}
  780.                                                 {% set p = "p" %}
  781.                                             {% endif %}
  782.                                             <span class="res_font">{{ translate("$$actif$${p|actifs} a<br>reprendre",lang,"","m", p) | raw }}</span>
  783.                                         </a>
  784.                                     </div>
  785.                                 </div>
  786.                                 <div class="col-6 text-center my-3 br_gris">
  787.                                     <div class="blanc bkg_bleu_2 lh099 py-3">
  788.                                         <span class="fs2">{{ nb_cibles_potentielles }}</span><br>
  789.                                         {% set p = "" %}
  790.                                         {% if ( nb_cibles_potentielles > 1 ) %}
  791.                                             {% set p = "p" %}
  792.                                         {% endif %}
  793.                                         <span class="res_font">{{ translate("$$cible<br>potentielle$${p|cibles<br>potentielles}",lang,"","m", p) | raw }}</span>
  794.                                     </div>
  795.                                 </div>
  796.                                 <div class="col-6 text-center my-3 pr-4">
  797.                                     <div class="blanc lh099 py-3">
  798.                                         <a href="{{ path('reprendre_entreprise_resultats_recherches_partenariat',{'codePays':codePaysWithUnderScore}) }}?{{ string_params_without_page }}" class="bleu lh099 py-3">
  799.                                             <span class="fs2">{{ nb_recherches_partenariats }}</span><br>
  800.                                             {% set p = "" %}
  801.                                             {% if ( nb_recherches_partenariats > 1 ) %}
  802.                                                 {% set p = "p" %}
  803.                                             {% endif %}
  804.                                             <span class="res_font">{{ translate("$$recherche$${p|recherches} de<br>partenariats",lang,"","m", p) | raw }}</span>
  805.                                         </a>
  806.                                     </div>
  807.                                 </div>
  808.                             </div>
  809.                         </div>
  810.                     </div>
  811.                     <!--MOBILE-->
  812.                     <!--TOUT SAUF MOBILE-->
  813.                     <div class="row d-none d-sm-block">
  814.                         <div class="onglet4 col-12 mb-4">
  815.                             <nav>
  816.                                 <div class="nav nav-tabs nav-fill" id="nav-tab" role="tablist">
  817.                                     <div class="col-12 col-sm-3 no-padding-x bl_gris br_gris lh13 order-4 order-sm-1">
  818.                                         <a class="nav-item nav-link" href="{{ path('reprendre_entreprise_resultats_annonces_cession_entreprise',{'codePays':codePaysWithUnderScore}) }}?{{ string_params_without_page }}">
  819.                                             {% set p = "" %}
  820.                                             {% if ( nb_entreprises > 1 ) %}
  821.                                                 {% set p = "p" %}
  822.                                             {% endif %}
  823.                                             <span class="fs2">{{ nb_entreprises }}</span><br><span class="fs13">{{ translate("$$cession$${p|cessions}<br>d'entreprise",lang,"","m", p) | raw }}</span>
  824.                                         </a>
  825.                                     </div>
  826.                                     <div class="col-12 col-sm-3 no-padding-x br_gris lh13 order-sm-2">
  827.                                         <a class="nav-item nav-link" href="{{ path('reprendre_entreprise_resultats_cession_actif',{'codePays':codePaysWithUnderScore}) }}?{{ string_params_without_page }}">
  828.                                             {% set p = "" %}
  829.                                             {% if ( nb_actifs > 1 ) %}
  830.                                                 {% set p = "p" %}
  831.                                             {% endif %}
  832.                                             <span class="fs2">{{ nb_actifs }}</span><br><span class="fs13">{{ translate("$$actif$${p|actifs} a<br>reprendre",lang,"","m", p) | raw }}</span>
  833.                                         </a>
  834.                                     </div>
  835.                                     <div class="col-12 col-sm-3 no-padding-x br_gris lh13 order-sm-3">
  836.                                         <div class="nav-item nav-link active">
  837.                                             {% set p = "" %}
  838.                                             {% if ( nb_cibles_potentielles > 1 ) %}
  839.                                                 {% set p = "p" %}
  840.                                             {% endif %}
  841.                                             <span class="fs2">{{ nb_cibles_potentielles }}</span><br><span class="fs13">{{ translate("$$cible<br>potentielle$${p|cibles<br>potentielles}",lang,"","m", p) | raw }}</span>
  842.                                         </div>
  843.                                     </div>
  844.                                     <div class="col-12 col-sm-3 no-padding-x br_gris lh13 order-sm-4">
  845.                                         <a class="nav-item nav-link" href="{{ path('reprendre_entreprise_resultats_recherches_partenariat',{'codePays':codePaysWithUnderScore}) }}?{{ string_params_without_page }}">
  846.                                             {% set p = "" %}
  847.                                             {% if ( nb_recherches_partenariats > 1 ) %}
  848.                                                 {% set p = "p" %}
  849.                                             {% endif %}
  850.                                             <span class="fs2">{{ nb_recherches_partenariats }}</span><br><span class="fs13">{{ translate("$$recherche$${p|recherches} de<br>partenariats",lang,"","m", p) | raw }}</span>
  851.                                         </a>
  852.                                     </div>
  853.                                 </div>
  854.                             </nav>
  855.                         </div>
  856.                     </div>
  857.                     <!--TOUT SAUF MOBILE-->
  858.                 {% endif %}
  859.                 <div class="row mt-5" >
  860.                     <div class="col-12 mb-1 ml-3 mb-5">
  861.                         {% set p = "" %}
  862.                         {% if ( nb_cibles_potentielles > 1 ) %}
  863.                             {% set p = "p" %}
  864.                         {% endif %}
  865.                         <span class="fs18">{{ nb_cibles_potentielles }} {{ translate("$$cible potentielle$${p|cibles potentielles}",lang,"","m", p) | raw }} / {{ translate("$$participation de fonds$${p|participations de fonds}",lang,"","m", p) | raw }}</span><br>
  866.                         <a href="#" data-toggle="modal" data-target="#modal-explication" title="" class="underlined">{{ translate('Que sont les "cibles potentielles" proposées par FUSACQ ?',lang,"","M") | raw }}</a>
  867.                     </div>
  868.                 </div>
  869.                 <!--PAGINATION-->
  870.                 <div class="row mt-3">
  871.                     <div class="col-sm-12">
  872.                         <nav aria-label="...">
  873.                             {{ knp_pagination_render(liste_annonces) }}
  874.                         </nav>
  875.                     </div>
  876.                 </div>
  877.                 <!--FIN PAGINATION-->
  878.                 <div class="row mt-3 mb-2">
  879.                     <div class="col-md-7 offset-md-5 text-right mb-2 text-right">
  880.                         <div class="row">
  881.                             <div class="col-12 col-sm-4 pt-2 text-right">
  882.                                 <!-- <label for="idFromControlSelectTri">Trier par</label> -->
  883.                             </div>
  884.                             <div class="col-12 col-sm-8">
  885.                                 <select class="form-control" id="idFromControlSelectTri" v-on:change="sortBy($event)">
  886.                                     <option value="date_desc" {% if tri == "date_desc" or tri_default == 'date_desc' %}selected="selected"{% endif %}>{{ translate("date investissement plus recentes",lang,"","M") | raw }}</option>
  887.                                     <option value="ca_asc" {% if tri == "ca_asc" %}selected="selected"{% endif %}>{{ translate("CA plus petit",lang,"","M") | raw }}</option>
  888.                                     <option value="ca_desc" {% if tri == "ca_desc" or tri_default == 'ca_desc' %}selected="selected"{% endif %} >{{ translate("CA plus grand",lang,"","M") | raw }}</option>
  889.                                 </select>
  890.                             </div>
  891.                         </div>
  892.                     </div>
  893.                 </div>
  894.                 <div class="row" >
  895.                     <div class="col-12">
  896.                         <!--ANNONCES -->
  897.                         {% for index, annonce in liste_annonces %}
  898.                             {% set lienAnnonce = path('participation_fonds_detail',
  899.                          {
  900.                              'slug':annonce.slug,
  901.                             'idParticipation':annonce._get('id_societe'),
  902.                             'codePays':codePaysWithUnderScore
  903.                          }) ~ '?urlList=' ~ urlList ~ '&' ~ string_params ~ '&index=' ~ index ~ '&from=cibles_potentielles' %}
  904.                             <div class="card mb-3 card-ie filet_gris">
  905.                                 <div class="card-body">
  906.                                     <div class="row">
  907.                                         {#
  908.                                         {% if has_service %}
  909.                                             {% set url = lienAnnonce ~ '&from=cibles_potentielles' %}
  910.                                             {% set modal = "" %}
  911.                                         {% else %}
  912.                                             {% set url = "#" %}
  913.                                             {% set modal = 'data-toggle=modal data-target=#modal-condition' %}
  914.                                         {% endif %}
  915.                                         #}
  916.                                         <div class="col-8 col-md-8 col-lg-9 col-xl-10">
  917.                                             <div class="mb-2">
  918.                                                 <h5 class="titre_annonce"><a href="{{ lienAnnonce }}" title="{{ annonce._get('resume_activite') }}">{{ annonce._get('resume_activite') }}</a></h5>
  919.                                                 {% if annonce.commande %}
  920.                                                 <span class="orange font_600"><i class="fa-solid fa-circle-check"></i>&nbsp;&nbsp;{{ translate("déjà commandé",lang,"","M") | raw }}</span>
  921.                                                 {% endif %}
  922.                                             </div>
  923.                                             <div class="mb-1">
  924.                                                 <span class="nowrap_custom">{{ translate("CA",lang,"","M") | raw }} {{ annonce._get('annee_n') }} : <strong>{{ annonce.arrondi_ca | number_format(0, "", " ") }} k€ </strong> </span>&nbsp;&nbsp;&nbsp;&nbsp;
  925.                                                 <span class="nowrap_custom">{{ translate("date d'investissement",lang,"","M") | raw }} <strong>{{ annonce.date_dernier_investissement_formated }}</strong></span>&nbsp;&nbsp;&nbsp;&nbsp;
  926.                                                 <span class="nowrap_custom">{{ translate("ref.",lang,"","M") | raw }} : <strong>P{{ annonce._get('id_societe') }}</strong></span>
  927.                                             </div>
  928.                                             {% if has_service %}
  929.                                                 <h5 class="titre_annonce"><a href="{{ lienAnnonce }}"title="">{{ annonce._get('raison_sociale') }}</a></h5>
  930.                                                 {% endif %}
  931.                                             <i class="fas fa-map-marker-alt"></i>&nbsp; {{ annonce.nom_localisation }}
  932.                                         </div>
  933.                                         <div class="col-4 col-md-4 col-lg-3 col-xl-2">
  934.                                             <div class="row">
  935.                                                 <div class="col-12 col-md-12 text-center">
  936.                                                     <a href="{{ lienAnnonce }}" title="{{ annonce.nom_localisation }}"><img class="img-fluid" src="{{ annonce.carte }}" alt="{{ annonce.nom_localisation }}"></a>
  937.                                                 </div>
  938.                                             </div>
  939.                                         </div>
  940.                                         <div class="col-4 col-md-4 col-lg-4 mt-2">
  941.                                             <a href="{{ lienAnnonce }}" title="{{ translate("voir les details",lang,"","M") | raw }}">
  942.                                                 <button type="button" class="btn btn-bleu-annonce">
  943.                                                     <span class="d-none d-xl-block">{{ translate("voir les details",lang,"","M") | raw }}</span>
  944.                                                     <span class="d-xl-none">{{ translate("details",lang,"","M") | raw }}</span>
  945.                                                 </button>
  946.                                             </a>
  947.                                         </div>
  948.                                         <!--
  949.                                         <div class="col-4 col-md-4 col-lg-4 text-center mt-2 pt-2 br_gris">
  950.                                                 <a href="#" title="{{ translate("partager",lang,"","M") | raw }}" class="lien-contacter-deposant">
  951.                                                 <i class="fas fa-envelope bleu"></i>
  952.                                                 </a>&nbsp;
  953.                                                 <a href="#" class="souligne cache_petit" title="{{ translate("partager",lang,"","M") | raw }}">{{ translate("partager",lang,"","M") | raw }}</a>
  954.                                         </div>
  955.                                         <div class="col-4 col-md-4 col-lg-4 text-right mt-2 pt-2">
  956.                                                 <a href="#" title="{{ translate("sauvegarder",lang,"","M") | raw }}" class="">
  957.                                                         <i class="fa-light fa-heart bleu"></i></a>&nbsp;
  958.                                                 <a href="#" class="souligne cache_petit bleu" title="{{ translate("sauvegarder",lang,"","M") | raw }}" id_u="" id_a="384501">{{ translate("sauvegarder",lang,"","M") | raw }}</a>
  959.                                         </div>
  960.                                         -->
  961.                                     </div>
  962.                                 </div>
  963.                             </div>
  964.                         {% endfor %}
  965.                         <!--FIN ANNONCES -->
  966.                     </div>
  967.                 </div>
  968.                 <!--PAGINATION-->
  969.                 <div class="row mt-3">
  970.                     <div class="col-sm-12">
  971.                         <nav aria-label="...">
  972.                             {{ knp_pagination_render(liste_annonces) }}
  973.                         </nav>
  974.                     </div>
  975.                 </div>
  976.                 <!--FIN PAGINATION-->
  977.             </div><!--FIN COLONNE DROITE -->
  978.         </div> <!--FIN ROW CONTAINER -->
  979.     </div>  <!--FIN CONTAINER -->
  980.     <!--MODAL-->
  981.     <div class="modal fade" id="modal-explication" tabindex="-1" role="dialog" aria-labelledby="modal-explication-label" aria-hidden="true">
  982.         <div class="modal-dialog modal-lg" role="document">
  983.             <div class="modal-content">
  984.                 <div class="modal-header">
  985.                     <h5 class="modal-title bleu" id="modal-explication-label">{{ translate('que sont les "cibles potentielles" proposées par FUSACQ ?',lang,"","M", p) | raw }}</h5>
  986.                     <button type="button" class="close" data-dismiss="modal" aria-label="Close">
  987.                         <span aria-hidden="true">&times;</span>
  988.                     </button>
  989.                 </div>
  990.                 <div class="modal-body text-justify">
  991.                     La liste que vous allez consulter sous l'intitulé "Cibles potentielles" présente <strong>des sociétés ayant des fonds d'investissement à leur capital</strong>, communément appelées <strong>des participations de fonds d'investissement.</strong><br><br>
  992.                     <em>Après plusieurs années d'investissement (souvent au bout de 4-5 ans), les fonds envisagent logiquement de sortir de ces sociétés notamment via la vente de leur participation. Cela passe la plupart du temps par un rachat global de la société, largement préféré ces dernières années à l'introduction en bourse.<br><br>
  993.                         Attention les sociétés listées ci-après ne sont donc pas en vente. Cependant, elles sont sans doute plus ouvertes que d'autres à la discussion si vous cherchez des cibles de reprise / build-up / croissance externe.</em> <br><br>
  994.                         {%  if show_modal %}
  995.                         <div class="form-check-inline col-12">
  996.                             <label class="form-check-label">
  997.                                 <input type="checkbox" class="form-check-input" id="dont-show-modal" data-cookie-name="show_modal_cible_potentielle">{{ translate("ne plus afficher la prochaine fois",lang,"","M", p) | raw }}
  998.                             </label>
  999.                         </div>
  1000.                     {% endif %}
  1001.                 </div>
  1002.                 <div class="modal-footer">
  1003.                     <button type="button" class="btn btn-bleu-annonce" data-dismiss="modal">{{ translate("j'ai compris",lang,"","M", p) | raw }}</button>
  1004.                 </div>
  1005.             </div>
  1006.         </div>
  1007.     </div>
  1008.     <!--FIN MODAL-->
  1009.     <!--MODAL 2-->
  1010.     <!-- <div class="modal fade" id="modal-condition" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
  1011.         <div class="modal-dialog" role="document">
  1012.             <div class="modal-content">
  1013.                 <div class="modal-header">
  1014.                     {% set p = "" %}
  1015.                     {% if ( nb_cibles_potentielles > 1 ) %}
  1016.                         {% set p = "p" %}
  1017.                     {% endif %}
  1018.                     <h5 class="modal-title bleu" id="exampleModalLabel">{{ nb_cibles_potentielles }} {{ translate("$$cible potentielle$${p|cibles potentielles}",lang,"","m", p) | raw }} / {{ translate("$$participation de fonds d'investissement$${p|participations de fonds d'investissement}",lang,"","m", p) | raw }}</h5>
  1019.                     <button type="button" class="close" data-dismiss="modal" aria-label="Close">
  1020.                         <span aria-hidden="true">&times;</span>
  1021.                     </button>
  1022.                 </div>
  1023.                 <div class="modal-body text-center">
  1024.                     Pour accéder aux fiches des participations vous devez :<br><br><br>
  1025.                     - Souscrire un abonnement simple à <a href="{{ path('tarifs_index', {'codePays' : codePaysWithUnderScore}) }}#participations">l'Annuaire des participations</a><br>
  1026.                     <b>ou</b><br>
  1027.                     - Adhérer à l'offre <a href="{{ path('offreFusacqExpert', {'codePays': codePaysWithUnderScore}) }}" target="_blank"><strong>FUSACQ Expert</strong></a> qui comprend l'ensemble des services Fusacq<br><br><br>
  1028.                     <strong>Pour plus de détails contactez nous au 01&nbsp;48&nbsp;28&nbsp;24&nbsp;24</strong><br>
  1029.                 </div>
  1030.                 <div class="modal-footer">
  1031.                     <div class="col-6 text-center">Je suis déjà adhèrent <br><a href="#" data-toggle="modal" data-target="#modal-connexion" title=""><button type="button" class="btn btn-fusacq_expert">Je me connecte</button></a></div>
  1032.                     <div class="col-6 text-center">Les offres et les tarifs<br>
  1033.                         <a href="{{ path('offreFusacqExpert', {'codePays': codePaysWithUnderScore }) }}" target="_blank">
  1034.                             <button type="button" class="btn btn-fusacq_expert ">Fusacq Expert</button>
  1035.                         </a>
  1036.                     </div>
  1037.                 </div>
  1038.             </div>
  1039.         </div>
  1040.     </div>-->
  1041.     <!--FIN MODAL 2-->
  1042.         <!--MODAL 2-->
  1043.     <div class="modal fade" id="modal-condition" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
  1044.         <div class="modal-dialog modal-lg" role="document">
  1045.           <div class="modal-content">
  1046.             <div class="modal-header">
  1047.                     {% set p = "" %}
  1048.                     {% if ( nb_cibles_potentielles > 1 ) %}
  1049.                         {% set p = "p" %}
  1050.                     {% endif %}
  1051.               <h5 class="modal-title bleu_fusacq font_600" id="exampleModalLabel">{{ nb_cibles_potentielles }} {{ translate("$$cible potentielle$${p|cibles potentielles}",lang,"","m", p) | raw }} / {{ translate("$$participation de fonds d'investissement$${p|participations de fonds d'investissement}",lang,"","m", p) | raw }}</h5>
  1052.               <button type="button" class="close" data-dismiss="modal" aria-label="Close">
  1053.                 <span aria-hidden="true">×</span>
  1054.               </button>
  1055.             </div>
  1056.             <div class="modal-body text-justify">
  1057.                 {{ translate("pour accéder aux fiches des participations vous devez",lang,"","M") | raw }} :<br><br>
  1058.                 •&nbsp;{{ translate("souscrire un abonnement simple à l'<strong>Annuaire des participations</strong>",lang,"","M") | raw }}<br>
  1059.                 <div class="text-center pt-2"><a href="/tarifs/tarifs.php_fr_#participations" class="button-rond" role="button" aria-pressed="true">{{ translate("commander",lang,"","M") | raw }}</a></div>
  1060.                 ou<br><br>
  1061.                 •&nbsp;<a href="{{ path('offreFusacqExpert', {'codePays' : codePaysWithUnderScore}) }}" class="fullsouligne"><strong>{{ translate("adhérer à l'offre FUSACQ Expert",lang,"","M") | raw }}</strong></a>{{ translate("qui comprend l'ensemble des services Fusacq",lang,"","M") | raw }} <br>
  1062.                 &nbsp;&nbsp;&nbsp;{{ translate("Pour plus d'informations contactez nous au <strong>01 48 28 24 24</strong>",lang,"","M") | raw }}<br><br>
  1063.     
  1064.     {% if app.session.all.user is not defined %}
  1065.                 <div class="text-center pt-5" style="border-top: 1px solid #CCCCCC;">
  1066.                     {{ translate("J'ai déjà accès à l'<strong>Annuaire des participations</strong>",lang,"","M") | raw }}
  1067.                 </div>
  1068.                 <div class="text-center pt-2">
  1069.                     <a href="#" data-toggle="modal" data-target="#modal-connexion" class="" role="button" aria-pressed="true">
  1070.                     <button id="connect-modal-2" type="button" class="button-rond-blanc">{{ translate("Je me connecte",lang,"","M") | raw }}</button>
  1071.                     </a>
  1072.                 <br><br>
  1073.                 </div>
  1074.     {% endif %}            
  1075.                 
  1076.             </div>
  1077.           </div>
  1078.         </div>
  1079.     </div>
  1080.     <!--FIN MODAL 2-->
  1081.     
  1082.     <!--MODAL 3-->
  1083.     <div class="modal fade" id="modal-connexion" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
  1084.         <div class="modal-dialog" role="document">
  1085.             <div class="modal-content">
  1086.                 <div class="modal-header">
  1087.                     <h5 class="modal-title" id="exampleModalLabel">Connexion</h5>
  1088.                     <button type="button" class="close" data-dismiss="modal" aria-label="Close">
  1089.                         <span aria-hidden="true">&times;</span>
  1090.                     </button>
  1091.                 </div>
  1092.                 <div class="modal-body mt-3">
  1093.                     {{ render_esi(controller(
  1094.                          'App\\Controller\\SecurityController::login',
  1095.                           {"from": "cible_potentielle" }
  1096.                      )) | spaceless }}
  1097.                 </div>
  1098.             </div>
  1099.         </div>
  1100.     </div>
  1101.     <!--FIN MODAL 3-->
  1102. {% endblock %}
  1103. {% block javascripts %}
  1104.     {{ parent() }}
  1105.     {%  if show_modal %}
  1106.         <script>
  1107.             $(function () {
  1108.                 $('#modal-explication').modal('show');
  1109.             });
  1110.         </script>
  1111.     {% endif %}
  1112.     <script type="module" data-name="{{ codePaysWithUnderScore }}" id="codePaysParam" src="{{ asset('build/js/reprendre_entreprise/cible_potentielle.js') }}"></script>
  1113.     <script src="{{ asset('build/js/modal.js') }}"></script>
  1114.     {% if not has_service %}    
  1115.     <script>
  1116.     $(function(){
  1117.         $('#rechercher').on('click', function(){
  1118.             $('#modal-condition').modal();
  1119.             return false;
  1120.         });
  1121.         $('#connect-modal-2').on('click', function(){
  1122.             $('#modal-condition').modal('hide');
  1123.             $('#modal-connexion').modal('show');
  1124.         });
  1125.     });
  1126.     </script>
  1127.     {% endif %}
  1128. {% endblock %}