


-if current_customer
  %ul
    -if !@my_reseauxes
      -if current_customer.account_validated?
        %li=link_to ic(:home)+" Accueil", public_my_reseauxes_path, :class => "btn"
        -if !@reseaux
          %li=link_to ic(:"youtube-play")+"  Présentation Négos","", :class => "btn negos-video"
          -if current_customer.account_validated?
            %li=link_to ic(:star)+" Besoins", public_needs_path, :class => "btn"
        - unread_message = ContactMessage.where(contact_id: current_customer.id, read_by_customer: false).count
        %li=link_to ic(:comment)+" Nous contacter" + (unread_message > 0 ? " (#{unread_message})" : ""), public_contact_messages_path, :class => "btn"
        
        %li=link_to ic(:user)+" Mon compte", public_my_account_path, :class => "btn"
        -if !@reseaux
          -if current_customer.own_reseauxes.count > 0
            %li=link_to ic(:users)+" Mon réseau", public_reseauxes_path, :class => "btn"
    
          %li=link_to ic(:envelope)+" Conversations", public_customer_messages_path, :class => "btn"
        
    %li=link_to "Se déconnecter", logout_public_customers_auths_path, :class => "btn"
    
  
    %li
      %span#cart_infos
        =render :partial => "public/shared/cart"


-else
  %ul
    %li=link_to "S'inscrire", new_public_customer_path(:p => params[:p]), :class => "btn"
    %li=link_to "Se connecter", new_public_customers_auth_path(:p => params[:p]), :class => "btn"
