


-if current_annonce_account
  %ul

    %li=link_to ic(:user)+" "+qit("my-account"), public_my_account_path, :class => "btn"
    %li=link_to i(:"star"), public_favs_path, :class => "btn"
    %li=link_to qit("logout"), logout_public_annonce_accounts_auths_path, :class => "btn"
    %li.add_annonce= link_to raw("<span style='font-size:22px;'>")+ic(:"pencil-square-o")+raw("</span>&nbsp;&nbsp;<span style='font-size:15px;display:inline-block;position:relative;top:-3px;'>")+qit("create-ad")+raw("</span>"), new_public_annonce_path, :class => "btn btn-primary"

-else
  %ul
    %li=link_to qit("register"), new_public_annonce_account_path(:p => params[:p], :r => (true if session[:before_auth_url])), :class => "btn"
    %li=link_to qit("connect"), new_public_annonce_accounts_auth_path(:p => params[:p], :r => (true if session[:before_auth_url])), :class => "btn"
    %li.add_annonce= link_to raw("<span style='font-size:22px;'>")+ic(:"pencil-square-o")+raw("</span>&nbsp;&nbsp;<span style='font-size:15px;display:inline-block;position:relative;top:-3px;'>")+qit("create-ad")+raw("</span>"), new_public_annonce_path(:p => params[:p], :r => (true if session[:before_auth_url])), :class => "btn btn-primary"


