.security_panel
  %h3
    =ic :cadenas
    =qit "T_SECURITY_PANEL", "Sécurité"
  %ul
    -if @annonce_account.enabled?
      %li
        =ic :check
        Adresse mail vérifiée 
    -if @annonce_account.provider == "facebook"
      %li
        =ic :check
        Compte facebook lié
    
    -@annonce_account.set_facebook_friends
    
    
    -if @annonce_account.provider == "facebook" and @annonce_account.facebook_friends_number?
    
      %li
        =ic :check
        =@annonce_account.facebook_friends_number
        amis facebook

    %li
      =ic :check
      Inscrit depuis
      =distance_of_time_in_words @annonce_account.created_at, Time.now
    
    -if @annonce_account.annonces.valid_to_show.count > 0
      %li
        =ic :check
        Annonces publiées :
        =@annonce_account.annonces.valid_to_show.count