diff --git a/app/assets/javascripts/vendor/jquery.cookiebar.js b/app/assets/javascripts/vendor/jquery.cookiebar.js index b615691..0b4ea67 100755 --- a/app/assets/javascripts/vendor/jquery.cookiebar.js +++ b/app/assets/javascripts/vendor/jquery.cookiebar.js @@ -32,7 +32,7 @@ declineFunction: function(cookieValue){if(cookieValue=='enabled' || cookieValue=='accepted') window.location = window.location.href;}, //Function to run after decline policyButton: true, //Set to true to show Privacy Policy button policyText: 'En savoir plus.', //Text on Privacy Policy button - policyURL: 'https://transformeurs.quartz.xyz/fr/mentions-legales.html', //URL of Privacy Policy + policyURL: 'http://transformeurs.quartz.xyz/fr/mentions-legales.html', //URL of Privacy Policy autoEnable: true, //Set to true for cookies to be accepted automatically. Banner still shows acceptOnContinue: false, //Set to true to accept cookies when visitor moves to another page acceptOnScroll: false, //Set to true to accept cookies when visitor scrolls X pixels up or down diff --git a/app/controllers/public/home_controller.rb b/app/controllers/public/home_controller.rb index 86c021a..c5f5a68 100644 --- a/app/controllers/public/home_controller.rb +++ b/app/controllers/public/home_controller.rb @@ -37,7 +37,7 @@ class Public::HomeController < ApplicationController def angora if !params[:force] - redirect_to "https://transformeurs.quartz.xyz/fr/petitions/stop-angora.html" + redirect_to "http://transformeurs.quartz.xyz/fr/petitions/stop-angora.html" else render :layout => false diff --git a/app/views/admin/tiny_urls/index.html.haml b/app/views/admin/tiny_urls/index.html.haml index 831874a..a0ad1f3 100644 --- a/app/views/admin/tiny_urls/index.html.haml +++ b/app/views/admin/tiny_urls/index.html.haml @@ -19,7 +19,7 @@ - @tiny_urls.each do |tiny_url| %tr - %td= link_to "https://transformeurs.quartz.xyz"+tiny_url_path(tiny_url.slug),"https://transformeurs.quartz.xyz"+tiny_url_path(tiny_url.slug) + %td= link_to "http://transformeurs.quartz.xyz"+tiny_url_path(tiny_url.slug),"http://transformeurs.quartz.xyz"+tiny_url_path(tiny_url.slug) %td= tiny_url.url %td= tiny_url.nbr_views %td.actions diff --git a/app/views/admin_mailer/notify_comments.html.haml b/app/views/admin_mailer/notify_comments.html.haml index ccaf0fd..f6266d7 100644 --- a/app/views/admin_mailer/notify_comments.html.haml +++ b/app/views/admin_mailer/notify_comments.html.haml @@ -6,7 +6,7 @@ %p Voici le lien direct pour le faire : - =link_to "https://transformeurs.quartz.xyz/admin/comments?lang=fr", "https://transformeurs.quartz.xyz/admin/comments?lang=fr" + =link_to "http://transformeurs.quartz.xyz/admin/comments?lang=fr", "http://transformeurs.quartz.xyz/admin/comments?lang=fr" %p Bonne journée ! \ No newline at end of file diff --git a/app/views/portlets/render_public/_downloadcontent.html.haml b/app/views/portlets/render_public/_downloadcontent.html.haml index b108a0e..1d12b8a 100644 --- a/app/views/portlets/render_public/_downloadcontent.html.haml +++ b/app/views/portlets/render_public/_downloadcontent.html.haml @@ -22,7 +22,7 @@ =link_to "Lire", read_data_file_path(input.data_file.token), :target => "_blank" -if input.boutique? - =#link_to "Commander", "mailto:info@transformeurs.quartz.xyz?subject=commande de document&body=Fichier : https://transformeurs.quartz.xyz#{input.data_file.file.url} " + =#link_to "Commander", "mailto:info@transformeurs.quartz.xyz?subject=commande de document&body=Fichier : http://transformeurs.quartz.xyz#{input.data_file.file.url} " =link_to "Commander", new_public_document_order_path(:token => input.data_file.token), :remote => true .clear diff --git a/app/views/portlets/render_public/_imagecontent.html.haml b/app/views/portlets/render_public/_imagecontent.html.haml index 98f7c29..bb6b8e1 100644 --- a/app/views/portlets/render_public/_imagecontent.html.haml +++ b/app/views/portlets/render_public/_imagecontent.html.haml @@ -25,7 +25,7 @@ -else -url ="" --url = "http#{("s" if Rails.env.production?)}://"+HOSTNAME+url +-url = "http#{("" if Rails.env.production?)}://"+HOSTNAME+url -style = "" -style = "text-align:center;width:100%;" if input.alignement == "center" diff --git a/app/views/portlets/render_public/_sharecontent.html.haml b/app/views/portlets/render_public/_sharecontent.html.haml index 69a9be8..1bd6813 100644 --- a/app/views/portlets/render_public/_sharecontent.html.haml +++ b/app/views/portlets/render_public/_sharecontent.html.haml @@ -4,19 +4,19 @@ .socials_links{:style => "text-align:center;margin:20px 0;"} -if input.facebook =link_to "https://www.facebook.com/sharer/sharer.php?u=#{input.url}", :target => "_blank", :class => "round_social facebook" do - =image_tag("https://transformeurs.quartz.xyz/share_contents/facebook.png", :style => "height:40px;margin:5px 5px;") + =image_tag("http://transformeurs.quartz.xyz/share_contents/facebook.png", :style => "height:40px;margin:5px 5px;") =#"https://www.facebook.com/sharer/sharer.php?u=#{request.url}" -if input.twitter =link_to "https://twitter.com/intent/tweet?url=#{input.url}&via=onevoiceanimal&text="+CGI::escape(input.twitter_title.to_s), :target => "_blank", :class => "round_social twitter" do - =image_tag("https://transformeurs.quartz.xyz/share_contents/twitter.png", :style => "height:40px;margin:5px 5px;") + =image_tag("http://transformeurs.quartz.xyz/share_contents/twitter.png", :style => "height:40px;margin:5px 5px;") =#"https://twitter.com/intent/tweet?url=#{request.url}&via=onevoiceanimal&text="+CGI::escape(@twitter_title.to_s) -if input.mail =link_to "mailto:?cc=&bcc=&subject="+URI.encode(input.mail_subject)+"&body="+URI.encode(input.mail_content), :class => "round_social twitter" do - =image_tag("https://transformeurs.quartz.xyz/share_contents/mail.png", :style => "height:40px;margin:5px 5px;") + =image_tag("http://transformeurs.quartz.xyz/share_contents/mail.png", :style => "height:40px;margin:5px 5px;") =#"https://twitter.com/intent/tweet?url=#{request.url}&via=onevoiceanimal&text="+CGI::escape(@twitter_title.to_s) diff --git a/app/views/public/articles/_article.html.haml b/app/views/public/articles/_article.html.haml index b9a320e..da4694f 100644 --- a/app/views/public/articles/_article.html.haml +++ b/app/views/public/articles/_article.html.haml @@ -1,7 +1,7 @@ -lang_article = article.lang_articles.find_by_lang_site_id(@lang.id) -#if article.without_text_image_file --#img_url = "https://transformeurs.quartz.xyz"+article.without_text_image_file.file.large.url +-#img_url = "http://transformeurs.quartz.xyz"+article.without_text_image_file.file.large.url -if article.image_file -img_url = ""+article.image_file.file.large.medium.url diff --git a/app/views/public/articles/_article_img.html.haml b/app/views/public/articles/_article_img.html.haml index edf1878..a3cb23d 100644 --- a/app/views/public/articles/_article_img.html.haml +++ b/app/views/public/articles/_article_img.html.haml @@ -1,7 +1,7 @@ -if article.without_text_image_file - -img_url = "https://transformeurs.quartz.xyz"+article.without_text_image_file.file.large.url + -img_url = "http://transformeurs.quartz.xyz"+article.without_text_image_file.file.large.url -elsif article.image_file - -img_url = "https://transformeurs.quartz.xyz"+article.image_file.file.large.url + -img_url = "http://transformeurs.quartz.xyz"+article.image_file.file.large.url -else -img_url = "" diff --git a/app/views/public/articles/_article_search.html.haml b/app/views/public/articles/_article_search.html.haml index 1c1d6ba..7298a80 100644 --- a/app/views/public/articles/_article_search.html.haml +++ b/app/views/public/articles/_article_search.html.haml @@ -1,9 +1,9 @@ -lang_article = article.lang_articles.find_by_lang_site_id(@lang.id) -if article.without_text_image_file - -img_url = "https://transformeurs.quartz.xyz"+article.without_text_image_file.file.large.url + -img_url = "http://transformeurs.quartz.xyz"+article.without_text_image_file.file.large.url -elsif article.image_file - -img_url = "https://transformeurs.quartz.xyz"+article.image_file.file.large.url + -img_url = "http://transformeurs.quartz.xyz"+article.image_file.file.large.url -if article_valid_to_show(article, @lang, Time.now) -@count = @count + 1 diff --git a/app/views/public/articles/_article_x2.html.haml b/app/views/public/articles/_article_x2.html.haml index ea499f9..7505ebe 100644 --- a/app/views/public/articles/_article_x2.html.haml +++ b/app/views/public/articles/_article_x2.html.haml @@ -1,9 +1,9 @@ -lang_article = article.lang_articles.find_by_lang_site_id(@lang.id) -if article.without_text_image_file - -img_url = "https://transformeurs.quartz.xyz"+article.without_text_image_file.file.large.medium.small.url + -img_url = "http://transformeurs.quartz.xyz"+article.without_text_image_file.file.large.medium.small.url -elsif article.image_file - -img_url = "https://transformeurs.quartz.xyz"+article.image_file.file.large.medium.small.url + -img_url = "http://transformeurs.quartz.xyz"+article.image_file.file.large.medium.small.url =link_to article_path(:slug => lang_article.slug, :lang => @lang.slug), :class => "article-2x " do diff --git a/app/views/public/articles/_article_x2_2.html.haml b/app/views/public/articles/_article_x2_2.html.haml index 7cf6e71..f558d1a 100644 --- a/app/views/public/articles/_article_x2_2.html.haml +++ b/app/views/public/articles/_article_x2_2.html.haml @@ -1,9 +1,9 @@ -lang_article = article.lang_articles.find_by_lang_site_id(@lang.id) -if article.without_text_image_file - -img_url = "https://transformeurs.quartz.xyz"+article.without_text_image_file.file.large.url + -img_url = "http://transformeurs.quartz.xyz"+article.without_text_image_file.file.large.url -elsif article.image_file - -img_url = "https://transformeurs.quartz.xyz"+article.image_file.file.large.url + -img_url = "http://transformeurs.quartz.xyz"+article.image_file.file.large.url =link_to article_path(:slug => lang_article.slug, :lang => @lang.slug), :class => "article-2x-2", :data => {:ratio => "0.62"} do diff --git a/app/views/public/home/_jauge.html.haml b/app/views/public/home/_jauge.html.haml deleted file mode 100644 index 0af4a28..0000000 --- a/app/views/public/home/_jauge.html.haml +++ /dev/null @@ -1,18 +0,0 @@ --imax = 8 --i = i_step --jauge = (i)*(100/imax) --jauge_title = ["Accueil", "De la violence à n'en plus finir", "Les chiens des familles", "Chiens : du ring à la sécurité", "L'enquête en vidéo", "Notre action pour les chiens", "Aidez-nous à protéger les chiens", "Signez la pétition"] -.jauge_inner - - .jauge - .jauge_line - =#.inner_step{:style => "width:#{jauge}%;"} - -is = 0 - -while is < (imax) - - =raw "
" - .label - .label_inner - =jauge_title[is] - =raw "
" - -is += 1 \ No newline at end of file diff --git a/app/views/public/home/angora.html.haml b/app/views/public/home/angora.html.haml deleted file mode 100644 index 218c791..0000000 --- a/app/views/public/home/angora.html.haml +++ /dev/null @@ -1,954 +0,0 @@ --@partenaire = true - -- @social_url = "https://stop-angora.fr/#{@lang.slug}" --@one_voice_host = "https://transformeurs.quartz.xyz" --@menu_shadow=true --@lang = @lang || LangSite.first --if !@facebook_img or @facebook_img == "" - -if I18n.locale == :fr - -@facebook_img= "/angora/couv-fb-fr.jpg" - -else - -@facebook_img= "/angora/couv-fb-en.jpg" -!!! - -- @description = qit("angora-social-desc","Stop à la torture des lapins angoras / Fermons les élevages français / Non au commerce de l'angora / Mobilisons-nous, battons-nous pour eux !") --@title = qit("angora-title","#StopAngoraFrance - Lapins Martyrisés, la cruauté ça suffit !") -%html{:lang => "fr", "xml:lang" => "fr", :xmlns => "http://www.w3.org/1999/xhtml"} - %head - -@title = strip_tags(@title.to_s) - %title=@title.to_s+" - 3P" - - - - - - - - - - - - - - - - - - - - - %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 } - =raw '' - =raw '' - =raw '' - - - =raw '' - =raw '' - =raw '' - =raw '' - =raw '' - - - -if @facebook_img - =raw '' - =raw '' - - =raw '' - - - - - =raw '' - - - - - -@img_size = FastImage.size('https://transformeurs.quartz.xyz'+@facebook_img.to_s) - - -if @img_size and @img_size.size > 0 - =raw '' - =raw '' - - = javascript_include_tag "angora" - - = csrf_meta_tag - =render :partial => "public/shared/ga" - - = stylesheet_link_tag 'angora', :media => :all - - - - - - - - - - - %body{:class => "angora"} -
- - - -if flash[:error] or flash[:notice] or flash[:alert] - .flash - - =flash[:error] - =flash[:notice] - =flash[:alert] - - - #top_menu - .inner - .menu - -if I18n.locale == :fr - -links = [["Images","images"],["Enquête","enquete"],["Actions","actions"],["Pétition","petition"]] - -links.push ["Partenaires","partenaires"] if @partenaire - -else - -links = [["Images","images"],["Investigation","enquete"],["Actions","actions"],["Petition","petition"]] - -links.push ["Partners","partenaires"] if @partenaire - - -links.each do |link| - - %a{:href => "#", :'data-link' => link[1].to_s, :onclick => "$('html,body').animate({scrollTop: ($('#"+link[1].to_s+"').offset().top -40)},'slow');return false;"} - =image_tag("/angora/icon-#{link[1]}.png") - =link[0] - - =link_to qit("angora-soutenez","Soutenez !"), "https://transformeurs.quartz.xyz/faire-un-don", :target => "_blank", :class => "donate" - - =#link_to qit("angora-soutenez","Soutenez !"), "#ov", :target => "_blank", :onclick => "$('html,body').animate({scrollTop: ($('#ov').offset().top -40)},'slow');return false;", :class => "donate" - - - =link_to image_tag( "/logo-ow.png", :id => "logo"), "https://transformeurs.quartz.xyz" - - #top_block - .inner - .langs - =link_to image_tag("/angora/fr.png"),"/fr" -   - =link_to image_tag("/angora/en.png"),"/en" - - .description - -if I18n.locale == :fr - =image_tag "/angora/stop-angora-fr.png", :id => "stamp" - -else - =image_tag "/angora/stop-angora-en.png", :id => "stamp" - =qit "angora-texte-banniere" do - Mobilisons-nous pour eux, - %br - Fermons les élevages ! - - - - #main_block - .inner - #news - -if I18n.locale == :fr - %h3 Actualités - %p - Vous pouvez suivre toute l’actualité de cette campagne sur - =link_to "la page Facebook de OneVoice", "https://fr-fr.facebook.com/OneVoice-officiel-177757985646352/", :target => "_blank" - ou en vous connectant au hashtag - =link_to( "#StopAngoraFrance", "https://twitter.com/search?f=tweets&q=%23StopAngoraFrance&src=typd", :target => "_blank" )+"." - Vous pouvez aussi vous exprimer sur le - =link_to "forum", "https://transformeurs.quartz.xyz/forum", :target => "_blank" - - disponible sur notre site - =link_to "One-Voice.fr", "https://transformeurs.quartz.xyz" - - -else - %h3 NEWS - %p - You can follow all this campaign’s latest developments on - =link_to "3P’s Facebook page", "https://fr-fr.facebook.com/OneVoice-officiel-177757985646352/", :target => "_blank" - or by connecting with the hashtag - =link_to( "#StopAngoraFrance", "https://twitter.com/search?f=tweets&q=%23StopAngoraFrance&src=typd", :target => "_blank" )+"." - You can also comment on our - =link_to "forum", "https://transformeurs.quartz.xyz/forum", :target => "_blank" - - on our website: - =link_to "One-Voice.fr", "https://transformeurs.quartz.xyz" - - #images - %a{:anchor => "images"} - %h2 - =image_tag "/angora/icon-images.png" - Images - #video - .left - .left_inner - .video-responsive - -clip = "181180649" - =raw'' - .right - =qit "angora-intro-video" do - %p - Les enquêteurs de 3P ont infiltré pendant plusieurs mois les élevages français de lapins angoras. Les images inédites de leur investigation montrent sans détour la souffrance des lapins qui crient de peur et de douleur quand on leur arrache les poils, et parfois aussi la peau... Durant plusieurs années, ces lapins ne sortiront de leur petite cage que pour être attachés sur une table, pliés dans les pires positions, lors d’une douloureuse séance d’épilation. - .share_with - =link_to qit("angora-signer-la-petition","Signer la pétition"), "#petition", :class => "petition_link" -   - =ic :share - %span partager : - =link_to "https://www.facebook.com/sharer/sharer.php?u=#{@social_url}", :target => "_blank", :class => "link facebook" do - =i(:"facebook-official") - =link_to "https://twitter.com/intent/tweet?url=#{@social_url}&via=onevoiceanimal&text="+CGI::escape(@title.to_s), :target => "_blank", :class => "link twitter" do - =i(:"twitter-square") - - .clear - #photos - .left - .inner_left - -i = 0 - -images_desc = [""] - -if I18n.locale == :fr - -images_desc.push [6,"Etendu sur le dos en extension, attaché par une patte avant et une patte arrière à la table d’épilation, les lapins sont mis dans une position de vulnérabilité absolue. Un calvaire extrême pour ces animaux d’une espèce proie."] - -images_desc.push [10,"Pour bien retirer tous les poils, les gestes ne sont pas tendres !"] - -images_desc.push [8,"Lors de l’épilation sur les genoux, le lapin est plié dans tous les sens comme une poupée de chiffon. L’éleveur oublie que c’est un animal vivant qui a peur et qui a mal…"] - -images_desc.push [4,"Il n’est pas rare que des lambeaux de peau aussi soient arrachés en même temps que les poils."] - -images_desc.push [5,"L’épilation provoque les hurlements de ce lapin paniqué. Mais l’opération sera menée à son terme…"] - -images_desc.push [9,"Dans certains élevages, les lapins sont épilés devant les cages de leurs congénères. Ces derniers assistent donc à la scène et entendent les hurlements ce qui est évidemment une importante source de stress…"] - -images_desc.push [11,"Pour ce lapin, un tatouage à la pince sans anesthésie viendra ajouter sa douleur à celle de la « dépilation ». "] - -images_desc.push [12,"Les lapins sont transportés comme de vulgaires objets."] - -images_desc.push [2,"Après l’épilation, rien n’est prévu pour protéger réellement les lapins du froid. Un bout de carton ou un sac vide de granulés est seulement placé devant la cage."] - -images_desc.push [7,"Urines et eaux usées ne sont pas récupérées mais s’écoulent directement sur le sol… L’odeur d’ammoniaque est insupportable par grande chaleur, même dans les plus petites structures…"] - -images_desc.push [1,"Après avoir perdu leur toison, les lapins regagnent la solitude dans leur petite cage où ils ne peuvent pas sauter ni jouer, ni avoir une vie sociale, seulement attendre que leurs poils repoussent…"] - -images_desc.push [3,"Lors du sexage – les femelles sont plus rentables – certains éleveurs avouent jeter violemment les lapereaux de quelques jours à terre pour les tuer…"] - -else - -images_desc.push [6,"Stretched out on their back, with the front and back paws tied down to the epilation table, the rabbits are restrained in a position of total vulnerability. An extreme ordeal for this species of prey. "] - -images_desc.push [10,"To properly remove the fur, the technique employed is far from kind!"] - -images_desc.push [8,"During the epilation on the breeders lap, the rabbit is manipulated like a rag doll. The breeder has forgotten that this is a living animal experiencing fear and pain…"] - -images_desc.push [4,"It is not unusual for strips of skin to be ripped off at the same time as the fur. "] - -images_desc.push [5,"The epilation provokes screams from this panicking rabbit. But she will have to endure it until the end…"] - -images_desc.push [9,"In certain farms, the rabbit’s fur is removed in front of their fellow rabbits. Being forced to witness the process and hear the screams obviously generates a significant amount of stress…"] - -images_desc.push [11,"For this rabbit, a tattoo is applied using a clamp, without anaesthetic, adding further pain to the “depilation” procedure."] - -images_desc.push [12,"The rabbits are carried around like common objects."] - -images_desc.push [2,"After their fur is removed, no measures are taken to properly protect them from the cold. Just a bit of cardboard or an empty bag of pellets are placed in front of the cage."] - -images_desc.push [7,"Urine and dirty water aren’t evacuated, but drip straight onto the floor… The smell of ammonia is unbearable in the heat, even on the smaller farms…"] - -images_desc.push [1,"After having lost their fleece, the rabbits return to solitary confinement in their tiny cage where they are unable to jump or play, or have a social life. They can only bide their time until their fur grows back…"] - -images_desc.push [3,"During sex-sorting – the females are more profitable – certain breeders admit to violently throwing the new born baby rabbits to the ground to kill them…"] - - - - - - - - -while i < 12 - -i = i + 1 - =image_tag "/angora/images/#{images_desc[i][0]}.jpg", :class => ("active" if i == 1), :data => {:desc => images_desc[i][1] }, :onclick => "$('#image_right_desc').html( $(this).data('desc'));$('#image_right').attr('src', $(this).attr('src'));$('#photos img').removeClass('active');$(this).addClass('active');", :onmouseover => "$('#image_right_desc').html( $(this).data('desc'));$('#image_right').attr('src', $(this).attr('src'));$('#photos img').removeClass('active');$(this).addClass('active');" - - - .clear - - - - .share_with{:style => "text-align:right;"} - =ic :share - %span=qit "angora-share", "partager :" - =link_to "https://www.facebook.com/sharer/sharer.php?u=#{@social_url}", :target => "_blank", :class => "link facebook" do - =i(:"facebook-official") - =link_to "https://twitter.com/intent/tweet?url=#{@social_url}&via=onevoiceanimal&text="+CGI::escape(@title.to_s), :target => "_blank", :class => "link twitter" do - =i(:"twitter-square") -   - =link_to qit("angora-signer-la-petition","Signer la pétition"), "#petition", :class => "petition_link" - %p - =link_to qit("angora-faire-un-don","Faire un don"), "https://transformeurs.quartz.xyz/fr/faire-un-don", :class => "donate_link", :target => "_blank" - .clear - - - .right - .inner_right - =image_tag "/angora/images/6.jpg", :id => "image_right" - %p.desc#image_right_desc - =images_desc[6][1] - - - .left.mobile_left{:style => "display:none"} - .inner_left - -i = 0 - - - -while i < 12 - -i = i + 1 - =image_tag "/angora/images/#{images_desc[i][0]}.jpg", :class => ("active" if i == 1), :data => {:desc => images_desc[i][1] }, :onclick => "$('#image_right_desc').html( $(this).data('desc'));$('#image_right').attr('src', $(this).attr('src'));$('#photos img').removeClass('active');$(this).addClass('active');", :onmouseover => "$('#image_right_desc').html( $(this).data('desc'));$('#image_right').attr('src', $(this).attr('src'));$('#photos img').removeClass('active');$(this).addClass('active');" - - - .clear - - - - .share_with{:style => "text-align:right;"} - =ic :share - %span=qit "angora-partager", "partager :" - =link_to "https://www.facebook.com/sharer/sharer.php?u=#{@social_url}", :target => "_blank", :class => "link facebook" do - =i(:"facebook-official") - =link_to "https://twitter.com/intent/tweet?url=#{@social_url}&via=onevoiceanimal&text="+CGI::escape(@title.to_s), :target => "_blank", :class => "link twitter" do - =i(:"twitter-square") -   - =link_to qit("angora-signer-la-petition","Signer la pétition"), "#petition", :class => "petition_link" - .clear - - - .clear - #enquete - %a{:anchor => "enquete"} - %h2 - =image_tag "/angora/icon-enquete.png" - =qit "angora-titre-enquete", "Enquête" - .inner_enquete - .content - =image_tag "/angora/couv-enquete.png" - #panel_1.panel - =qit "angora-titres-pave-enquete" do - %h4 Une enquête à rebrousse poil - %h3 Six mois d’investigation - .links - %p - =raw link_to raw(""+qit("angora-lien-pourquoi-l-angora","Pourquoi l’angora ?")+" >"), "#panel_2", :class => "panel_link" - %p - =raw link_to raw(""+qit("angora-lien-pourquoi-contre-l-angora","Pourquoi contre l’angora ?")+" >"), "#panel_3", :class => "panel_link" - - =qit "angora-enquete-panel-1" do - %p - De février à juillet 2016, nos enquêteurs ont infiltré six élevages français. Rencontrer les acteurs, sympathiser, obtenir des infos sans alerter. L’opération est longue car les lapins ne sont pas épilés tous les jours. Il y a aussi les phases de reproductions, le sexage des lapereaux, productions alimentaires avec la chair des mâles (moins fournis en poils, la plupart finissent en pâtés, d’autres au bûcher) et l’attente entre les épilations, trois fois l’an. L’opération est un stress permanent pour les lapins, dénudés après les « récoltes » et exposés aux chocs thermiques dans des clapiers sans protection réelle. - %p - Images et commentaires enregistrés font froid dans le dos : « J’ai vu des fois passer deux heures sur un lapin qui se déchirait de partout. Des fois tu te dis, il vaut mieux lui foutre un coup sur la tête, celui-là. » L’enquête est payante : elle fonde les recours juridiques pour stopper des telles pratiques. - %br - %br - - #panel_2.panel{:style => "display:none;"} - .links{:style => "padding-bottom:5px;"} - =raw link_to raw("< "+qit("angora-enquete-lien", "Enquête")), "#panel_1", :class => "panel_link left" - .clear - =qit "angora-enquete-panel-2" do - %h3 Pourquoi l’angora ? - - - %p - • La production de laine à partir de lapins angoras s’appuie en France sur des races d’élevage spécifiques. La filière tricolore (une quarantaine d'élevages « rationnels », plusieurs exploitations familiales pour des revenus d’appoint), produit actuellement environ 2 tonnes de poils par an, traités pour une confection textile haut de gamme. - %p - • Cette filière est en déclin, malgré la qualité des poils récoltés, car dans un environnement très concurrentiel : l’essentiel du marché est détenu par de producteurs chinois (on notera qu’à l’étranger les méthodes de « récolte » sont variables, tondeuse ou ciseaux, plus exigeantes en temps et peu rentables aux coûts horaires français). L’élevage à l’étranger n’est pas moins un univers de souffrance pour les lapins angoras. - %br - %br - %br - - .links - %p - =raw link_to raw(""+qit("angora-lien-pourquoi-contre-l-angora","Pourquoi contre l’angora ?")+" >"), "#panel_3", :class => "panel_link" - - - #panel_3.panel{:style => "display:none;"} - .links{:style => "padding-bottom:5px;"} - =raw link_to raw("< "+qit("angora-enquete-lien", "Enquête")), "#panel_1", :class => "panel_link left" - .clear - =qit "angora-enquete-panel-3" do - %h3 Pourquoi CONTRE l’angora (1/2) ? - - %p - • D’un point de vue légal, la filière française se réjouit du peu de réglementation qui lui est applicable comme de la souplesse manifestée par les autorités – Directions départementales de la Protection des Populations, ou DDPP, sous tutelle préfectorale. Les libertés prises dans les élevages relevées par les enquêteurs 3P (conditions d’élevage et d’abattage, actes de cruauté) s’avèrent cependant hors la loi (Code rural et de la pêche maritime). - %p - • La littérature vantant les mérites de la filière française avance que, chez nous, les lapins exploités pour leur poil ont le rare privilège de mourir de vieillesse. Honteuse assertion : nos enquêteurs ont appris que des lapins développant certaines tumeurs cancéreuses sont revendus par le plus important des éleveurs à des laboratoires d’expérimentation. Quant aux autres, lorsqu’ils ne fournissent plus suffisamment de poils ou de bébés, lorsqu’ils sont malades aussi, un coup derrière la tête abrège bien souvent leur existence. - %br - De plus, on voit mal en quoi vivre 6-7 ans dans des clapiers minuscules, sans confort, chaleur ou enrichissement, dans le stress permanent d’épilations brutales et douloureuses, avec des techniques d’alimentation ciblant la chute du poil correspond à un réel privilège. En tout cas pas à une vraie vie de lapin, être sensible et éminemment sociable. - %br - %br - .links - - - %p - =raw link_to raw("< ")+qit("angora-lien-pourquoi-l-angora","Pourquoi l’angora ?"), "#panel_2", :class => "panel_link left" - - %p - =raw link_to raw(""+qit("angora-lien-pourquoi-contre-l-angora","Pourquoi contre l’angora ?")+" (2/2)>"), "#panel_4", :class => "panel_link" - - -if false - %p - =raw link_to raw("<"), "#panel_1", :class => "panel_link left" - - - - #panel_4.panel{:style => "display:none;"} - - .links{:style => "padding-bottom:5px;"} - =raw link_to raw("< "+qit("angora-enquete-lien", "Enquête")), "#panel_1", :class => "panel_link left" - - .clear - =qit "angora-enquete-panel-4" do - %h3 Pourquoi CONTRE l’angora (2/2) ? - - - - - - %p - • Les lapins angoras vivent, en conditions d’élevage, entre 6-7 ans. Ils intègrent leur clapier dès l’âge de 2 mois. Les mâles étant moindres producteurs de poils qualitatifs, certains sont conservés pour la reproduction. Les autres sont éliminés, et deviennent matière à civet ou sont brûlés car sans intérêt. Aucune réglementation précise n’est en vigueur en France concernant l’abattage dans ce secteur. Dans les élevages, on pratique donc à l’ancienne (coup du lapin, soit les vertèbres cervicales brisées d’un coup d’objet contendant ou par choc contre un mur ou sur le sol). Dans l’un des élevages au moins, certains lapereaux sont ensuite donnés aux chiens. La méthode étant traditionnelle, aucun éleveur ne trouve à redire sur son efficacité et encore moins sur son éthique, voire sa légalité. - %p - • Le ministère de l’Agriculture a affirmé son intention de placer le bien-être animal au cœur d’une activité durable. Le plan stratégique qui en découle incite à veiller au partage des connaissances favorables au bien-être animal. L’activité telle que pratiquée dans les élevages nationaux ne prenant aucunement en considération ces intentions (par nature, elle ne peut respecter la sensibilité, reconnue, des lapins), elle doit cesser. Faudra-t-il attendre un prochain ministre ? - %br - %br - - .links - - - %p - =raw link_to raw("< "+qit("angora-lien-pourquoi-l-angora","Pourquoi l’angora ?")), "#panel_2", :class => "panel_link left" - - %p - =raw link_to raw("< "+qit("angora-lien-pourquoi-contre-l-angora","Pourquoi contre l’angora ?")+" (1/2)"), "#panel_3", :class => "panel_link" - - - - .clear - %br - - - - :coffeescript - $(".panel_link").click -> - $("#enquete .panel").hide() - $($(this).attr("href")).show() - - - return false - - .share_with{:style => "margin-top:20px;text-align:right;"} - =ic :share - %span=qit "angora-partager", "partager :" - =link_to "https://www.facebook.com/sharer/sharer.php?u=#{@social_url}", :target => "_blank", :class => "link facebook" do - =i(:"facebook-official") - =link_to "https://twitter.com/intent/tweet?url=#{@social_url}&via=onevoiceanimal&text="+CGI::escape(@title.to_s), :target => "_blank", :class => "link twitter" do - =i(:"twitter-square") -   - =link_to qit("angora-signer-la-petition","Signer la pétition"), "#petition", :class => "petition_link" - - .clear - .inner_bottom - .left - %h4 - =qit "angora-titre-notre-rapport-d-enquete", "Notre rapport d'enquête" - =image_tag "/angora/fr.png", :style => "height:10px;position:relative;top:-5px;right:-2px;" if I18n.locale == :en - %p - =link_to qit("angora-telecharger","Télécharger"), "/angora/rapport.pdf", :class => "a_btn", :target => "_blank" - %p - =link_to qit("angora-lire-en-ligne","Lire en ligne"), "#",:onclick => "$('#yumpu_rapport').show();return false;", :class => "a_btn" - .right{:style => "font-size:1.8em;"} - -color = "#E94F25" - .guillemet.bottom_corner - - - - - - - =raw '' - =raw '' - - - - - - - - - - %p{:style => "margin:0;margin-left:30px;"} - =qit "angora-citation-enquete","Certaines lapines développant un cancer durant leur élevage sont vendues aux laboratoires pour des expériences." - =#%br - =#Honte d’une cruauté multipliée par 2 ! - - .guillemet.top_corner{:style => "text-align:right;"} - - - - - - =raw '' - =raw '' - - - - - .clear - - - - - - #yumpu_rapport{:style => "margin-top:30px;display:none;"} - %p{:style => "text-align:right;cursor:pointer;padding-right:20px;margin-bottom:10px;font-size:0.9em;", :onclick => "$(this).parent().hide()"} - =qit "angora-fermer", "X Fermer" -
- - - #actions - %a{:anchor => "actions"} - %h2 - =image_tag("/angora/icon-actions.png") - =qit "angora-titre-actions", "Actions" - - .left - %h4=qit "angora-mobilisation-citoyenne", "Mobilisation citoyenne" - - .action.orange - =image_tag "/angora/feuille-petition.png", :style => "float:left;width:90px;margin-right:20px" - =qit "angora-action-1" do - %h3 Signez et partagez - %p - %span « Pour l’interdiction de l’élevage des lapins angoras et du commerce de leur laine. » - %br - Notre pétition est en ligne, joignez-vous à notre action et donnez-lui de l’ampleur en en parlant autour de vous. Cet objectif est réalisable. Rendons-le possible ensemble - =link_to "en signant la pétition !", "#petition", :style => "text-decoration:underline;color:white;" - - - .action.pull - =qit "angora-action-2" do - %h3 L’angora hors des placards - - %p - =image_tag "/angora/pull.jpg" - Vous avez visionné notre reportage ? Votre pull en angora ne vous démange pas ? 3P engage tous les citoyens à cesser l’achat de ces produits issus de la souffrance. Et n’en portez plus ! Notre association se propose également de recueillir tous les vêtements élaborés en laine angora (pull, cardigans, écharpes, bonnets, gants…), que vous pourrez sortir de vos placards familiaux afin de les adresser à des refuges animaliers, notamment de chats, où leur douceur serait bien utile. L’adresse de 3P est en bas de page. À vos cartons et merci pour eux… - - .action - =qit "angora-action-3" do - %h3 Action média / Action immédiate - %p - - Avec cette page dédiée, 3P lance une campagne vers les médias nationaux et sur les réseaux sociaux. Elle sera relayée par nos partenaires étrangers, notamment ceux de la Free Fur Alliance, dont nous portons en France le projet d’abolir - - les élevages de fourrure animale - =link_to image_tag("/angora/ffa.jpg", :style => "float:right;width:160px;margin-left:5px;margin-right:10px"), "http://www.furfreealliance.com", :target => "_blank" - (visons, lapins) et de promouvoir une mode sans cruauté par le programme international - =link_to("Fur Free Retailer", "http://www.furfreealliance.com", :target => "_blank")+"." - Toute intervention média sera relayée par nos fils d'actualités, restez connectés… - - .left_com - %span - =qit "angora-communique-de-presse", "Communiqué de presse" - =image_tag "/angora/fr.png", :style => "height:10px;position:relative;top:-5px;right:-2px;" if I18n.locale == :en - - =link_to qit("angora-telecharger","Télécharger"), "/angora/cp.pdf", :class => "a_btn", :target => "_blank" - - =link_to qit("angora-lire-en-ligne","Lire en ligne"), "#",:onclick => "$('#yumpu_cp').show();$('html,body').animate({scrollTop: ($('#yumpu_cp').offset().top -80)},'slow');return false;", :class => "a_btn" - - - - .right - =qit "angora-action-4" do - %h4 Mobilisation des autorités - - .action - - %h3 - La honte / La plainte - %p - 3P a décidé de porter plainte pour actes de cruauté envers les animaux et pour différentes infractions aux dispositions du Code rural. La plainte a été déposée contre le principal éleveur français, situé en Loire-Atlantique. - %br - Notre détermination est d’autant plus grande que cet éleveur pratique sous le manteau la revente de lapines cancéreuses aux laboratoires spécialisés (pour le prix d’un lapin de chair). Une seconde vie de souffrance pour les lapines, et une ignoble logique de profit à tout prix. La tête de la filière française de l’angora viendra donc expliquer devant la justice sa conception du bien-être animal. - .action.with_img_background - =qit "angora-action-5" do - %h3 - 600 lapins à sauver ! - %p - L’élevage contre lequel 3P porte plainte élève 600 lapins environ. Battons-nous pour eux ! - .action - =image_tag "/angora/balance.png", :style => "float:left;width:110px;margin-right:20px" - =qit "angora-action-6" do - %h3 - Filière de mort / - filière dehors - %p - 3P entend mener ce combat jusqu’à son terme, c’est-à-dire obtenir une législation nationale proscrivant l’élevage de lapins angoras sur notre sol et, si possible, l’interdiction de ce produit en France. Nous avons obtenu gain de cause sur la circulation de fourrures de chiens et de chats dans l’UE. Le combat pour les lapins angoras sera tout aussi ardu, semé d’actions en justice et, si nécessaire, de réunions avec les pouvoirs publics afin de poser des solutions de reconversion à cette filière. - %br - 3P a besoin de votre soutien dans ces démarches. - =link_to "Soutenez-nous par vos dons.", "https://transformeurs.quartz.xyz/fr/faire-un-don", :target => "_blank" - - - .clear - - - - - .clear - - #yumpu_cp{:style => "margin-top:30px;display:none;"} - %p{:style => "text-align:right;cursor:pointer;padding-right:20px;margin-bottom:10px;font-size:0.9em;", :onclick => "$(this).parent().hide()"} - X Fermer -
- - - - - #petition - %a{:anchor => "petition"} - -@petition = @petition || Petition.find(18) - -@petition_lang = @petition_lang || @petition.lang(@lang.slug) - - -@mail_profile = @mail_profile || MailProfile.new(:email => cookies[:email_saved]) - -@signator = @signator || @petition.signators.new(:country => "FR", :mail_profile => @mail_profile) - - - %h2 - =image_tag "/angora/icon-petition.png" - =qit "angora-titre-petition", "Pétition" - -if session[:petition_lapin_confirm] - -session[:petition_lapin_confirm] = nil - #petition_thanks - %center - =qit "angora-petition-thanks" do - %h3 Votre signature a bien été validée ! - - %p Merci pour votre soutien. Aidez-nous en partageant cette pétition sur les réseaux sociaux pour encore plus de signatures : - - .share_with{:style => "text-align:center;margin-top:30px"} - =ic :share - %span=qit "angora-partager", "partager :" - =link_to "https://www.facebook.com/sharer/sharer.php?u=#{@social_url}", :target => "_blank", :class => "link facebook" do - =i(:"facebook-official") - =link_to "https://twitter.com/intent/tweet?url=#{@social_url}&via=onevoiceanimal&text="+CGI::escape(@title.to_s), :target => "_blank", :class => "link twitter" do - =i(:"twitter-square") - - .left - .inner_left - =qit "angora-petition-texte" do - %h3 - « Pour l’interdiction de l’élevage - %br - des lapins angoras et du commerce de leur laine. » - %p.chap - « Nous soussignés, considérant : - %ul - %li - %span - que la réglementation en vigueur concernant la mise à mort des animaux n’est pas respectée : certains lapins sont tués en leur assénant un coup derrière la tête ou en les jetant à terre, notamment lors du sexage ; - %li - %span - - que les conditions de détention n’assurent pas le bien-être des lapins : - le recours au Lagodendron, censé favorisé la chute des poils implique un jeûne forcé de 2 jours sans garantie de résultat ; les lapins sont isolés dans des cages sans accès à l’extérieur et sans enrichissement ; aucune mesure de protection réelle contre le froid n’est appliquée après l’épilation ; - %li - %span - - que l’épilation implique un procédé d’immobilisation inadapté et une mise en œuvre qui suscite de la douleur et de la peur comme en témoignent les cris et mictions des lapins ; - %li - %span - que les blessures consécutives à l’épilation ne sont pas soignées. - - %p.chap - Demandons au ministre de l’Agriculture l’interdiction de l’élevage de lapins angoras au motif que leurs conditions d’élevage ne respectent pas les normes minimales de bien-être et que l’épilation telle qu’elle y est pratiquée constitue un acte de cruauté avéré. La vente et l’achat des produits utilisant des poils de lapin angora doivent également être interdits. » - - .right - -if true - .sign_resume - %p.first - =qit "angora-sign-resum-intro" do - Notre objectif : - %br - 40 000 signatures - %p.count - =@petition.signators.where(:enabled => true).count + 1150 - %p.last - =qit "angora-sign-resum-fin" do - signatures déjà obtenues - - #petition_angora_form - #petition_form.form - =render :partial => "public/petitions/form" - - - .share_with{:style => "margin-top:15px;text-align:center;"} - =ic :share - %span=qit "angora-partager", "partager :" - =link_to "https://www.facebook.com/sharer/sharer.php?u=#{@social_url}", :target => "_blank", :class => "link facebook" do - =i(:"facebook-official") - =link_to "https://twitter.com/intent/tweet?url=#{@social_url}&via=onevoiceanimal&text="+CGI::escape(@title.to_s), :target => "_blank", :class => "link twitter" do - =i(:"twitter-square") - .clear - - - - - #partenaires - %a{:anchor => "partenaires"} - %h2 - =image_tag "/angora/icon-partenaires.png" - =qit "angora-titre-nos-partenaires", "Nos partenaires" - - .partenaires_inner - %table{:style => "width:100%"} - %tr - %td - =link_to image_tag("/angora/partenaires/afaad.png", :style => "max-height:65px;"), "http://www.afaad.net/", :target => "blank" - =link_to image_tag("/angora/partenaires/anima.png", :style => "max-height:65px;"), "http://www.anima.dk", :target => "blank" - - =link_to image_tag("/angora/partenaires/ac.png"), "https://www.animal-cross.org/", :target => "blank" - - =link_to image_tag("/angora/partenaires/animal_rights_center.png", :style => "max-height:65px;"), "http://www.arcj.org/en/", :target => "blank" - - - =link_to image_tag("/angora/partenaires/animalter.jpg"), "http://animalter.com/", :target => "blank" - =link_to image_tag("/angora/partenaires/bvd.jpg"), "https://www.bontvoordieren.nl/", :target => "blank" - =link_to image_tag("/angora/partenaires/ccea.jpg"), "http://ccea.fr/", :target => "blank" - =link_to image_tag("/angora/partenaires/java.jpg", :style => "max-height:65px;"), "http://www.java-animal.org/ ", :target => "blank" - =link_to image_tag("/angora/partenaires/lav.jpg"), "http://www.lav.it/en", :target => "blank" - - =link_to image_tag("/angora/partenaires/tierschutzbund.jpg"), "https://www.tierschutzbund.de/", :target => "blank" - - - =link_to image_tag("/angora/partenaires/l214.png"), "http://www.l214.com", :target => "blank" - =link_to image_tag("/angora/partenaires/peta.jpg"), "http://www.petafrance.com", :target => "blank" - =link_to image_tag("/angora/partenaires/vegan-impact.png", :style => "max-height:65px;"), "http://veganimpact.com/", :target => "blank" - =link_to image_tag("/angora/partenaires/wellfarm.jpg"), "http://welfarm.fr", :target => "blank" - - - - - - - - - - - - #ov - %a{:anchor => "ov"} - %h2 - =image_tag "/angora/icon-ov.png", :style => "width:260px;display:block;margin-bottom:30px" - =qit "angora-a-propos-de-one-voice", "À propos de One Voice" - =qit "angora-a-propos-intro" do - %p - Fondée par Muriel Arnal en 1995, One Voice défend une éthique animale et planétaire. Elle combat pour les droits des animaux, pour la reconnaissance de la valeur intrinsèque de chaque individu sentient, pour un statut juridique de la personne animale, pour la reconnaissance du « lien » entre maltraitance animale et violence humaine. - .socials - =link_to image_tag("/angora/reseaux-fb.png"), "https://fr-fr.facebook.com/OneVoice-officiel-177757985646352/", :target => "_blank" - =link_to image_tag("/angora/reseaux-twitter.png"), "https://twitter.com/onevoiceanimal", :target => "_blank" - =link_to image_tag("/angora/reseaux-vimeo.png"), "https://vimeo.com/channels/onevoiceanimal", :target => "_blank" - - - #donate_line - %p.donate_p{:style => "max-width:800px;margin:auto;padding-top:50px;"} - =qit "angora-intro-dons" do - 3P n’accepte aucune subvention. Sa liberté de parole est totale, comme son indépendance vis-à-vis des lobbies. Aidez-nous à poursuivre notre combat pour les animaux. - %br - Merci du fond du cœur de votre soutien. - %p.donate_p{:style => "padding-bottom:100px;"} - =link_to qit("angora-faire-un-don","Faire un don"), "https://transformeurs.quartz.xyz/fr/faire-un-don?c=52", :class => "donate_link", :target => "_blank" - - - .photo_credits{:style => "margin:0"} - - - - -if @menu_item and @menu_item.image_file and @menu_item.title_image and @menu_item.image_file.photograph - Photo du bandeau : - - =@menu_item.image_file.photograph - ="-" if @page_images_credits.size > 0 - - -if @article and @article.image_file and @article.image_file.photograph - =qit "crédits photo, Photo du bandeau", "Photo du bandeau :" - - =@article.image_file.photograph - ="-" if @page_images_credits.size > 0 - - -if @credit_bandeau - =qit "crédits photo, Photo du bandeau" - - =@credit_bandeau - ="-" if @page_images_credits.size > 0 - - -if @page_images_credits.size > 0 - =qit "crédits photo, Images de la page", "Images de la page :" - =@page_images_credits.uniq.join(", ") - - =raw"" - -if !@menu_item or @menu_item.id != 1 - =raw"" - - - #new_bottom - - .row - .main_container - .newsletter_bottom - - %h4 Newsletter - %p - =qit "newsletter-intro-bas","Je souhaite être tenu(e) au courant des campagnes de 3P et soutenir son combat. Je déclare accepter de recevoir des informations à cet effet. Je m’inscris à la newsletter." - ="-" - -if I18n.locale == :fr - =link_to "Voir nos dernières newsletters", public_newsletters_path - #newsletter_form - -@registrant = @registrant || Registrant.new - =form_for [:public, @registrant], :remote => false do |f| - .email=f.text_field :email, :placeholder => "email" - =f.submit qit("newsletter-submit","M'inscrire"), :class => "btn" - - - .socials_bottom - %h4=qit "footer-reseaux-sociaux", "Réseaux sociaux" - %br - =link_to "https://fr-fr.facebook.com/OneVoice-officiel-177757985646352/", :target => "_blank" do - =ic(:facebook) - Facebook - - ="-" - =link_to "https://twitter.com/onevoiceanimal", :target => "_blank" do - =ic(:twitter) - Twitter - ="-" - =link_to "https://vimeo.com/channels/onevoiceanimal", :target => "_blank" do - =ic(:vimeo) - Vimeo - %br - %br -
- - - %br - Follow @onevoiceanimal - - .clear - - .row#menu_bottom_row - .main_container - .columns.span_2 - -menu_item = MenuItem.find(7) - %h4=qit "footer-petitions", "Pétitions" - - %ul - -i = 0 - -Petition.joins(:petition_langs).where(:petition_langs => {:lang_site_id => @lang.id, :frontpage => true, :enabled => true}).order("position ASC").all.each do |petition| - -i+= 1 - -petition_lang = petition.lang(I18n.locale.to_s) - -if petition_lang.short_title? - -title =petition_lang.short_title - -else - -title=petition_lang.title - %li=link_to title, "https://transformeurs.quartz.xyz"+petition_path(:slug => petition_lang.slug, :lang => I18n.locale.to_s) - - - .columns.span_2 - -menu_item = MenuItem.find(7) - %h4=menu_item_link(menu_item) - - %ul - -menu_item.children.order(:position).each do |menu_item| - %li=menu_item_link(menu_item) - .columns.span_2 - -menu_item = MenuItem.find(9) - %h4=menu_item_link(menu_item) - - %ul - -menu_item.children.order(:position).each do |menu_item| - %li=menu_item_link(menu_item) - - - - .columns.span_2 - -menu_item = MenuItem.find(6) - %h4=menu_item_link(menu_item) - - %ul - -menu_item.children.order(:position).each do |menu_item| - %li=menu_item_link(menu_item) - - - .columns.span_2 - %h4 - =link_to qit("bas Je fais un don","Je fais un don"), new_public_donator_transaction_path - %ul - %li=link_to qit("bas Don en ligne", "Don en ligne"), "https://transformeurs.quartz.xyz"+new_public_donator_transaction_path - %li=link_to qit("bas Adhérer", "Adhérer"), "https://transformeurs.quartz.xyz"+new_public_transaction_join_path - %li=link_to qit("bas Parrainer", "Parrainer"), "https://transformeurs.quartz.xyz"+public_sponsorship_animals_path - %li=link_to "S'abonner à Noé", "https://transformeurs.quartz.xyz"+new_public_transaction_abo_path if I18n.locale == :fr - %li=link_to qit("bas Assurance vie", "Assurance vie"), "https://transformeurs.quartz.xyz"+"/fr/assurance-vie.html" if I18n.locale == :fr - - .clear - - - - - - #contact_bottom_row - .main_container - .right - =ic(:phone) - - +33 (0)3 88 35 67 30 - ="-" - =ic(:"envelope-o") - - =link_to "info@transformeurs.quartz.xyz", "mailto:info@transformeurs.quartz.xyz" - - - = "Association" if @lang.id != 2 - 3P - ="-" - - - 1 A place des Orphelins - ="-" - 67000 Strasbourg - ="-" - FRANCE - ="-" - = menu_item_link_force(MenuItem.find(212)) if MenuItem.find_by_id(212) - - - .bottom_block - - - =yield :bottom_block - - - - .socials_links - .top_link - =i(:"arrow-circle-o-up") - -if I18n.locale == :fr - =link_to "https://www.facebook.com/sharer/sharer.php?u=#{@social_url}", :target => "_blank", :class => "link facebook" do - =i(:"facebook") - =#text=CSS%20Social%20Media%20Sidebar& - =link_to "https://twitter.com/intent/tweet?url=#{@social_url}&via=onevoiceanimal&text="+CGI::escape(@title.to_s), :target => "_blank", :class => "link twitter" do - =i(:"twitter") - - -if params[:by_facebook] - :coffeescript - window.location.hash = '#petition'; - - - - - :coffeescript - resize_corps = () -> - test = $(".width_sidebar").width() - $(".width_sidebar #sidebar").outerWidth() - 1 - $(".width_sidebar #corps").css - "width" :test+"px" - resize_corps() - $(window).on "resize", -> - resize_corps() - - - diff --git a/app/views/public/home/angora_e1.html.haml b/app/views/public/home/angora_e1.html.haml deleted file mode 100644 index ad0b54e..0000000 --- a/app/views/public/home/angora_e1.html.haml +++ /dev/null @@ -1,136 +0,0 @@ -- @social_url = "https://stop-angora.fr/#{@lang.slug}" --@one_voice_host = "https://transformeurs.quartz.xyz" --@menu_shadow=true --@lang = @lang || LangSite.first --if !@facebook_img or @facebook_img == "" - -if I18n.locale == :fr - -@facebook_img= "/angora/couv-fb-fr.jpg" - -else - -@facebook_img= "/angora/couv-fb-en.jpg" -!!! - -- @description = qit("angora-social-desc","Stop à la torture des lapins angoras / Fermons les élevages français / Non au commerce de l'angora / Mobilisons-nous, battons-nous pour eux !") --@title = qit("angora-title","#StopAngoraFrance - Lapins Martyrisés, la cruauté ça suffit !") -%html{:lang => "fr", "xml:lang" => "fr", :xmlns => "http://www.w3.org/1999/xhtml"} - %head - -@title = strip_tags(@title.to_s) - %title=@title.to_s+" - 3P" - - - - - - - - - - - - - - - - - - - - - %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 } - =raw '' - =raw '' - =raw '' - - - =raw '' - =raw '' - =raw '' - =raw '' - =raw '' - - - -if @facebook_img - =raw '' - =raw '' - - =raw '' - - - - - =raw '' - - - - - -@img_size = FastImage.size('https://transformeurs.quartz.xyz'+@facebook_img.to_s) - - -if @img_size and @img_size.size > 0 - =raw '' - =raw '' - - = javascript_include_tag "angora" - - = csrf_meta_tag - =render :partial => "public/shared/ga" - - = stylesheet_link_tag 'angora', :media => :all - - - - - - - %body{:class => "angora"} -
- - - -if flash[:error] or flash[:notice] or flash[:alert] - .flash - - =flash[:error] - =flash[:notice] - =flash[:alert] - - - - #main_block - .inner{:style => "padding:20px;background:white;max-width:1000px"} - =image_tag "https://transformeurs.quartz.xyz/logo_w.png", :style => "display:block;margin:auto;width:100px;margin-top:20px;" - %h1{:style => "font-size:26px;text-align:center;margin-top:30px;margin-bottom:5px;padding:0;"}=link_to "3P en campagne !", "https://stop-angora.fr" - - %h2{:style => "font-size:24px;text-align:center;margin-top:0px;margin-bottom:60px;color:black;text-transform:none;padding:0"}=link_to "#StopAngoraFrance", "https://stop-angora.fr", :style => "color:black;" - - - #video{:style => "max-width:900px;margin:auto;"} - - .video-responsive - -clip = "182293543" - =raw'' - - %p{:style => "text-align:center;margin-top:40px;font-size:20px;margin-bottom:0"}=link_to "Signez la pétition !", "https://stop-angora.fr/#petition", :style => "display:inline-block;background:#E94F25;color:white;padding:11px 17px;" - %p{:style => "text-align:center;margin-top:5px;font-size:20px"} - =link_to "https://stop-angora.fr", :style => "color:rgba(0,0,0,0.8);font-size:0.8em;" do - Le reportage complet sur - %span{:style => "color:#F07F28;"} stop-angora.fr - %p{:style => "text-align:center;max-width:600px;margin:auto;margin-top:40px;font-family:'Roboto Slab', serif"} - Notre association entre en campagne, mobilise, appelle à pétition et porte plainte pour actes de cruauté contre le plus important élevage français. - %br - Je vous invite à vous rendre sur le site dédié - =link_to "stop-angora.fr", "https://stop-angora.fr" - afin de signer notre pétition, découvrir et soutenir notre action. Les images et le rapport d’enquête sont en ligne, vous pouvez les relayer sur les réseaux sociaux. Du fond du cœur, merci de votre aide, pour eux. - - - - - :coffeescript - $("#main_block .inner").css("min-height", $(window).height()+"px") - diff --git a/app/views/public/home/assurance.html.haml b/app/views/public/home/assurance.html.haml deleted file mode 100644 index a14cde5..0000000 --- a/app/views/public/home/assurance.html.haml +++ /dev/null @@ -1,71 +0,0 @@ -=raw "" - - - -.article_top{:style => "background-image:url('/assurance.jpg');height:480px;position:relative", :class => ("with_img")} - - %h1{:style => "position:absolute;bottom:20px;left:10px;right:10px;"} - L'assurance-vie -=raw "
" -#assurance - %h2 - Pour perpétuer votre engagement - %p - Hier, aujourd’hui, demain… nous écrivons ensemble le Grand Livre des animaux. Rien ne doit l’interrompre. Nous écrivons leur droit de vivre, d’être libres, de ne pas être torturés ! - %p - Nous l’écrivons dans la vision globale d’une planète apaisée. Une planète où l’humain réintègre sa place au sein de la nature, fraternellement. - %br - %br -=raw "
" - - -.assurance-vie-container - .inner - %h2{:style => "margin-top:10px;"} - Nous devons voir plus loin… - .row_50{:style => "padding-right:10px !important;"} - %h3 - Pour 3P - %p - L’assurance-vie s’adapte parfaitement à la vision, à l’éthique et aux axes de l’association qui, pour être libre de sa parole et de son action, aujourd’hui comme demain, ne fonctionne qu’avec des dons. - .row_50{:style => "padding-left:10px;"} - %h3 - Pour vous - %p - L’assurance-vie pour 3P, c’est aussi pour vous l’assurance que vos animaux seront pris en charge par l’association dans le plus strict respect de vos souhaits. - .clear - -=raw "
" -#assurance - %h2 - L’assurance-vie, comment faire ? - - %p - Il vous suffit de contacter votre conseiller bancaire ou votre assureur pour lui indiquer votre - volonté de désigner 3P comme bénéficiaire de votre assurance-vie, ou aux côtés - d’autres éventuels bénéficiaires : - - %p - ="-" - soit dans un nouveau contrat d’assurance-vie - %br - - ="-" - soit dans un contrat auquel vous avez déjà souscrit, pour lequel vous demanderez une modification au profit de 3P. - %p - Le capital transmis est exonéré d’imposition. Vous pourrez revenir sur vos choix à tout moment. - %p - Michèle, responsable des Relations, est à votre écoute au - 02 97 13 11 10 pour apporter des réponses à toutes les - questions que vous vous posez concernant l’assurance-vie. - %br - %br - %p - =link_to raw("Je souhaite recevoir une brochure d'information ou être recontacté par Michèle "+ic(:"arrow-right")), "https://transformeurs.quartz.xyz/"+donation_contact_path(), :target => "_blank", :style => "display:inline-block;padding:5px 10px;border: 1px solid orange" - - %br - %br - - - - \ No newline at end of file diff --git a/app/views/public/home/assurance2.html.haml b/app/views/public/home/assurance2.html.haml deleted file mode 100644 index d09ccc6..0000000 --- a/app/views/public/home/assurance2.html.haml +++ /dev/null @@ -1,317 +0,0 @@ -=raw "
" - --@social_url = "https://transformeurs.quartz.xyz/fr/legs-assurance-vie.html" --@twitter_title = "Aidez-nous à pérenniser nos #combats pour les #animaux" --@title = "Aidez-nous à pérenniser nos combats pour les animaux" --@description = "Continuons à écrire ensemble le Grand Livre des animaux." --@facebook_img= "/liberalites/reseaux.jpg" - - - - -#liberalites - #liberalites-top - .main_container - %h1 Défendons les animaux ! - %h2 Léguez aux animaux une vie protégée de toute souffrance - - #liberalites-intro - .main_container - %h2 Vous garantissez notre liberté et notre indépendance - %p - Afin de conserver toujours et partout notre liberté de parole et d'action, nous ne recevons aucune subvention de quelque lobby que ce soit, gouvernement ou parti politique. - %p - %strong Nous dépendons donc entièrement de la générosité du public, de votre générosité. - %p - Nos comptes annuels sont validés par un Commissaire aux Comptes, approuvés en Assemblée Générale et tenus à la disposition de nos donateurs. - - .main_container - .row#liberalite-top.adjust - .columns.span_8 - .inner#block1.element - =image_tag "/liberalites/tampon.png", :class => "tampon" - %h2 - Nos combats avec vous - .clear - %p - Nous informons, sensibilisons, enquêtons, dénonçons, libérons, sauvons... - - %ul - %li - %strong Nous menons des enquêtes - sur le terrain partout où les animaux souffrent à cause des humains. - %li - %strong Nous informons et sensibilisons - le grand public pour qu'il relaie notre combat et défende à son tour les animaux - %li - %strong - Nous interpellons les politiques - au niveau français et européen et faisons changer les lois. - %li - %strong - Nous conduisons des opérations - de sauvetage d'animaux martyrisés. - %li - %strong - Nous intentons des poursuites judiciaires - à l'encontre des auteurs d'actes violents envers les animaux et les faisons incarcérer. - %li - %strong - Nous venons au secours - des animaux en détresse lors de catastrophes naturelles. - %li - %strong - Nous soutenons les recherches - sur les méthodes qui peuvent se substituer à l'expérimentation animale. - %li - %strong - Nous enquêtons et réalisons des rapports - avec les meilleurs experts mondiaux. - - - - - .columns.span_4 - .inner#block2.element - %h2 Par les legs, donations et assurances-vie - %h3 Vous pérennisez nos combats - .title - Legs - %p - Le legs consiste à transmettre tout ou partie de votre patrimoine à - %strong - 3P. - Vous êtes libre de modifier à tout moment vos volontés qui ne prennent effet qu'à votre décès. - .title - Donation - %p - Réalisée avec votre notaire, la donation consiste à donner à - %strong - 3P, - de votre vivant, une part de votre patrimoine : bien immobilier, terrain, action boursière, œuvre d'art, meuble, voiture... - .title - Asssurance-vie - %p - L'assurance-vie consiste à désigner - %strong 3P - comme un bénéficiaire d'un contrat d'assurance-vie que vous détenez actuellement ou que vous désirez souscire. - - .clear - - #liberalitesform - .row - .columns.span_7#block3 - %h2 Je souhaite en savoir plus - .intro - sur les legs, donations, et assurances-vie en faveur de 3P. - %p - %strong - Vous pouvez me contacter pour répondre à mes questions : - #contact_form.form - - @contact = @contact || Contact.new(:raison_id => 4) - =render :partial => "public/contacts/inline_form" - - .columns.span_5#block4 - #right_square{:style => "margin-top:50px;"} - =image_tag "/liberalites/muriel.jpg", :class => "muriel" - .desc - %p - %br - N'hésitez pas à me contacter - %p.coordonnees - MURIEL ARNAL - %br - %span=ic :phone - 02 97 13 11 10 - %br - .email - %span=ic :envelope - =link_to "muriel@transformeurs.quartz.xyz", "mailto:muriel@transformeurs.quartz.xyz" - - .clear - - - - .row#block5 - .columns.span_4{:style => "float:left !important;width:33.333333% !important;"} - =image_tag "/liberalites/image-01.jpg" - .columns.span_4{:style => "float:left !important;width:33.333333% !important;"} - =image_tag "/liberalites/image-02.jpg" - .columns.span_4{:style => "float:left !important;width:33.333333% !important;"} - =image_tag "/liberalites/image-03.jpg" - - .clear - - - - - #liberalites-citation - .row - =image_tag "/liberalites/image-04.jpg" - .desc - - -color = "orange" - - - - - - %h2 - - .guillemet.top_corner{:style => "position:relative;bottom:-10px;margin-right:20px;margin-left:30px"} - - - - - =raw '' - =raw '' - - - - - Je sais que mon geste va changer leur vie. - %div{:style => "margin:1em 0;"} - Toute ma vie, j'ai eu des animaux qui m'ont apporté un bonheur infini et tous gardent une place immense dans mon coeur. - %br - Mais, pour moi, chaque animal familier ou sauvage compte autant que mon Théo adoré, qui m'a quittée il y a maintenant deux ans. - %br - Tous ont la même sensibilité, les mêmes joies, les mêmes peines, les mêmes droits. - %br - Aussi, pour mettre fin aux souffrances que les humains leur infligent si souvent, par ignorance ou par cupidité, j'ai décidé de donner à tous les animaux un peu de mon amour en héritage. - %br - J'ai fait un legs en faveur de 3P dont j'estime beaucoup les valeurs, les actions et les résultats. - .guillemet.bottom_corner{:style => "position:relative;bottom:-10px;margin-left:10px"} - - - - - - =raw '' - =raw '' - - - - - - - %div{:style => "text-align:center;margin:1em 0;clear:both;"} - %strong - Vous aussi, soyez-là à jamais pour eux. - - - .clear - - - #liberalites-bottom.row.adjust - .columns.span_4 - .inner#block6.element - %h2 Continuons à écrire ensemble le Grand Livre des animaux - %div{:style => "margin:1em 0"} - .guillemet.top_corner{:style => "position:relative;bottom:-10px;margin-right:5px;margin-left:0px"} - - - - =raw '' - =raw '' - - - - - - - Ensemble, en faisant valoir leur droit de vivre libres et respectés, nous avons déjà écrit de belles pages du Grand Livre des animaux. - - %p - Mais notre combat doit continuer ! - - %p - Laboratoires, cirques, fermes à fourrure, élevages, abattoirs, animaleries, corridas, actes de cruauté, abandons dans la rue... - %br - Nous ne cesserons jamais de lutter contre les terribles souffrances que certains humains font subir aux animaux. - %p - Oui, ce combat est trop important pour cesser avec nos propres vies ! - - %p - Aussi, je vous remercie d'assurer sa pérennité par un legs, une donation ou une assurance-vie. - - %div{:style => "margin:1em 0"} - Pour eux, pour l'amour sans fin que vous leur portez, - - .guillemet.bottom_corner{:style => "position:relative;bottom:-5px;margin-left:0px;display:block; float:right"} - - - - =raw '' - =raw '' - - - - je vous dis merci du fond du coeur. - - - - .sign - %strong Muriel Arnal - %br - Présidente fondatrice de 3P - - - - .columns.span_8 - .inner#block7.element - .title - =image_tag "/liberalites/tampon.png", :class => "tampon" - %h2 - Grâce à vous, - %strong - Voici des exemples de nos victoires - - %ul - %li - Premières libérations légales - %strong - d'animaux cobayes - dans les laboratoires. - %li - Premières libérations légales - %strong - d'animaux exploités - dans des cirques. - %li - Arrestation et incarcération de - %strong trafiquants - d'animaux. - %li - Interdiction en Europe des cosmétiques ayant - %strong été testés sur des animaux. - %li - Renoncement de Georgio Armani à - %strong - l'utilisation de fourrure - véritable. - %li - %strong - Fin de l'exploitation des ours - pour la danse en Inde. - %li - %strong - Libération de six dauphins - détenus en captivité à Haïti. - - .row - .columns.span_3{:style => "float:left !important;width:25% !important;"} - =image_tag "/liberalites/image-05.jpg" - .columns.span_3{:style => "float:left !important;width:25% !important;"} - =image_tag "/liberalites/image-06.jpg" - .columns.span_3{:style => "float:left !important;width:25% !important;"} - =image_tag "/liberalites/image-07.jpg" - .columns.span_3{:style => "float:left !important;width:25% !important;"} - =image_tag "/liberalites/image-08.jpg" - - .clear - - - - .clear - -=raw "
" \ No newline at end of file diff --git a/app/views/public/home/cirques.html.haml b/app/views/public/home/cirques.html.haml deleted file mode 100644 index e69de29..0000000 diff --git a/app/views/public/home/dressage.html.haml b/app/views/public/home/dressage.html.haml deleted file mode 100644 index e69de29..0000000 diff --git a/app/views/public/home/fourrure.html.haml b/app/views/public/home/fourrure.html.haml deleted file mode 100644 index e4c0f38..0000000 --- a/app/views/public/home/fourrure.html.haml +++ /dev/null @@ -1,719 +0,0 @@ --@partenaire = true - -- @social_url = "https://visonslerespect.fr/#{@lang.slug}" --@one_voice_host = "https://transformeurs.quartz.xyz" --@menu_shadow=true --@lang = @lang || LangSite.first --if !@facebook_img or @facebook_img == "" - -if I18n.locale == :fr - -@facebook_img= "/fourrure/couv.jpg" - -else - -@facebook_img= "/fourrure/couv.jpg" -!!! --if I18n.locale == :fr - - @description = "Stress, stéréotypies, violence, ennui, pollution. 3P a mené l’enquête" - -@title = "Elevage de visons en France" --else - - @description = "Stress, stereotypes, violence, monotony, pollution. 3P has led the investigation" - -@title = "Mink farms in France" - -%html{:lang => "fr", "xml:lang" => "fr", :xmlns => "http://www.w3.org/1999/xhtml"} - %head - -@title = strip_tags(@title.to_s) - %title=@title.to_s+" - 3P" - - - - - - - - - - - - - - - - - - - - - %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 } - =raw '' - =raw '' - =raw '' - - - =raw '' - =raw '' - =raw '' - =raw '' - =raw '' - - - -if @facebook_img - =raw '' - =raw '' - - =raw '' - - - - - =raw '' - - - - - -@img_size = FastImage.size('https://transformeurs.quartz.xyz'+@facebook_img.to_s) - - -if @img_size and @img_size.size > 0 - =raw '' - =raw '' - - = javascript_include_tag "fourrure" - - = csrf_meta_tag - =render :partial => "public/shared/ga" - - = stylesheet_link_tag 'fourrure', :media => :all - - - - - - - %body{:class => "fourrure"} -
- - - -if flash[:error] or flash[:notice] or flash[:alert] - .flash - - =flash[:error] - =flash[:notice] - =flash[:alert] - - - - #top_menu - - .inner - - .langs - =link_to image_tag("/angora/fr.png"),"https://visonslerespect.fr/" -   - =link_to image_tag("/angora/en.png"),"https://visonslerespect.fr/en" - - .menu - -if I18n.locale == :fr - -links = [["Enquête","enquete"],["Action","actions"],["Sondage","sondage"]] - - -else - -links = [["Investigation","enquete"],["Action","actions"],["Opinion poll","sondage"]] - - - -links.each do |link| - - %a{:href => "#", :'data-link' => link[1].to_s, :onclick => "$('html,body').animate({scrollTop: ($('#"+link[1].to_s+"').offset().top -40)},'slow');return false;"} - =image_tag("/fourrure/icon-#{link[1]}.png") - =link[0] - - =link_to qit("fourrure-lien-don","Faire un don"), "https://transformeurs.quartz.xyz/faire-un-don", :target => "_blank", :class => "donate" - - =#link_to qit("fourrure-soutenez","Soutenez !"), "#ov", :target => "_blank", :onclick => "$('html,body').animate({scrollTop: ($('#ov').offset().top -40)},'slow');return false;", :class => "donate" - - -if I18n.locale == :fr - =link_to image_tag( "/logo_w.png", :id => "logo"), "https://transformeurs.quartz.xyz/fr" - -else - =link_to image_tag( "/logo_w.png", :id => "logo"), "https://transformeurs.quartz.xyz/en" - - #baseline - =qit "home3-top-baseline" do - Pour une éthique - %br - animale et planétaire - - #top_block - .inner{:style => "padding-top:90px"} - -slide_lang = I18n.locale.to_s - %ul#bxslider{:style => "margin:0;padding:0;"} - %li - =image_tag("/fourrure/slides/#{slide_lang}/1.jpg") - %li - =image_tag("/fourrure/slides/#{slide_lang}/2.jpg") - %li - =image_tag("/fourrure/slides/#{slide_lang}/3.jpg") - %li - =image_tag("/fourrure/slides/#{slide_lang}/4.jpg") - %li - =image_tag("/fourrure/slides/#{slide_lang}/5.jpg") - %li - =image_tag("/fourrure/slides/#{slide_lang}/6.jpg") - - :javascript - var slider; - slider = $('#bxslider').bxSlider({ - auto: true, - pause:1800, - speed:350, - easing: 'ease', - mode: 'fade', - useCSS: false, - startSlide:0, - infiniteLoop:true, - pager:false, - controls:false, - onSlideAfter: function (slide, oldIndex, newIndex) { - if (newIndex === 5) { // remember, it's zero based indices with bxslider... - slider.stopAuto(); - setTimeout(function () { - slider.goToSlide(0); - slider.startAuto(); - }, 5000); - } - } - - }); - - - - - - #main_block - .inner - - %a{:href => "#", :'data-link' => "actions", :onclick => "$('html,body').animate({scrollTop: ($('#actions').offset().top -40)},'slow');return false;"} - #header - %h1=qit "fourrure-titre-header", "Pour fermer les élevages, cliquez !" - - - - - - #enquete - %a{:anchor => "enquete"} - %h2 - =image_tag "/fourrure/icon-enquete.png" - =qit "fourrure-titre-enquete", "Enquête" - %h3 - =qit "fourrure-sous-titre-enquete", "3P a enquêté sur 6 élevages français de visons pour la fourrure" - .rea-gal - .enquete_panel.inner_gris - =qit "fourrure-enquete-panel1" do - %p - - %strong Les visons souffrent. - Ils s'ennuient jusqu'à devenir fous dans des cages sales et inconfortables, bien loin de l'eau, leur élément naturel. - - .col - =link_to image_tag("/fourrure/enquete-1.jpg"), "/fourrure/enquete-1.jpg", :title => "" - - .col - =link_to image_tag("/fourrure/enquete-2.jpg"), "/fourrure/enquete-2.jpg", :title => "" - .col - =link_to image_tag("/fourrure/enquete-3.jpg"), "/fourrure/enquete-3.jpg", :title => "" - .clear - - .enquete_panel.inner_gris - =qit "fourrure-enquete-panel2" do - %p - %strong Les élevages sont des prisons. - Les visons y sont entassés, cernés par leurs excréments. - - - .col - =link_to image_tag("/fourrure/enquete-7.jpg"), "/fourrure/enquete-7.jpg", :title => "" - .col - =link_to image_tag("/fourrure/enquete-4.jpg"), "/fourrure/enquete-4.jpg", :title => "" - .col - =link_to image_tag("/fourrure/enquete-5.jpg"), "/fourrure/enquete-5.jpg", :title => "" - - - .clear - - .enquete_panel.inner_gris{:style => "margin-bottom:0;"} - - =qit "fourrure-enquete-panel3" do - %p - %strong Des visons s’échappent. - Ils veulent vivre, mais souvent périssent. Et parfois sous les crocs d'un chien présent au sein de la ferme. - - .col - =link_to image_tag("/fourrure/enquete-8.jpg"), "/fourrure/enquete-8.jpg", :title => "" - .col - =link_to image_tag("/fourrure/enquete-9.jpg"), "/fourrure/enquete-9.jpg", :title => "" - .col - =link_to image_tag("/fourrure/enquete-6.jpg"), "/fourrure/enquete-6.jpg", :title => "" - - - .clear - - .share_with{:style => "float:right;margin-bottom:80px;margin-right:40px;"} - =ic :share - %span=qit "fourrure-partager", "partager :" - =link_to "https://www.facebook.com/sharer/sharer.php?u=#{@social_url}", :target => "_blank", :class => "link facebook" do - =i(:"facebook-official") - =link_to "https://twitter.com/intent/tweet?url=#{@social_url}&via=onevoiceanimal&text="+CGI::escape(@title.to_s), :target => "_blank", :class => "link twitter" do - =i(:"twitter-square") - .clear - - - - #images - - #video - .left - .left_inner - .video-responsive - -if I18n.locale == :fr - -clip = "194633876" - -else - -clip = "197899774" - - =raw'' - - - .share_with{:style => "float:right;margin-bottom:60px;"} - =ic :share - %span=qit "fourrure-partager", "partager :" - =link_to "https://www.facebook.com/sharer/sharer.php?u=#{@social_url}", :target => "_blank", :class => "link facebook" do - =i(:"facebook-official") - =link_to "https://twitter.com/intent/tweet?url=#{@social_url}&via=onevoiceanimal&text="+CGI::escape(@title.to_s), :target => "_blank", :class => "link twitter" do - =i(:"twitter-square") - .clear - .right - =image_tag "/fourrure/enquete-couv-#{I18n.locale.to_s}.png" - %h4 - =qit "fourrure-titre-notre-rapport-enquete" do - Notre rapport d'enquête - - %p{:style => "margin-bottom:15px;"} - =link_to qit("fourrure-telecharger","Télécharger"), "/fourrure/rapport-#{I18n.locale.to_s}.pdf", :class => "a_btn", :target => "_blank" - %p - =link_to qit("fourrure-lire-en-ligne","Lire en ligne"), "#",:onclick => "$('#yumpu_rapport').show();return false;", :class => "a_btn" - - - .clear - - - #yumpu_rapport{:style => "margin-top:0px;display:none;"} - %p{:style => "text-align:right;cursor:pointer;padding-right:20px;margin-bottom:10px;font-size:0.9em;", :onclick => "$(this).parent().hide()"} - =qit "fourrure-fermer", "X Fermer" - - - -if I18n.locale == :fr -
- -else -
- - #actions - %a{:anchor => "actions"} - %h2 - =image_tag("/fourrure/icon-actions.png") - =qit "fourrure-titre-action", "Action" - %h3=qit "fourrure-sous-titre-action", "Pour l’interdiction des élevages de visons en France" - - .action_panel.inner_gris{:style => "margin-bottom:0;background:#F3921E;color:white;"} - .col - =qit "fourrure-action-intro" do - %p - Mobilisez-vous aux côtés de 3P pour interdire l’élevage des visons et de tous les animaux élevés pour leur fourrure. - Ecrivez à Stéphane Le Foll, ministre de l’Agriculture - .col.col_right{:style => "padding-top:17px;"} - %a{:href => "#",:onclick => '$("#protest_instruction").show();resize();return false;', :class => "a_btn"} - =qit "fourrure-action-protester", "Protester en un clic" - - - - .clear - .share_with{:style => "float:right;margin-bottom:80px;margin-right:40px;"} - =ic :share - %span=qit "fourrure-partager", "partager :" - =link_to "https://www.facebook.com/sharer/sharer.php?u=#{@social_url}", :target => "_blank", :class => "link facebook" do - =i(:"facebook-official") - =link_to "https://twitter.com/intent/tweet?url=#{@social_url}&via=onevoiceanimal&text="+CGI::escape(@title.to_s), :target => "_blank", :class => "link twitter" do - =i(:"twitter-square") - .clear - - - #sondage - - %h2 - =image_tag "/fourrure/icon-sondage.png" - =qit "fourrure-titre-sondage", "Sondage" - - %h3=qit "fourrure-sous-titre-sondage", "Les Français ne veulent pas de fourrure" - - #sondage_inner.inner_gris{:style => "margin-bottom:0;"} - .head - =qit "fourrure-sondage-head" do - %p - En août 2016, IPSOS a réalisé un sondage pour 3P sur les Français - et l’élevage français d’animaux pour la fourrure. - - .row - .col.left - =image_tag "/fourrure/sondage-1.png" - .col - .chiffre - 58% - - =qit "fourrure-sondage-1" do - - %p - Pour 58 % des Français, - - %strong la fourrure est avant tout associée à la cruauté - .clear - - .row - .col.left - =image_tag "/fourrure/sondage-2.png" - .col - .chiffre - 40% - - =qit "fourrure-sondage-2" do - %p - 4 Français sur 10 - %strong renonceront à l’achat d’un vêtement ou accessoire - s’il recèle de la fourrure animale - .clear - .row - .col.left - =image_tag "/fourrure/sondage-3.png" - .col - .chiffre - 51% - =qit "fourrure-sondage-3" do - %p - 1 Français sur 2 souhaite voir - %strong fermer les élevages d’animaux à fourrure - .clear - .row - .col.left - =image_tag "/fourrure/sondage-4.png" - .col - .chiffre - 91% - =qit "fourrure-sondage-4" do - %p - 91 % des Français sont favorables à la création d’un label - %strong - « sans fourrure animale ». - .clear - - - - .share_with{:style => "float:right;margin-bottom:80px;margin-right:40px;"} - =ic :share - %span=qit "fourrure-partager", "partager :" - =link_to "https://www.facebook.com/sharer/sharer.php?u=#{@social_url}", :target => "_blank", :class => "link facebook" do - =i(:"facebook-official") - =link_to "https://twitter.com/intent/tweet?url=#{@social_url}&via=onevoiceanimal&text="+CGI::escape(@title.to_s), :target => "_blank", :class => "link twitter" do - =i(:"twitter-square") - .clear - - - #labels - %a{:anchor => "labels"} - %h2 - =image_tag("/fourrure/icon-labels.png") - =qit "fourrure-titre-label", "Nos labels" - %h3=qit "fourrure-sous-titre-label", "Découvrez les labels fourrure développés par 3P en France" - - .label_panel - -if I18n.locale == :fr - -link = "https://transformeurs.quartz.xyz/fr/nos-combats/mode-de-vie-sans-cruaute/fourrure/fur-free-retailer-le-programme-ethique.html" - -else - -link = "https://transformeurs.quartz.xyz/fr/nos-combats/mode-de-vie-sans-cruaute/fourrure/fur-free-retailer-le-programme-ethique.html" - - =link_to link, :target => "_blank" do - .col - =image_tag("/fourrure/fur-free.png") - =qit "fourrure-col-label1" do - %p - %strong Le label Fur Free Retailer - permet d’identifier les enseignes - %br - qui disent non à la fourrure. - - - -if I18n.locale == :fr - -link = "http://www.animalfree.info/fr" - -else - -link = "http://www.animalfree.info/en" - - =link_to link, :target => "_blank" do - .col - =image_tag("/fourrure/animal-free.png") - =qit "fourrure-col-label2" do - %p - %strong Le label Animal Free - permet d’identifier les produits éthiques, - %br - dénués de toute matière animale. - - - .clear - %br - %br - %br - %br - - - - .photo_credits{:style => "margin:0"} - - - - -if @menu_item and @menu_item.image_file and @menu_item.title_image and @menu_item.image_file.photograph - Photo du bandeau : - - =@menu_item.image_file.photograph - ="-" if @page_images_credits.size > 0 - - -if @article and @article.image_file and @article.image_file.photograph - =qit "crédits photo, Photo du bandeau", "Photo du bandeau :" - - =@article.image_file.photograph - ="-" if @page_images_credits.size > 0 - - -if @credit_bandeau - =qit "crédits photo, Photo du bandeau" - - =@credit_bandeau - ="-" if @page_images_credits.size > 0 - - -if @page_images_credits.size > 0 - =qit "crédits photo, Images de la page", "Images de la page :" - =@page_images_credits.uniq.join(", ") - - =raw"
" - -if !@menu_item or @menu_item.id != 1 - =raw"" - - - #new_bottom - - .row - .main_container - .newsletter_bottom - - %h4 Newsletter - %p - =qit "newsletter-intro-bas","Je souhaite être tenu(e) au courant des campagnes de 3P et soutenir son combat. Je déclare accepter de recevoir des informations à cet effet. Je m’inscris à la newsletter." - ="-" - -if I18n.locale == :fr - =link_to "Voir nos dernières newsletters", public_newsletters_path - #newsletter_form - -@registrant = @registrant || Registrant.new - =form_for [:public, @registrant], :remote => false do |f| - .email=f.text_field :email, :placeholder => "email" - =f.submit qit("newsletter-submit","M'inscrire"), :class => "btn" - - - .socials_bottom - %h4=qit "footer-reseaux-sociaux", "Réseaux sociaux" - %br - =link_to "https://fr-fr.facebook.com/OneVoice-officiel-177757985646352/", :target => "_blank" do - =ic(:facebook) - Facebook - - ="-" - =link_to "https://twitter.com/onevoiceanimal", :target => "_blank" do - =ic(:twitter) - Twitter - ="-" - =link_to "https://vimeo.com/channels/onevoiceanimal", :target => "_blank" do - =ic(:vimeo) - Vimeo - %br - %br -
- - - %br - Follow @onevoiceanimal - - .clear - - .row#menu_bottom_row - .main_container - .columns.span_2 - -menu_item = MenuItem.find(7) - %h4=qit "footer-petitions", "Pétitions" - - %ul - -i = 0 - -Petition.joins(:petition_langs).where(:petition_langs => {:lang_site_id => @lang.id, :frontpage => true, :enabled => true}).order("position ASC").all.each do |petition| - -i+= 1 - -petition_lang = petition.lang(I18n.locale.to_s) - -if petition_lang.short_title? - -title =petition_lang.short_title - -else - -title=petition_lang.title - %li=link_to title, "https://transformeurs.quartz.xyz"+petition_path(:slug => petition_lang.slug, :lang => I18n.locale.to_s) - - - .columns.span_2 - -menu_item = MenuItem.find(7) - %h4=menu_item_link(menu_item) - - %ul - -menu_item.children.order(:position).each do |menu_item| - %li=menu_item_link(menu_item) - .columns.span_2 - -menu_item = MenuItem.find(9) - %h4=menu_item_link(menu_item) - - %ul - -menu_item.children.order(:position).each do |menu_item| - %li=menu_item_link(menu_item) - - - - .columns.span_2 - -menu_item = MenuItem.find(6) - %h4=menu_item_link(menu_item) - - %ul - -menu_item.children.order(:position).each do |menu_item| - %li=menu_item_link(menu_item) - - - .columns.span_2 - %h4 - =link_to qit("bas Je fais un don","Je fais un don"), new_public_donator_transaction_path - %ul - %li=link_to qit("bas Don en ligne", "Don en ligne"), "https://transformeurs.quartz.xyz"+new_public_donator_transaction_path - %li=link_to qit("bas Adhérer", "Adhérer"), "https://transformeurs.quartz.xyz"+new_public_transaction_join_path - %li=link_to qit("bas Parrainer", "Parrainer"), "https://transformeurs.quartz.xyz"+public_sponsorship_animals_path - %li=link_to "S'abonner à Noé", "https://transformeurs.quartz.xyz"+new_public_transaction_abo_path if I18n.locale == :fr - %li=link_to qit("bas Assurance vie", "Assurance vie"), "https://transformeurs.quartz.xyz"+"/fr/assurance-vie.html" if I18n.locale == :fr - - .clear - - - - - - #contact_bottom_row - .main_container - .right - =ic(:phone) - - +33 (0)3 88 35 67 30 - ="-" - =ic(:"envelope-o") - - =link_to "info@transformeurs.quartz.xyz", "mailto:info@transformeurs.quartz.xyz" - - - = "Association" if @lang.id != 2 - 3P - ="-" - - - 1 A place des Orphelins - ="-" - 67000 Strasbourg - ="-" - FRANCE - ="-" - = menu_item_link_force(MenuItem.find(212)) if MenuItem.find_by_id(212) - - - .bottom_block - - - =yield :bottom_block - - - - .socials_links{:style => "text-align:right;"} - .top_link - =i(:"arrow-circle-o-up") - -if I18n.locale == :fr and false - =link_to "https://www.facebook.com/sharer/sharer.php?u=#{@social_url}", :target => "_blank", :class => "link facebook" do - =i(:"facebook") - =#text=CSS%20Social%20Media%20Sidebar& - =link_to "https://twitter.com/intent/tweet?url=#{@social_url}&via=onevoiceanimal&text="+CGI::escape(@title.to_s), :target => "_blank", :class => "link twitter" do - =i(:"twitter") - - .protest_right - - - =link_to "#", :target => "_blank", :class => "link twitter", :style => "background:#F3921E;width:75px;", :onclick => '$("#protest_instruction").show();resize();return false;' do - =image_tag "/fourrure/icon-actions2.png", :style => "height:1.8em;" - %br - - %span{:style => "font-size:12px"} - - - - - =qit "fourrure-right-protest","Protestez !" - - - - - -if params[:by_facebook] - :coffeescript - window.location.hash = '#petition'; - - - - - :coffeescript - resize_corps = () -> - test = $(".width_sidebar").width() - $(".width_sidebar #sidebar").outerWidth() - 1 - $(".width_sidebar #corps").css - "width" :test+"px" - resize_corps() - $(window).on "resize", -> - resize_corps() - - - - #protest_instruction{:style => ("display:none;" if !params[:form])} - .inner - .head - #protest_form - =render :partial => "public/fourrure_senders/form" - - - - - - %p Message - .message{:style => "height:400px;"} - =simple_format @mail_body - - .close{:style => "cursor:pointer;", :onclick => '$("#protest_instruction").hide();return false;'} - X - - :coffeescript - $("#new_bottom").find("a").attr("target", "_blank") - - if window.location.hash == "#actions" - - #$('html,body').animate({scrollTop: ($('#actions').offset().top - 40)},'slow') - $("#protest_instruction").show();resize(); - - return false; - :javascript - $.cookieBar(); \ No newline at end of file diff --git a/app/views/public/home/fourrure.old.html.haml b/app/views/public/home/fourrure.old.html.haml deleted file mode 100644 index 3ef2f58..0000000 --- a/app/views/public/home/fourrure.old.html.haml +++ /dev/null @@ -1,722 +0,0 @@ --@partenaire = true - -- @social_url = "https://visonslerespect.fr/#{@lang.slug}" --@one_voice_host = "https://transformeurs.quartz.xyz" --@menu_shadow=true --@lang = @lang || LangSite.first --if !@facebook_img or @facebook_img == "" - -if I18n.locale == :fr - -@facebook_img= "/fourrure/couv.jpg" - -else - -@facebook_img= "/fourrure/couv.jpg" -!!! --if I18n.locale == :fr - - @description = "Stress, stéréotypies, violence, ennui, pollution. 3P a mené l’enquête" - -@title = "Elevage de visons en France" --else - - @description = "Stress, stereotypes, violence, monotony, pollution. 3P has led the investigation" - -@title = "Mink farms in France" - -%html{:lang => "fr", "xml:lang" => "fr", :xmlns => "http://www.w3.org/1999/xhtml"} - %head - -@title = strip_tags(@title.to_s) - %title=@title.to_s+" - 3P" - - - - - - - - - - - - - - - - - - - - - %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 } - =raw '' - =raw '' - =raw '' - - - =raw '' - =raw '' - =raw '' - =raw '' - =raw '' - - - -if @facebook_img - =raw '' - =raw '' - - =raw '' - - - - - =raw '' - - - - - -@img_size = FastImage.size('https://transformeurs.quartz.xyz'+@facebook_img.to_s) - - -if @img_size and @img_size.size > 0 - =raw '' - =raw '' - - = javascript_include_tag "fourrure" - - = csrf_meta_tag - =render :partial => "public/shared/ga" - - = stylesheet_link_tag 'fourrure', :media => :all - - - - - - - %body{:class => "fourrure"} -
- - - -if flash[:error] or flash[:notice] or flash[:alert] - .flash - - =flash[:error] - =flash[:notice] - =flash[:alert] - - - - #top_menu - - .inner - - .langs - =link_to image_tag("/angora/fr.png"),"https://visonslerespect.fr/" -   - =link_to image_tag("/angora/en.png"),"https://visonslerespect.fr/en" - - .menu - -if I18n.locale == :fr - -links = [["Enquête","enquete"],["Action","actions"],["Sondage","sondage"]] - - -else - -links = [["Investigation","enquete"],["Action","actions"],["Opinion poll","sondage"]] - - - -links.each do |link| - - %a{:href => "#", :'data-link' => link[1].to_s, :onclick => "$('html,body').animate({scrollTop: ($('#"+link[1].to_s+"').offset().top -40)},'slow');return false;"} - =image_tag("/fourrure/icon-#{link[1]}.png") - =link[0] - - =link_to qit("fourrure-lien-don","Faire un don"), "https://transformeurs.quartz.xyz/faire-un-don", :target => "_blank", :class => "donate" - - =#link_to qit("fourrure-soutenez","Soutenez !"), "#ov", :target => "_blank", :onclick => "$('html,body').animate({scrollTop: ($('#ov').offset().top -40)},'slow');return false;", :class => "donate" - - -if I18n.locale == :fr - =link_to image_tag( "/logo_w.png", :id => "logo"), "https://transformeurs.quartz.xyz/fr" - -else - =link_to image_tag( "/logo_w.png", :id => "logo"), "https://transformeurs.quartz.xyz/en" - - #baseline - =qit "home3-top-baseline" do - Pour une éthique - %br - animale et planétaire - - #top_block - .inner{:style => "padding-top:90px"} - -slide_lang = I18n.locale.to_s - %ul#bxslider{:style => "margin:0;padding:0;"} - %li - =image_tag("/fourrure/slides/#{slide_lang}/1.jpg") - %li - =image_tag("/fourrure/slides/#{slide_lang}/2.jpg") - %li - =image_tag("/fourrure/slides/#{slide_lang}/3.jpg") - %li - =image_tag("/fourrure/slides/#{slide_lang}/4.jpg") - %li - =image_tag("/fourrure/slides/#{slide_lang}/5.jpg") - %li - =image_tag("/fourrure/slides/#{slide_lang}/6.jpg") - - :javascript - var slider; - slider = $('#bxslider').bxSlider({ - auto: true, - pause:1800, - speed:350, - easing: 'ease', - mode: 'fade', - useCSS: false, - startSlide:0, - infiniteLoop:true, - pager:false, - controls:false, - onSlideAfter: function (slide, oldIndex, newIndex) { - if (newIndex === 5) { // remember, it's zero based indices with bxslider... - slider.stopAuto(); - setTimeout(function () { - slider.goToSlide(0); - slider.startAuto(); - }, 5000); - } - } - - }); - - - - - - #main_block - .inner - - %a{:href => "#", :'data-link' => "actions", :onclick => "$('html,body').animate({scrollTop: ($('#actions').offset().top -40)},'slow');return false;"} - #header - %h1=qit "fourrure-titre-header", "Pour fermer les élevages, cliquez !" - - - - - - #enquete - %a{:anchor => "enquete"} - %h2 - =image_tag "/fourrure/icon-enquete.png" - =qit "fourrure-titre-enquete", "Enquête" - %h3 - =qit "fourrure-sous-titre-enquete", "3P a enquêté sur 6 élevages français de visons pour la fourrure" - .rea-gal - .enquete_panel.inner_gris - =qit "fourrure-enquete-panel1" do - %p - - %strong Les visons souffrent. - Ils s'ennuient jusqu'à devenir fous dans des cages sales et inconfortables, bien loin de l'eau, leur élément naturel. - - .col - =link_to image_tag("/fourrure/enquete-1.jpg"), "/fourrure/enquete-1.jpg", :title => "" - - .col - =link_to image_tag("/fourrure/enquete-2.jpg"), "/fourrure/enquete-2.jpg", :title => "" - .col - =link_to image_tag("/fourrure/enquete-3.jpg"), "/fourrure/enquete-3.jpg", :title => "" - .clear - - .enquete_panel.inner_gris - =qit "fourrure-enquete-panel2" do - %p - %strong Les élevages sont des prisons. - Les visons y sont entassés, cernés par leurs excréments. - - - .col - =link_to image_tag("/fourrure/enquete-7.jpg"), "/fourrure/enquete-7.jpg", :title => "" - .col - =link_to image_tag("/fourrure/enquete-4.jpg"), "/fourrure/enquete-4.jpg", :title => "" - .col - =link_to image_tag("/fourrure/enquete-5.jpg"), "/fourrure/enquete-5.jpg", :title => "" - - - .clear - - .enquete_panel.inner_gris{:style => "margin-bottom:0;"} - - =qit "fourrure-enquete-panel3" do - %p - %strong Des visons s’échappent. - Ils veulent vivre, mais souvent périssent. Et parfois sous les crocs d'un chien présent au sein de la ferme. - - .col - =link_to image_tag("/fourrure/enquete-8.jpg"), "/fourrure/enquete-8.jpg", :title => "" - .col - =link_to image_tag("/fourrure/enquete-9.jpg"), "/fourrure/enquete-9.jpg", :title => "" - .col - =link_to image_tag("/fourrure/enquete-6.jpg"), "/fourrure/enquete-6.jpg", :title => "" - - - .clear - - .share_with{:style => "float:right;margin-bottom:80px;margin-right:40px;"} - =ic :share - %span=qit "fourrure-partager", "partager :" - =link_to "https://www.facebook.com/sharer/sharer.php?u=#{@social_url}", :target => "_blank", :class => "link facebook" do - =i(:"facebook-official") - =link_to "https://twitter.com/intent/tweet?url=#{@social_url}&via=onevoiceanimal&text="+CGI::escape(@title.to_s), :target => "_blank", :class => "link twitter" do - =i(:"twitter-square") - .clear - - - - #images - - #video - .left - .left_inner - .video-responsive - -if I18n.locale == :fr - -clip = "194633876" - -else - -clip = "197899774" - - =raw'' - - - .share_with{:style => "float:right;margin-bottom:60px;"} - =ic :share - %span=qit "fourrure-partager", "partager :" - =link_to "https://www.facebook.com/sharer/sharer.php?u=#{@social_url}", :target => "_blank", :class => "link facebook" do - =i(:"facebook-official") - =link_to "https://twitter.com/intent/tweet?url=#{@social_url}&via=onevoiceanimal&text="+CGI::escape(@title.to_s), :target => "_blank", :class => "link twitter" do - =i(:"twitter-square") - .clear - .right - =image_tag "/fourrure/enquete-couv-#{I18n.locale.to_s}.png" - %h4 - =qit "fourrure-titre-notre-rapport-enquete" do - Notre rapport d'enquête - - %p{:style => "margin-bottom:15px;"} - =link_to qit("fourrure-telecharger","Télécharger"), "/fourrure/rapport-#{I18n.locale.to_s}.pdf", :class => "a_btn", :target => "_blank" - %p - =link_to qit("fourrure-lire-en-ligne","Lire en ligne"), "#",:onclick => "$('#yumpu_rapport').show();return false;", :class => "a_btn" - - - .clear - - - #yumpu_rapport{:style => "margin-top:0px;display:none;"} - %p{:style => "text-align:right;cursor:pointer;padding-right:20px;margin-bottom:10px;font-size:0.9em;", :onclick => "$(this).parent().hide()"} - =qit "fourrure-fermer", "X Fermer" - - - -if I18n.locale == :fr -
- -else -
- - #actions - %a{:anchor => "actions"} - %h2 - =image_tag("/fourrure/icon-actions.png") - =qit "fourrure-titre-action", "Action" - %h3=qit "fourrure-sous-titre-action", "Pour l’interdiction des élevages de visons en France" - - .action_panel.inner_gris{:style => "margin-bottom:0;background:#F3921E;color:white;"} - .col - =qit "fourrure-action-intro" do - %p - Mobilisez-vous aux côtés de 3P pour interdire l’élevage des visons et de tous les animaux élevés pour leur fourrure. - Ecrivez à Stéphane Le Foll, ministre de l’Agriculture - .col.col_right{:style => "padding-top:17px;"} - %a{:href => "mailto:"+@mail_email+"?cc=&bcc=info%40transformeurs.quartz.xyz&subject="+URI.encode(@mail_object)+"&body="+URI.encode(@mail_body), :class => "a_btn"} - =qit "fourrure-action-protester", "Protester en un clic" - - %br - =link_to qit("fourrure-protest-ca-ne-marche-pas","Ca ne marche pas ? Cliquez ici"), "#", :class => "b_btn", :onclick => '$("#protest_instruction").show();resize();return false;', :style => "font-size:16px;margin-top:5px;color:white" - - .clear - .share_with{:style => "float:right;margin-bottom:80px;margin-right:40px;"} - =ic :share - %span=qit "fourrure-partager", "partager :" - =link_to "https://www.facebook.com/sharer/sharer.php?u=#{@social_url}", :target => "_blank", :class => "link facebook" do - =i(:"facebook-official") - =link_to "https://twitter.com/intent/tweet?url=#{@social_url}&via=onevoiceanimal&text="+CGI::escape(@title.to_s), :target => "_blank", :class => "link twitter" do - =i(:"twitter-square") - .clear - - - #sondage - - %h2 - =image_tag "/fourrure/icon-sondage.png" - =qit "fourrure-titre-sondage", "Sondage" - - %h3=qit "fourrure-sous-titre-sondage", "Les Français ne veulent pas de fourrure" - - #sondage_inner.inner_gris{:style => "margin-bottom:0;"} - .head - =qit "fourrure-sondage-head" do - %p - En août 2016, IPSOS a réalisé un sondage pour 3P sur les Français - et l’élevage français d’animaux pour la fourrure. - - .row - .col.left - =image_tag "/fourrure/sondage-1.png" - .col - .chiffre - 58% - - =qit "fourrure-sondage-1" do - - %p - Pour 58 % des Français, - - %strong la fourrure est avant tout associée à la cruauté - .clear - - .row - .col.left - =image_tag "/fourrure/sondage-2.png" - .col - .chiffre - 40% - - =qit "fourrure-sondage-2" do - %p - 4 Français sur 10 - %strong renonceront à l’achat d’un vêtement ou accessoire - s’il recèle de la fourrure animale - .clear - .row - .col.left - =image_tag "/fourrure/sondage-3.png" - .col - .chiffre - 51% - =qit "fourrure-sondage-3" do - %p - 1 Français sur 2 souhaite voir - %strong fermer les élevages d’animaux à fourrure - .clear - .row - .col.left - =image_tag "/fourrure/sondage-4.png" - .col - .chiffre - 91% - =qit "fourrure-sondage-4" do - %p - 91 % des Français sont favorables à la création d’un label - %strong - « sans fourrure animale ». - .clear - - - - .share_with{:style => "float:right;margin-bottom:80px;margin-right:40px;"} - =ic :share - %span=qit "fourrure-partager", "partager :" - =link_to "https://www.facebook.com/sharer/sharer.php?u=#{@social_url}", :target => "_blank", :class => "link facebook" do - =i(:"facebook-official") - =link_to "https://twitter.com/intent/tweet?url=#{@social_url}&via=onevoiceanimal&text="+CGI::escape(@title.to_s), :target => "_blank", :class => "link twitter" do - =i(:"twitter-square") - .clear - - - #labels - %a{:anchor => "labels"} - %h2 - =image_tag("/fourrure/icon-labels.png") - =qit "fourrure-titre-label", "Nos labels" - %h3=qit "fourrure-sous-titre-label", "Découvrez les labels fourrure développés par 3P en France" - - .label_panel - -if I18n.locale == :fr - -link = "https://transformeurs.quartz.xyz/fr/nos-combats/mode-de-vie-sans-cruaute/fourrure/fur-free-retailer-le-programme-ethique.html" - -else - -link = "https://transformeurs.quartz.xyz/fr/nos-combats/mode-de-vie-sans-cruaute/fourrure/fur-free-retailer-le-programme-ethique.html" - - =link_to link, :target => "_blank" do - .col - =image_tag("/fourrure/fur-free.png") - =qit "fourrure-col-label1" do - %p - %strong Le label Fur Free Retailer - permet d’identifier les enseignes - %br - qui disent non à la fourrure. - - - -if I18n.locale == :fr - -link = "http://www.animalfree.info/fr" - -else - -link = "http://www.animalfree.info/en" - - =link_to link, :target => "_blank" do - .col - =image_tag("/fourrure/animal-free.png") - =qit "fourrure-col-label2" do - %p - %strong Le label Animal Free - permet d’identifier les produits éthiques, - %br - dénués de toute matière animale. - - - .clear - %br - %br - %br - %br - - - - .photo_credits{:style => "margin:0"} - - - - -if @menu_item and @menu_item.image_file and @menu_item.title_image and @menu_item.image_file.photograph - Photo du bandeau : - - =@menu_item.image_file.photograph - ="-" if @page_images_credits.size > 0 - - -if @article and @article.image_file and @article.image_file.photograph - =qit "crédits photo, Photo du bandeau", "Photo du bandeau :" - - =@article.image_file.photograph - ="-" if @page_images_credits.size > 0 - - -if @credit_bandeau - =qit "crédits photo, Photo du bandeau" - - =@credit_bandeau - ="-" if @page_images_credits.size > 0 - - -if @page_images_credits.size > 0 - =qit "crédits photo, Images de la page", "Images de la page :" - =@page_images_credits.uniq.join(", ") - - =raw"" - -if !@menu_item or @menu_item.id != 1 - =raw"" - - - #new_bottom - - .row - .main_container - .newsletter_bottom - - %h4 Newsletter - %p - =qit "newsletter-intro-bas","Je souhaite être tenu(e) au courant des campagnes de 3P et soutenir son combat. Je déclare accepter de recevoir des informations à cet effet. Je m’inscris à la newsletter." - ="-" - -if I18n.locale == :fr - =link_to "Voir nos dernières newsletters", public_newsletters_path - #newsletter_form - -@registrant = @registrant || Registrant.new - =form_for [:public, @registrant], :remote => false do |f| - .email=f.text_field :email, :placeholder => "email" - =f.submit qit("newsletter-submit","M'inscrire"), :class => "btn" - - - .socials_bottom - %h4=qit "footer-reseaux-sociaux", "Réseaux sociaux" - %br - =link_to "https://fr-fr.facebook.com/OneVoice-officiel-177757985646352/", :target => "_blank" do - =ic(:facebook) - Facebook - - ="-" - =link_to "https://twitter.com/onevoiceanimal", :target => "_blank" do - =ic(:twitter) - Twitter - ="-" - =link_to "https://vimeo.com/channels/onevoiceanimal", :target => "_blank" do - =ic(:vimeo) - Vimeo - %br - %br -
- - - %br - Follow @onevoiceanimal - - .clear - - .row#menu_bottom_row - .main_container - .columns.span_2 - -menu_item = MenuItem.find(7) - %h4=qit "footer-petitions", "Pétitions" - - %ul - -i = 0 - -Petition.joins(:petition_langs).where(:petition_langs => {:lang_site_id => @lang.id, :frontpage => true, :enabled => true}).order("position ASC").all.each do |petition| - -i+= 1 - -petition_lang = petition.lang(I18n.locale.to_s) - -if petition_lang.short_title? - -title =petition_lang.short_title - -else - -title=petition_lang.title - %li=link_to title, "https://transformeurs.quartz.xyz"+petition_path(:slug => petition_lang.slug, :lang => I18n.locale.to_s) - - - .columns.span_2 - -menu_item = MenuItem.find(7) - %h4=menu_item_link(menu_item) - - %ul - -menu_item.children.order(:position).each do |menu_item| - %li=menu_item_link(menu_item) - .columns.span_2 - -menu_item = MenuItem.find(9) - %h4=menu_item_link(menu_item) - - %ul - -menu_item.children.order(:position).each do |menu_item| - %li=menu_item_link(menu_item) - - - - .columns.span_2 - -menu_item = MenuItem.find(6) - %h4=menu_item_link(menu_item) - - %ul - -menu_item.children.order(:position).each do |menu_item| - %li=menu_item_link(menu_item) - - - .columns.span_2 - %h4 - =link_to qit("bas Je fais un don","Je fais un don"), new_public_donator_transaction_path - %ul - %li=link_to qit("bas Don en ligne", "Don en ligne"), "https://transformeurs.quartz.xyz"+new_public_donator_transaction_path - %li=link_to qit("bas Adhérer", "Adhérer"), "https://transformeurs.quartz.xyz"+new_public_transaction_join_path - %li=link_to qit("bas Parrainer", "Parrainer"), "https://transformeurs.quartz.xyz"+public_sponsorship_animals_path - %li=link_to "S'abonner à Noé", "https://transformeurs.quartz.xyz"+new_public_transaction_abo_path if I18n.locale == :fr - %li=link_to qit("bas Assurance vie", "Assurance vie"), "https://transformeurs.quartz.xyz"+"/fr/assurance-vie.html" if I18n.locale == :fr - - .clear - - - - - - #contact_bottom_row - .main_container - .right - =ic(:phone) - - +33 (0)3 88 35 67 30 - ="-" - =ic(:"envelope-o") - - =link_to "info@transformeurs.quartz.xyz", "mailto:info@transformeurs.quartz.xyz" - - - = "Association" if @lang.id != 2 - 3P - ="-" - - - 1 A place des Orphelins - ="-" - 67000 Strasbourg - ="-" - FRANCE - ="-" - = menu_item_link_force(MenuItem.find(212)) if MenuItem.find_by_id(212) - - - .bottom_block - - - =yield :bottom_block - - - - .socials_links{:style => "text-align:right;"} - .top_link - =i(:"arrow-circle-o-up") - -if I18n.locale == :fr and false - =link_to "https://www.facebook.com/sharer/sharer.php?u=#{@social_url}", :target => "_blank", :class => "link facebook" do - =i(:"facebook") - =#text=CSS%20Social%20Media%20Sidebar& - =link_to "https://twitter.com/intent/tweet?url=#{@social_url}&via=onevoiceanimal&text="+CGI::escape(@title.to_s), :target => "_blank", :class => "link twitter" do - =i(:"twitter") - - .protest_right - - #protester_panel - - %a{:href => "mailto:"+@mail_email+"?cc=&bcc=info%40transformeurs.quartz.xyz&subject="+URI.encode(@mail_object)+"&body="+URI.encode(@mail_body), :class => "a_btn"} - =qit "fourrure-action-protester", "Protester en un clic !" - %br - =link_to qit("fourrure-protest-ca-ne-marche-pas","Ca ne marche pas ? Cliquez ici"), "#",:onclick => '$("#protest_instruction").show();resize();return false;', :class => "b_btn" - - =link_to "#", :target => "_blank", :class => "link twitter", :style => "background:#F3921E;width:75px;", :onclick => "return false;" do - =image_tag "/fourrure/icon-actions2.png", :style => "height:1.8em;" - %br - - %span{:style => "font-size:12px"} - - - - - =qit "fourrure-right-protest","Protestez !" - - - - - -if params[:by_facebook] - :coffeescript - window.location.hash = '#petition'; - - - - - :coffeescript - resize_corps = () -> - test = $(".width_sidebar").width() - $(".width_sidebar #sidebar").outerWidth() - 1 - $(".width_sidebar #corps").css - "width" :test+"px" - resize_corps() - $(window).on "resize", -> - resize_corps() - - - - #protest_instruction{:style => "display:none;"} - .inner - .head - #protest_form - =render :partial => "public/fourrure_senders/form" - - - =qit "protest-instructions-top" do - Ouvrez votre boîte e-mail et créez un nouveau message. Vous pouvez copier/coller l'adresse mail ci-dessous ainsi que le texte du message. Envoyez et c'est fait ! - - %p=qit "protest-instruction-dest", "Destinataire" - %textarea{:style => "height:40px;"} - =@mail_email - - %p Message - %textarea.message{:style => "height:400px;"} - =@mail_body - - .close{:style => "cursor:pointer;", :onclick => '$("#protest_instruction").hide();return false;'} - X - - :coffeescript - $("#new_bottom").find("a").attr("target", "_blank") - \ No newline at end of file diff --git a/app/views/public/home/home.html.haml b/app/views/public/home/home.html.haml deleted file mode 100644 index e69de29..0000000 diff --git a/app/views/public/home/home2.html.haml b/app/views/public/home/home2.html.haml deleted file mode 100644 index e69de29..0000000 diff --git a/app/views/public/home/plan.html.haml b/app/views/public/home/plan.html.haml deleted file mode 100644 index 783ebd6..0000000 --- a/app/views/public/home/plan.html.haml +++ /dev/null @@ -1,74 +0,0 @@ -:scss - h2,h3,h4{ - font-family:"lato"; - } - h3{ - border-bottom:1px solid rgba(100,100,100, 0.2); - padding-bottom:5px; - } -%h2 Plan du site - -%h3 Pages -%ul - -MenuItem.where(:parent_id => nil).all.each do |mi| - =render :partial => "mi", :locals => {:mi => mi} - - -%h3 - Dons -%ul - %li=link_to qit("bas Don en ligne", "Don en ligne"), new_public_donator_transaction_path - %li=link_to qit("bas Adhérer", "Adhérer"), new_public_transaction_join_path - %li=link_to qit("bas Parrainer", "Parrainer"), public_sponsorship_animals_path - %li=link_to "S'abonner à Noé", new_public_transaction_abo_path if I18n.locale == :fr - %li=link_to qit("bas Assurance vie", "Assurance vie"), "/fr/assurance-vie.html" if I18n.locale == :fr - -%h3 Blog -%h4 Catégories - -%ul - -Category.order(:position).each do |category| - -count = category.articles.recents.joins(:lang_articles).where("lang_articles.enabled = 1 and lang_articles.lang_site_id = ?", @lang.id).count - -if count > 0 - %li - =link_to category.lang(I18n.locale.to_s).name+" (#{count})", category_public_article_path(:lang => @lang.slug,:slug => category.lang(I18n.locale.to_s).slug), :title => "Articles de la catégorie \""+category.lang(I18n.locale.to_s).name.to_s+'"' - - %ul - -category.articles.recents.joins(:lang_articles).where("lang_articles.enabled = 1 and lang_articles.lang_site_id = ?", @lang.id).each do |article| - - -lang_article = article.lang("fr") - %li=link_to lang_article.title, article_path(:slug => lang_article.slug, :lang => @lang.slug) - -%h4 - Tags - -%ul - -Tag.order(:name).each do |tag| - %li - =link_to tag.name+" (#{tag.recents_articles.count})", public_tag_path(tag.slug), :title => "Conseil en image : articles avec le tag \""+tag.name.to_s+'"' - -%h3 Pétitions -%ul - - -Petition.joins(:petition_langs).where(:petition_langs => {:lang_site_id => @lang.id, :frontpage => true, :enabled => true}).order("position ASC").all.each do |petition| - - -petition_lang = petition.lang(I18n.locale.to_s) - -if petition_lang.short_title? - -title =petition_lang.short_title - -else - -title=petition_lang.title - %li=link_to title, petition_path(:slug => petition_lang.slug, :lang => I18n.locale.to_s) - - -%h3 Images d'actualité -%ul - -ImageActuAlbum.all.each do |image_actu_album| - -if image_actu_album.image_actus.count > 0 - %li=link_to image_actu_album.lang(@lang.slug).name.to_s+" (#{image_actu_album.image_actus.count})", public_image_actu_album_path(image_actu_album.lang(@lang.slug).to_route) - -%h3 Newsletters - -%ul - -Newsletter.where("send_at is not null").order("send_at DESC").each do |newsletter| - %li=link_to newsletter.subject, public_newsletter_path(newsletter.slug) - \ No newline at end of file diff --git a/app/views/public/seo/_sitemap_localhost.builder b/app/views/public/seo/_sitemap_localhost.builder index 16253a9..a9cfc6e 100644 --- a/app/views/public/seo/_sitemap_localhost.builder +++ b/app/views/public/seo/_sitemap_localhost.builder @@ -1,6 +1,6 @@ xml.url do - xml.loc "https://transformeurs.quartz.xyz" + xml.loc "http://transformeurs.quartz.xyz" xml.lastmod w3c_date(Time.now) xml.changefreq "always" end @@ -12,11 +12,11 @@ end xml.url do - xml.loc "https://transformeurs.quartz.xyz/fr/blog.html" + xml.loc "http://transformeurs.quartz.xyz/fr/blog.html" xml.lastmod w3c_date(Time.now) end xml.url do - xml.loc "https://transformeurs.quartz.xyz/en/blog.html" + xml.loc "http://transformeurs.quartz.xyz/en/blog.html" xml.lastmod w3c_date(Time.now) end @@ -49,11 +49,11 @@ end xml.url do - xml.loc "https://transformeurs.quartz.xyz/fr/petitions.html" + xml.loc "http://transformeurs.quartz.xyz/fr/petitions.html" xml.lastmod w3c_date(Time.now) end xml.url do - xml.loc "https://transformeurs.quartz.xyz/en/petitions.html" + xml.loc "http://transformeurs.quartz.xyz/en/petitions.html" xml.lastmod w3c_date(Time.now) end @@ -73,7 +73,7 @@ Petition.order("position ASC").all.each do |petition| end xml.url do - xml.loc "https://transformeurs.quartz.xyz/fr/newsletters.html" + xml.loc "http://transformeurs.quartz.xyz/fr/newsletters.html" xml.lastmod w3c_date(Time.now) end @@ -89,16 +89,16 @@ Newsletter.where("send_at is not null").order("send_at DESC").each do |newslette end xml.url do - xml.loc "https://transformeurs.quartz.xyz/fr/presse" + xml.loc "http://transformeurs.quartz.xyz/fr/presse" xml.lastmod w3c_date(Time.now) end xml.url do - xml.loc "https://transformeurs.quartz.xyz/en/presse" + xml.loc "http://transformeurs.quartz.xyz/en/presse" xml.lastmod w3c_date(Time.now) end xml.url do - xml.loc "https://transformeurs.quartz.xyz/fr/presse" + xml.loc "http://transformeurs.quartz.xyz/fr/presse" xml.lastmod w3c_date(Time.now) end @@ -126,7 +126,7 @@ end xml.url do - xml.loc "https://transformeurs.quartz.xyz/fr/videos" + xml.loc "http://transformeurs.quartz.xyz/fr/videos" xml.lastmod w3c_date(Time.now) end @@ -149,7 +149,7 @@ end xml.url do - xml.loc "https://transformeurs.quartz.xyz/fr/boutique.html" + xml.loc "http://transformeurs.quartz.xyz/fr/boutique.html" xml.lastmod w3c_date(Time.now) end @@ -169,35 +169,35 @@ Product.where(:archived => false).all.each do |product| end xml.url do - xml.loc "https://transformeurs.quartz.xyz/fr/faire-un-don" + xml.loc "http://transformeurs.quartz.xyz/fr/faire-un-don" xml.lastmod w3c_date(Time.now) end xml.url do - xml.loc "https://transformeurs.quartz.xyz/fr/faire-un-don" + xml.loc "http://transformeurs.quartz.xyz/fr/faire-un-don" xml.lastmod w3c_date(Time.now) end xml.url do - xml.loc "https://transformeurs.quartz.xyz/fr/parrainage" + xml.loc "http://transformeurs.quartz.xyz/fr/parrainage" xml.lastmod w3c_date(Time.now) end xml.url do - xml.loc "https://transformeurs.quartz.xyz/fr/abonnements" + xml.loc "http://transformeurs.quartz.xyz/fr/abonnements" xml.lastmod w3c_date(Time.now) end xml.url do - xml.loc "https://transformeurs.quartz.xyz/fr/assurance-vie.html" + xml.loc "http://transformeurs.quartz.xyz/fr/assurance-vie.html" xml.lastmod w3c_date(Time.now) end xml.url do - xml.loc "https://transformeurs.quartz.xyz/en/faire-un-don" + xml.loc "http://transformeurs.quartz.xyz/en/faire-un-don" xml.lastmod w3c_date(Time.now) end xml.url do - xml.loc "https://transformeurs.quartz.xyz/en/adhesion" + xml.loc "http://transformeurs.quartz.xyz/en/adhesion" xml.lastmod w3c_date(Time.now) end xml.url do - xml.loc "https://transformeurs.quartz.xyz/en/parrainage" + xml.loc "http://transformeurs.quartz.xyz/en/parrainage" xml.lastmod w3c_date(Time.now) end diff --git a/app/views/public/shared/_home.html.haml b/app/views/public/shared/_home.html.haml index 903bbfc..2c2c122 100644 --- a/app/views/public/shared/_home.html.haml +++ b/app/views/public/shared/_home.html.haml @@ -98,9 +98,9 @@ -img_url = "" -if article.without_text_image_file - -img_url = "https://transformeurs.quartz.xyz"+article.without_text_image_file.file.large.medium.url + -img_url = "http://transformeurs.quartz.xyz"+article.without_text_image_file.file.large.medium.url -if article.image_file - -img_url = "https://transformeurs.quartz.xyz"+article.image_file.file.large.medium.url + -img_url = "http://transformeurs.quartz.xyz"+article.image_file.file.large.medium.url -else -img_url = "" @@ -139,9 +139,9 @@ -lang_article = article.lang_articles.find_by_lang_site_id(@lang.id) -img_url = "" -if article.without_text_image_file - -img_url = "https://transformeurs.quartz.xyz"+article.without_text_image_file.file.large.medium.small.url + -img_url = "http://transformeurs.quartz.xyz"+article.without_text_image_file.file.large.medium.small.url -if article.image_file - -img_url = "https://transformeurs.quartz.xyz"+article.image_file.file.large.medium.small.url + -img_url = "http://transformeurs.quartz.xyz"+article.image_file.file.large.medium.small.url -else -img_url = "" .columns.span_4 @@ -176,9 +176,9 @@ -lang_article = article.lang_articles.find_by_lang_site_id(@lang.id) -img_url = "" -if article.without_text_image_file - -img_url = "https://transformeurs.quartz.xyz"+article.without_text_image_file.file.large.medium.small.url + -img_url = "http://transformeurs.quartz.xyz"+article.without_text_image_file.file.large.medium.small.url -if article.image_file - -img_url = "https://transformeurs.quartz.xyz"+article.image_file.file.large.medium.small.url + -img_url = "http://transformeurs.quartz.xyz"+article.image_file.file.large.medium.small.url -else -img_url = "" .columns.span_4 diff --git a/app/views/public/specific_maps/show.html.haml b/app/views/public/specific_maps/show.html.haml index b393db4..81a58ab 100644 --- a/app/views/public/specific_maps/show.html.haml +++ b/app/views/public/specific_maps/show.html.haml @@ -14,7 +14,7 @@ %p Refusez la - =link_to "violence des clubs d'éducation canine révélée par 3P", "https://transformeurs.quartz.xyz/fr/follow/compagnons-animaux/cellule-zoe/education-canine-lenquete.html" + =link_to "violence des clubs d'éducation canine révélée par 3P", "http://transformeurs.quartz.xyz/fr/follow/compagnons-animaux/cellule-zoe/education-canine-lenquete.html" ="!" %p Découvrez la liste des vétérinaires déjà formés à l’éducation non-violente. Et n'hésitez à parler de la