%a.annonce_list#annonce{:href => public_annonce_path(annonce), :id => annonce.id, :class => ("highlight " if annonce.highlight_expire? and annonce.highlight_expire >= Date.today).to_s+("big " if !@uniform and annonce.big_annonce_expire? and annonce.big_annonce_expire >= Date.today).to_s} -if annonce.default_photo and annonce.annonce_photos.visibles.where(:id => annonce.default_photo_id).first .default_image{:style => "background-image:url('https://sideplace.com/#{(annonce.default_photo.file.medium.url)}')"} -else .default_image =#image_tag annonce.default_photo.file.large.medium.small.url, :class => "default_image" -if annonce.urgent_expire? and annonce.urgent_expire >= Date.today =image_tag "/urgent.png", :class => "urgent" .avatar =image_tag annonce.annonce_account.avatar_url .infos .price = number_to_currency(annonce.price, :unit => annonce.devise.icon) if annonce.price =render :partial => "public/annonce_account_favs/link", :locals => {:annonce => annonce} %h3 =annonce.title .specific -if annonce.g_city? =annonce.g_postal_code =annonce.g_city ="-" =annonce.g_country ="-" -else Internet -if annonce.specific_annonce =render :partial => "public/#{annonce.specific_annonce_type.tableize}/line", :locals => {:annonce_specific => annonce.specific_annonce} .clear