-@products_controllers = ["ProductOrdersController", "ProductsController","ProductCategoriesController", "ProductCustomersController", "ProductCustomersAuthsController" ] -@facebook_title = @facebook_title || @title - @twitter_title = @twitter_title || @title -@menu_shadow=true -@lang = @lang || LangSite.first -if !@facebook_img or @facebook_img == "" -@facebook_img= "/public_medias/image_file/file/280/large_medium_shutterstock_64985671_0__-_copie.jpg" !!! - @social_url = @social_url || request.url.to_s -if @description and @description == "" - @description = qit "SEO texte description par défaut","" %html{:lang => "fr", "xml:lang" => "fr", :xmlns => "http://www.w3.org/1999/xhtml"} %head -@title = strip_tags(@title.to_s) %title=@title.to_s+" - Biocoton" %meta{:name=>"viewport", :content=>"width=device-width,initial-scale=1"} %meta{ :"http-equiv" => "Content-Type", :content => "text/html; charset=utf-8" } %meta{ :"name" => "Description", :content => @description } %meta{ :"name" => "Keywords", :content => @keywords } = javascript_include_tag "public" = csrf_meta_tag =render :partial => "public/shared/ga" = stylesheet_link_tag 'public', :media => :all %body #header .right{:style => "text-align:right;"} -if current_p_customer =link_to ic(:user)+" Mon compte", public_my_account_path ="-" =link_to ic(:"address-book-o")+" Mes adresses", public_particulars_path ="-" =link_to ic(:"power-off")+" Déconnexion", logout_public_p_customer_auths_path() %br =link_to "Mes commandes / factures", public_p_customer_sheets_path() ="-" =link_to ic(:"shopping-cart")+" commande en cours ("+current_p_customer_sheet.qte.to_i.to_s+" articles)", cart_public_p_orders_path() -else =link_to ic(:"power-off")+" Connexion", new_public_p_customer_auth_path =link_to image_tag("/logo.png", :id => "logo"), public_p_products_path .clear -if flash[:error] or flash[:notice] or flash[:alert] .flashs -if flash[:error] .error %span.remove=ic :times =flash[:error] -if flash[:notice] .notice %span.remove=ic :times =flash[:notice] -if flash[:alert] .alert %span.remove=ic :times =flash[:alert] -if current_p_customer and !current_p_customer.account_validated .alert.alert-warning{:style => "margin:0;border-radius:0;"} Votre compte client n'a pas encore été validé, vous pouvez dès à présent découvrir nos produits. Notre service commercial validera votre compte dans les plus brefs délais. =yield #footer :javascript resize()