!!! %html{:lang => "fr", "xml:lang" => "fr", :xmlns => "http://www.w3.org/1999/xhtml"} %head -if @annonce and @annonce.id %title=@annonce.title.to_s+' - Annonce sur Sideplace' -else %title=@title.to_s+" - Sideplace" %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' = stylesheet_link_tag '/fonts/Stylograph/stylesheet.css' =javascript_include_tag "https://maps.googleapis.com/maps/api/js?libraries=places,geometry&sensor=false" - if @annonce and @annonce.default_photo and @annonce.annonce_photos.visibles.where(:id => @annonce.default_photo_id).first =raw '' -@img_size = FastImage.size('https://sideplace.com'+@annonce.default_photo.file.url.to_s) -if @img_size and @img_size.size > 0 =raw '' =raw '' =raw '' =raw '' -else =raw '' -@img_size = FastImage.size('https://sideplace.com/sideplace-fb.jpg') -if @img_size and @img_size.size > 0 =raw '' =raw '' =raw '' =raw '' %body
:javascript (function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "//connect.facebook.net/fr_FR/sdk.js#xfbml=1&version=v2.4"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk')); :javascript var no_radius; .top #menu =link_to image_tag("/black_logo.png", :id => "logo"), root_path =render :partial => "public/shared/menu" .clear =#render :partial => "public/annonces/search_form" if !@no_search #main -if @sidebar #sidebar =yield :sidebar #main_place =yield -else =yield .clear =render :partial => "public/shared/categories" =render :partial => "public/shared/bottom" #flashs= bootstrap_flash