templates/_partials/_profilenav.html.twig line 1

Open in your IDE?
  1.                 <aside class="col-12 border border-light bg-white p-2">
  2.                         
  3.                     <article class="card mb-3">
  4.                         <div class="card-header">
  5.                             <img class="img-profil" src="{{ asset('uploads/images/' ~ userP.imageUser) }}" 
  6.                                     alt="profil indispo" class="img-thumbnail" style="width: 50px; height: 50px; border-radius: 50%;" />
  7.                             Email: <strong>{{userP.email}}</strong> 
  8.                             Nome: <strong>{{userP.lastName}}</strong>   
  9.                             Prenom: <strong>{{userP.firstName}}</strong>    
  10.                             Adresse: <strong>{{userP.address}}</strong> 
  11.                             Métier: <strong>{{userP.job}}</strong>  
  12.                             Tél: <strong>{{userP.phonePublic}}</strong> 
  13.                             Ville: <strong>{{userP.city}}</strong>  
  14.                             Pays: <strong>{{userP.country}}</strong>    
  15.                             <span>
  16.                                 {% set i = 0 %}
  17.                                 {% for statElem in allStatistiques %}
  18.                                     {% if userP.id == statElem.idElement and statElem.page == 'HOME_PROFIL_MEMBRE' %}
  19.                                         {% set i = i + 1 %}
  20.                                     {% endif %}
  21.                                 {% endfor %}  
  22.                                 {% include '_partials/_compteur_vues.html.twig' %}      {## COMPTEUR_VUES ##}
  23.                                 {# <span>10 abonnés</span> #}
  24.                                 {# {% include '_partials/_compteur_abonnes.html.twig' %}  #}    {## COMPTEUR_ABONNES ##}
  25.                             </span>
  26.                         </div>
  27.                     </article>
  28.                         
  29.                     <article class="card mb-3">
  30.                         <div class="card-header">
  31.                             Nos Offres disponibles:
  32.                             <a class="btn btn-outline-dark btn-sm" href="{{ path('app_profile_home', {id: userP.id}) }}">Accueil</a>    
  33.                             <a class="btn btn-outline-dark btn-sm" href="{{ path('app_profile_showImmobiliers', {id: userP.id}) }}">Immobiliers</a> 
  34.                             <a class="btn btn-outline-dark btn-sm" href="{{ path('app_profile_showHebergements', {id: userP.id}) }}">Hébergements</a>   
  35.                             <a class="btn btn-outline-dark btn-sm" href="{{ path('app_profile_showEntreprises', {id: userP.id}) }}">Entreprises</a> 
  36.                             <a class="btn btn-outline-dark btn-sm" href="{{ path('app_profile_showProducts', {id: userP.id}) }}">Produits</a>   
  37.                             <a class="btn btn-outline-dark btn-sm" href="{{ path('app_profile_showProjects', {id: userP.id}) }}">Projets</a>    
  38.                             <a class="btn btn-outline-dark btn-sm" href="{{ path('app_profile_showPrestations', {id: userP.id}) }}">Pestations</a> 
  39.                             <a class="btn btn-outline-dark btn-sm" href="{{ path('app_profile_showAnnonces', {id: userP.id}) }}">Annonces</a>
  40.                             <a class="btn btn-outline-dark btn-sm" href="{{ path('app_profile_showEmplois', {id: userP.id}) }}">Emplois</a>
  41.                             <a class="btn btn-outline-dark btn-sm" href="{{ path('app_chomeurs_index') }}">CV</a>
  42.                             <a class="btn btn-outline-dark btn-sm" href="{{ path('app_profile_showVideosList', {id: userP.id}) }}">Videos</a>
  43.                         </div>   
  44.                     </article>
  45.                 </aside>