This commit is contained in:
Nicolas Bally 2018-08-07 11:49:17 +02:00
parent 100643fbac
commit 1810d38bd6
24 changed files with 113 additions and 113 deletions

View File

@ -32,7 +32,7 @@
declineFunction: function(cookieValue){if(cookieValue=='enabled' || cookieValue=='accepted') window.location = window.location.href;}, //Function to run after decline 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 policyButton: true, //Set to true to show Privacy Policy button
policyText: 'En savoir plus.', //Text on Privacy Policy button policyText: 'En savoir plus.', //Text on Privacy Policy button
policyURL: 'https://karim.quartz.xyz/fr/mentions-legales.html', //URL of Privacy Policy policyURL: 'https://peractus.quartz.xyz/fr/mentions-legales.html', //URL of Privacy Policy
autoEnable: true, //Set to true for cookies to be accepted automatically. Banner still shows 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 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 acceptOnScroll: false, //Set to true to accept cookies when visitor scrolls X pixels up or down

View File

@ -37,7 +37,7 @@ class Public::HomeController < ApplicationController
def angora def angora
if !params[:force] if !params[:force]
redirect_to "https://karim.quartz.xyz/fr/petitions/stop-angora.html" redirect_to "https://peractus.quartz.xyz/fr/petitions/stop-angora.html"
else else
render :layout => false render :layout => false

View File

@ -5,6 +5,6 @@ class AdminMailer < ActionMailer::Base
end end
def notify_comments def notify_comments
mail :to => "info@karim.quartz.xyz,perrotmathilde@orange.fr", :subject => "Nouveaux commentaires à modérer sur le blog", :from => "info@karim.quartz.xyz" mail :to => "info@peractus.quartz.xyz,perrotmathilde@orange.fr", :subject => "Nouveaux commentaires à modérer sur le blog", :from => "info@peractus.quartz.xyz"
end end
end end

View File

@ -19,7 +19,7 @@
- @tiny_urls.each do |tiny_url| - @tiny_urls.each do |tiny_url|
%tr %tr
%td= link_to "https://karim.quartz.xyz"+tiny_url_path(tiny_url.slug),"https://karim.quartz.xyz"+tiny_url_path(tiny_url.slug) %td= link_to "https://peractus.quartz.xyz"+tiny_url_path(tiny_url.slug),"https://peractus.quartz.xyz"+tiny_url_path(tiny_url.slug)
%td= tiny_url.url %td= tiny_url.url
%td= tiny_url.nbr_views %td= tiny_url.nbr_views
%td.actions %td.actions

View File

@ -6,7 +6,7 @@
%p %p
Voici le lien direct pour le faire : Voici le lien direct pour le faire :
=link_to "https://karim.quartz.xyz/admin/comments?lang=fr", "https://karim.quartz.xyz/admin/comments?lang=fr" =link_to "https://peractus.quartz.xyz/admin/comments?lang=fr", "https://peractus.quartz.xyz/admin/comments?lang=fr"
%p %p
Bonne journée ! Bonne journée !

View File

@ -22,7 +22,7 @@
=link_to "Lire", read_data_file_path(input.data_file.token), :target => "_blank" =link_to "Lire", read_data_file_path(input.data_file.token), :target => "_blank"
-if input.boutique? -if input.boutique?
=#link_to "Commander", "mailto:info@karim.quartz.xyz?subject=commande de document&body=Fichier : https://karim.quartz.xyz#{input.data_file.file.url} " =#link_to "Commander", "mailto:info@peractus.quartz.xyz?subject=commande de document&body=Fichier : https://peractus.quartz.xyz#{input.data_file.file.url} "
=link_to "Commander", new_public_document_order_path(:token => input.data_file.token), :remote => true =link_to "Commander", new_public_document_order_path(:token => input.data_file.token), :remote => true
.clear .clear

View File

@ -4,19 +4,19 @@
.socials_links{:style => "text-align:center;margin:20px 0;"} .socials_links{:style => "text-align:center;margin:20px 0;"}
-if input.facebook -if input.facebook
=link_to "https://www.facebook.com/sharer/sharer.php?u=#{input.url}", :target => "_blank", :class => "round_social facebook" do =link_to "https://www.facebook.com/sharer/sharer.php?u=#{input.url}", :target => "_blank", :class => "round_social facebook" do
=image_tag("https://karim.quartz.xyz/share_contents/facebook.png", :style => "height:40px;margin:5px 5px;") =image_tag("https://peractus.quartz.xyz/share_contents/facebook.png", :style => "height:40px;margin:5px 5px;")
=#"https://www.facebook.com/sharer/sharer.php?u=#{request.url}" =#"https://www.facebook.com/sharer/sharer.php?u=#{request.url}"
-if input.twitter -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 =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://karim.quartz.xyz/share_contents/twitter.png", :style => "height:40px;margin:5px 5px;") =image_tag("https://peractus.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) =#"https://twitter.com/intent/tweet?url=#{request.url}&via=onevoiceanimal&text="+CGI::escape(@twitter_title.to_s)
-if input.mail -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 =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://karim.quartz.xyz/share_contents/mail.png", :style => "height:40px;margin:5px 5px;") =image_tag("https://peractus.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) =#"https://twitter.com/intent/tweet?url=#{request.url}&via=onevoiceanimal&text="+CGI::escape(@twitter_title.to_s)

View File

@ -1,7 +1,7 @@
-lang_article = article.lang_articles.find_by_lang_site_id(@lang.id) -lang_article = article.lang_articles.find_by_lang_site_id(@lang.id)
-#if article.without_text_image_file -#if article.without_text_image_file
-#img_url = "https://karim.quartz.xyz"+article.without_text_image_file.file.large.url -#img_url = "https://peractus.quartz.xyz"+article.without_text_image_file.file.large.url
-if article.image_file -if article.image_file
-img_url = ""+article.image_file.file.large.medium.url -img_url = ""+article.image_file.file.large.medium.url

View File

@ -1,7 +1,7 @@
-if article.without_text_image_file -if article.without_text_image_file
-img_url = "https://karim.quartz.xyz"+article.without_text_image_file.file.large.url -img_url = "https://peractus.quartz.xyz"+article.without_text_image_file.file.large.url
-elsif article.image_file -elsif article.image_file
-img_url = "https://karim.quartz.xyz"+article.image_file.file.large.url -img_url = "https://peractus.quartz.xyz"+article.image_file.file.large.url
-else -else
-img_url = "" -img_url = ""

View File

@ -1,9 +1,9 @@
-lang_article = article.lang_articles.find_by_lang_site_id(@lang.id) -lang_article = article.lang_articles.find_by_lang_site_id(@lang.id)
-if article.without_text_image_file -if article.without_text_image_file
-img_url = "https://karim.quartz.xyz"+article.without_text_image_file.file.large.url -img_url = "https://peractus.quartz.xyz"+article.without_text_image_file.file.large.url
-elsif article.image_file -elsif article.image_file
-img_url = "https://karim.quartz.xyz"+article.image_file.file.large.url -img_url = "https://peractus.quartz.xyz"+article.image_file.file.large.url
-if article_valid_to_show(article, @lang, Time.now) -if article_valid_to_show(article, @lang, Time.now)
-@count = @count + 1 -@count = @count + 1

View File

@ -1,9 +1,9 @@
-lang_article = article.lang_articles.find_by_lang_site_id(@lang.id) -lang_article = article.lang_articles.find_by_lang_site_id(@lang.id)
-if article.without_text_image_file -if article.without_text_image_file
-img_url = "https://karim.quartz.xyz"+article.without_text_image_file.file.large.medium.small.url -img_url = "https://peractus.quartz.xyz"+article.without_text_image_file.file.large.medium.small.url
-elsif article.image_file -elsif article.image_file
-img_url = "https://karim.quartz.xyz"+article.image_file.file.large.medium.small.url -img_url = "https://peractus.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 =link_to article_path(:slug => lang_article.slug, :lang => @lang.slug), :class => "article-2x " do

View File

@ -1,9 +1,9 @@
-lang_article = article.lang_articles.find_by_lang_site_id(@lang.id) -lang_article = article.lang_articles.find_by_lang_site_id(@lang.id)
-if article.without_text_image_file -if article.without_text_image_file
-img_url = "https://karim.quartz.xyz"+article.without_text_image_file.file.large.url -img_url = "https://peractus.quartz.xyz"+article.without_text_image_file.file.large.url
-elsif article.image_file -elsif article.image_file
-img_url = "https://karim.quartz.xyz"+article.image_file.file.large.url -img_url = "https://peractus.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 =link_to article_path(:slug => lang_article.slug, :lang => @lang.slug), :class => "article-2x-2", :data => {:ratio => "0.62"} do

View File

@ -1,7 +1,7 @@
-@partenaire = true -@partenaire = true
- @social_url = "https://stop-angora.fr/#{@lang.slug}" - @social_url = "https://stop-angora.fr/#{@lang.slug}"
-@one_voice_host = "https://karim.quartz.xyz" -@one_voice_host = "https://peractus.quartz.xyz"
-@menu_shadow=true -@menu_shadow=true
-@lang = @lang || LangSite.first -@lang = @lang || LangSite.first
-if !@facebook_img or @facebook_img == "" -if !@facebook_img or @facebook_img == ""
@ -54,20 +54,20 @@
-if @facebook_img -if @facebook_img
=raw '<meta property="og:image" content="https://karim.quartz.xyz'+@facebook_img.to_s+'"/>' =raw '<meta property="og:image" content="https://peractus.quartz.xyz'+@facebook_img.to_s+'"/>'
=raw '<link rel="image_src" href="https://karim.quartz.xyz'+@facebook_img.to_s+'"/>' =raw '<link rel="image_src" href="https://peractus.quartz.xyz'+@facebook_img.to_s+'"/>'
=raw '<meta name="twitter:card" content="summary_large_image">' =raw '<meta name="twitter:card" content="summary_large_image">'
=raw '<meta property="twitter:image" content="https://karim.quartz.xyz'+@facebook_img.to_s+'"/>' =raw '<meta property="twitter:image" content="https://peractus.quartz.xyz'+@facebook_img.to_s+'"/>'
-@img_size = FastImage.size('https://karim.quartz.xyz'+@facebook_img.to_s) -@img_size = FastImage.size('https://peractus.quartz.xyz'+@facebook_img.to_s)
-if @img_size and @img_size.size > 0 -if @img_size and @img_size.size > 0
=raw '<meta property="og:image:width" content="'+@img_size[0].to_s+'"/>' =raw '<meta property="og:image:width" content="'+@img_size[0].to_s+'"/>'
@ -137,12 +137,12 @@
=image_tag("/angora/icon-#{link[1]}.png") =image_tag("/angora/icon-#{link[1]}.png")
=link[0] =link[0]
=link_to qit("angora-soutenez","Soutenez !"), "https://karim.quartz.xyz/faire-un-don", :target => "_blank", :class => "donate" =link_to qit("angora-soutenez","Soutenez !"), "https://peractus.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 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://karim.quartz.xyz" =link_to image_tag( "/logo-ow.png", :id => "logo"), "https://peractus.quartz.xyz"
#top_block #top_block
.inner .inner
@ -174,10 +174,10 @@
ou en vous connectant au hashtag ou en vous connectant au hashtag
=link_to( "#StopAngoraFrance", "https://twitter.com/search?f=tweets&q=%23StopAngoraFrance&src=typd", :target => "_blank" )+"." =link_to( "#StopAngoraFrance", "https://twitter.com/search?f=tweets&q=%23StopAngoraFrance&src=typd", :target => "_blank" )+"."
Vous pouvez aussi vous exprimer sur le Vous pouvez aussi vous exprimer sur le
=link_to "forum", "https://karim.quartz.xyz/forum", :target => "_blank" =link_to "forum", "https://peractus.quartz.xyz/forum", :target => "_blank"
disponible sur notre site disponible sur notre site
=link_to "One-Voice.fr", "https://karim.quartz.xyz" =link_to "One-Voice.fr", "https://peractus.quartz.xyz"
-else -else
%h3 NEWS %h3 NEWS
@ -187,10 +187,10 @@
or by connecting with the hashtag or by connecting with the hashtag
=link_to( "#StopAngoraFrance", "https://twitter.com/search?f=tweets&q=%23StopAngoraFrance&src=typd", :target => "_blank" )+"." =link_to( "#StopAngoraFrance", "https://twitter.com/search?f=tweets&q=%23StopAngoraFrance&src=typd", :target => "_blank" )+"."
You can also comment on our You can also comment on our
=link_to "forum", "https://karim.quartz.xyz/forum", :target => "_blank" =link_to "forum", "https://peractus.quartz.xyz/forum", :target => "_blank"
on our website: on our website:
=link_to "One-Voice.fr", "https://karim.quartz.xyz" =link_to "One-Voice.fr", "https://peractus.quartz.xyz"
#images #images
%a{:anchor => "images"} %a{:anchor => "images"}
@ -275,7 +275,7 @@
&nbsp; &nbsp;
=link_to qit("angora-signer-la-petition","Signer la pétition"), "#petition", :class => "petition_link" =link_to qit("angora-signer-la-petition","Signer la pétition"), "#petition", :class => "petition_link"
%p %p
=link_to qit("angora-faire-un-don","Faire un don"), "https://karim.quartz.xyz/fr/faire-un-don", :class => "donate_link", :target => "_blank" =link_to qit("angora-faire-un-don","Faire un don"), "https://peractus.quartz.xyz/fr/faire-un-don", :class => "donate_link", :target => "_blank"
.clear .clear
@ -583,7 +583,7 @@
3P entend mener ce combat jusquà son terme, cest-à-dire obtenir une législation nationale proscrivant lélevage de lapins angoras sur notre sol et, si possible, linterdiction de ce produit en France. Nous avons obtenu gain de cause sur la circulation de fourrures de chiens et de chats dans lUE. Le combat pour les lapins angoras sera tout aussi ardu, semé dactions en justice et, si nécessaire, de réunions avec les pouvoirs publics afin de poser des solutions de reconversion à cette filière. 3P entend mener ce combat jusquà son terme, cest-à-dire obtenir une législation nationale proscrivant lélevage de lapins angoras sur notre sol et, si possible, linterdiction de ce produit en France. Nous avons obtenu gain de cause sur la circulation de fourrures de chiens et de chats dans lUE. Le combat pour les lapins angoras sera tout aussi ardu, semé dactions en justice et, si nécessaire, de réunions avec les pouvoirs publics afin de poser des solutions de reconversion à cette filière.
%br %br
3P a besoin de votre soutien dans ces démarches. 3P a besoin de votre soutien dans ces démarches.
=link_to "Soutenez-nous par vos dons.", "https://karim.quartz.xyz/fr/faire-un-don", :target => "_blank" =link_to "Soutenez-nous par vos dons.", "https://peractus.quartz.xyz/fr/faire-un-don", :target => "_blank"
.clear .clear
@ -753,7 +753,7 @@
%br %br
Merci du fond du cœur de votre soutien. Merci du fond du cœur de votre soutien.
%p.donate_p{:style => "padding-bottom:100px;"} %p.donate_p{:style => "padding-bottom:100px;"}
=link_to qit("angora-faire-un-don","Faire un don"), "https://karim.quartz.xyz/fr/faire-un-don?c=52", :class => "donate_link", :target => "_blank" =link_to qit("angora-faire-un-don","Faire un don"), "https://peractus.quartz.xyz/fr/faire-un-don?c=52", :class => "donate_link", :target => "_blank"
.photo_credits{:style => "margin:0"} .photo_credits{:style => "margin:0"}
@ -846,7 +846,7 @@
-title =petition_lang.short_title -title =petition_lang.short_title
-else -else
-title=petition_lang.title -title=petition_lang.title
%li=link_to title, "https://karim.quartz.xyz"+petition_path(:slug => petition_lang.slug, :lang => I18n.locale.to_s) %li=link_to title, "https://peractus.quartz.xyz"+petition_path(:slug => petition_lang.slug, :lang => I18n.locale.to_s)
.columns.span_2 .columns.span_2
@ -879,11 +879,11 @@
%h4 %h4
=link_to qit("bas Je fais un don","Je fais un don"), new_public_donator_transaction_path =link_to qit("bas Je fais un don","Je fais un don"), new_public_donator_transaction_path
%ul %ul
%li=link_to qit("bas Don en ligne", "Don en ligne"), "https://karim.quartz.xyz"+new_public_donator_transaction_path %li=link_to qit("bas Don en ligne", "Don en ligne"), "https://peractus.quartz.xyz"+new_public_donator_transaction_path
%li=link_to qit("bas Adhérer", "Adhérer"), "https://karim.quartz.xyz"+new_public_transaction_join_path %li=link_to qit("bas Adhérer", "Adhérer"), "https://peractus.quartz.xyz"+new_public_transaction_join_path
%li=link_to qit("bas Parrainer", "Parrainer"), "https://karim.quartz.xyz"+public_sponsorship_animals_path %li=link_to qit("bas Parrainer", "Parrainer"), "https://peractus.quartz.xyz"+public_sponsorship_animals_path
%li=link_to "S'abonner à Noé", "https://karim.quartz.xyz"+new_public_transaction_abo_path if I18n.locale == :fr %li=link_to "S'abonner à Noé", "https://peractus.quartz.xyz"+new_public_transaction_abo_path if I18n.locale == :fr
%li=link_to qit("bas Assurance vie", "Assurance vie"), "https://karim.quartz.xyz"+"/fr/assurance-vie.html" if I18n.locale == :fr %li=link_to qit("bas Assurance vie", "Assurance vie"), "https://peractus.quartz.xyz"+"/fr/assurance-vie.html" if I18n.locale == :fr
.clear .clear
@ -900,7 +900,7 @@
="-" ="-"
=ic(:"envelope-o") =ic(:"envelope-o")
=link_to "info@karim.quartz.xyz", "mailto:info@karim.quartz.xyz" =link_to "info@peractus.quartz.xyz", "mailto:info@peractus.quartz.xyz"
= "Association" if @lang.id != 2 = "Association" if @lang.id != 2

View File

@ -1,5 +1,5 @@
- @social_url = "https://stop-angora.fr/#{@lang.slug}" - @social_url = "https://stop-angora.fr/#{@lang.slug}"
-@one_voice_host = "https://karim.quartz.xyz" -@one_voice_host = "https://peractus.quartz.xyz"
-@menu_shadow=true -@menu_shadow=true
-@lang = @lang || LangSite.first -@lang = @lang || LangSite.first
-if !@facebook_img or @facebook_img == "" -if !@facebook_img or @facebook_img == ""
@ -52,20 +52,20 @@
-if @facebook_img -if @facebook_img
=raw '<meta property="og:image" content="https://karim.quartz.xyz'+@facebook_img.to_s+'"/>' =raw '<meta property="og:image" content="https://peractus.quartz.xyz'+@facebook_img.to_s+'"/>'
=raw '<link rel="image_src" href="https://karim.quartz.xyz'+@facebook_img.to_s+'"/>' =raw '<link rel="image_src" href="https://peractus.quartz.xyz'+@facebook_img.to_s+'"/>'
=raw '<meta name="twitter:card" content="summary_large_image">' =raw '<meta name="twitter:card" content="summary_large_image">'
=raw '<meta property="twitter:image" content="https://karim.quartz.xyz'+@facebook_img.to_s+'"/>' =raw '<meta property="twitter:image" content="https://peractus.quartz.xyz'+@facebook_img.to_s+'"/>'
-@img_size = FastImage.size('https://karim.quartz.xyz'+@facebook_img.to_s) -@img_size = FastImage.size('https://peractus.quartz.xyz'+@facebook_img.to_s)
-if @img_size and @img_size.size > 0 -if @img_size and @img_size.size > 0
=raw '<meta property="og:image:width" content="'+@img_size[0].to_s+'"/>' =raw '<meta property="og:image:width" content="'+@img_size[0].to_s+'"/>'
@ -104,7 +104,7 @@
#main_block #main_block
.inner{:style => "padding:20px;background:white;max-width:1000px"} .inner{:style => "padding:20px;background:white;max-width:1000px"}
=image_tag "https://karim.quartz.xyz/logo_w.png", :style => "display:block;margin:auto;width:100px;margin-top:20px;" =image_tag "https://peractus.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" %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;" %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;"

View File

@ -61,7 +61,7 @@
%br %br
%br %br
%p %p
=link_to raw("Je souhaite recevoir une brochure d'information ou être recontacté par Michèle "+ic(:"arrow-right")), "https://karim.quartz.xyz/"+donation_contact_path(), :target => "_blank", :style => "display:inline-block;padding:5px 10px;border: 1px solid orange" =link_to raw("Je souhaite recevoir une brochure d'information ou être recontacté par Michèle "+ic(:"arrow-right")), "https://peractus.quartz.xyz/"+donation_contact_path(), :target => "_blank", :style => "display:inline-block;padding:5px 10px;border: 1px solid orange"
%br %br
%br %br

View File

@ -1,6 +1,6 @@
=raw "</div>" =raw "</div>"
-@social_url = "https://karim.quartz.xyz/fr/legs-assurance-vie.html" -@social_url = "https://peractus.quartz.xyz/fr/legs-assurance-vie.html"
-@twitter_title = "Aidez-nous à pérenniser nos #combats pour les #animaux" -@twitter_title = "Aidez-nous à pérenniser nos #combats pour les #animaux"
-@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." -@description = "Continuons à écrire ensemble le Grand Livre des animaux."
@ -126,7 +126,7 @@
%br %br
.email .email
%span=ic :envelope %span=ic :envelope
=link_to "muriel@karim.quartz.xyz", "mailto:muriel@karim.quartz.xyz" =link_to "muriel@peractus.quartz.xyz", "mailto:muriel@peractus.quartz.xyz"
.clear .clear

View File

@ -1,7 +1,7 @@
-@partenaire = true -@partenaire = true
- @social_url = "https://visonslerespect.fr/#{@lang.slug}" - @social_url = "https://visonslerespect.fr/#{@lang.slug}"
-@one_voice_host = "https://karim.quartz.xyz" -@one_voice_host = "https://peractus.quartz.xyz"
-@menu_shadow=true -@menu_shadow=true
-@lang = @lang || LangSite.first -@lang = @lang || LangSite.first
-if !@facebook_img or @facebook_img == "" -if !@facebook_img or @facebook_img == ""
@ -58,20 +58,20 @@
-if @facebook_img -if @facebook_img
=raw '<meta property="og:image" content="https://karim.quartz.xyz'+@facebook_img.to_s+'"/>' =raw '<meta property="og:image" content="https://peractus.quartz.xyz'+@facebook_img.to_s+'"/>'
=raw '<link rel="image_src" href="https://karim.quartz.xyz'+@facebook_img.to_s+'"/>' =raw '<link rel="image_src" href="https://peractus.quartz.xyz'+@facebook_img.to_s+'"/>'
=raw '<meta name="twitter:card" content="summary_large_image">' =raw '<meta name="twitter:card" content="summary_large_image">'
=raw '<meta property="twitter:image" content="https://karim.quartz.xyz'+@facebook_img.to_s+'"/>' =raw '<meta property="twitter:image" content="https://peractus.quartz.xyz'+@facebook_img.to_s+'"/>'
-@img_size = FastImage.size('https://karim.quartz.xyz'+@facebook_img.to_s) -@img_size = FastImage.size('https://peractus.quartz.xyz'+@facebook_img.to_s)
-if @img_size and @img_size.size > 0 -if @img_size and @img_size.size > 0
=raw '<meta property="og:image:width" content="'+@img_size[0].to_s+'"/>' =raw '<meta property="og:image:width" content="'+@img_size[0].to_s+'"/>'
@ -131,14 +131,14 @@
=image_tag("/fourrure/icon-#{link[1]}.png") =image_tag("/fourrure/icon-#{link[1]}.png")
=link[0] =link[0]
=link_to qit("fourrure-lien-don","Faire un don"), "https://karim.quartz.xyz/faire-un-don", :target => "_blank", :class => "donate" =link_to qit("fourrure-lien-don","Faire un don"), "https://peractus.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" =#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 -if I18n.locale == :fr
=link_to image_tag( "/logo_w.png", :id => "logo"), "https://karim.quartz.xyz/fr" =link_to image_tag( "/logo_w.png", :id => "logo"), "https://peractus.quartz.xyz/fr"
-else -else
=link_to image_tag( "/logo_w.png", :id => "logo"), "https://karim.quartz.xyz/en" =link_to image_tag( "/logo_w.png", :id => "logo"), "https://peractus.quartz.xyz/en"
#baseline #baseline
=qit "home3-top-baseline" do =qit "home3-top-baseline" do
@ -437,9 +437,9 @@
.label_panel .label_panel
-if I18n.locale == :fr -if I18n.locale == :fr
-link = "https://karim.quartz.xyz/fr/nos-combats/mode-de-vie-sans-cruaute/fourrure/fur-free-retailer-le-programme-ethique.html" -link = "https://peractus.quartz.xyz/fr/nos-combats/mode-de-vie-sans-cruaute/fourrure/fur-free-retailer-le-programme-ethique.html"
-else -else
-link = "https://karim.quartz.xyz/fr/nos-combats/mode-de-vie-sans-cruaute/fourrure/fur-free-retailer-le-programme-ethique.html" -link = "https://peractus.quartz.xyz/fr/nos-combats/mode-de-vie-sans-cruaute/fourrure/fur-free-retailer-le-programme-ethique.html"
=link_to link, :target => "_blank" do =link_to link, :target => "_blank" do
.col .col
@ -566,7 +566,7 @@
-title =petition_lang.short_title -title =petition_lang.short_title
-else -else
-title=petition_lang.title -title=petition_lang.title
%li=link_to title, "https://karim.quartz.xyz"+petition_path(:slug => petition_lang.slug, :lang => I18n.locale.to_s) %li=link_to title, "https://peractus.quartz.xyz"+petition_path(:slug => petition_lang.slug, :lang => I18n.locale.to_s)
.columns.span_2 .columns.span_2
@ -599,11 +599,11 @@
%h4 %h4
=link_to qit("bas Je fais un don","Je fais un don"), new_public_donator_transaction_path =link_to qit("bas Je fais un don","Je fais un don"), new_public_donator_transaction_path
%ul %ul
%li=link_to qit("bas Don en ligne", "Don en ligne"), "https://karim.quartz.xyz"+new_public_donator_transaction_path %li=link_to qit("bas Don en ligne", "Don en ligne"), "https://peractus.quartz.xyz"+new_public_donator_transaction_path
%li=link_to qit("bas Adhérer", "Adhérer"), "https://karim.quartz.xyz"+new_public_transaction_join_path %li=link_to qit("bas Adhérer", "Adhérer"), "https://peractus.quartz.xyz"+new_public_transaction_join_path
%li=link_to qit("bas Parrainer", "Parrainer"), "https://karim.quartz.xyz"+public_sponsorship_animals_path %li=link_to qit("bas Parrainer", "Parrainer"), "https://peractus.quartz.xyz"+public_sponsorship_animals_path
%li=link_to "S'abonner à Noé", "https://karim.quartz.xyz"+new_public_transaction_abo_path if I18n.locale == :fr %li=link_to "S'abonner à Noé", "https://peractus.quartz.xyz"+new_public_transaction_abo_path if I18n.locale == :fr
%li=link_to qit("bas Assurance vie", "Assurance vie"), "https://karim.quartz.xyz"+"/fr/assurance-vie.html" if I18n.locale == :fr %li=link_to qit("bas Assurance vie", "Assurance vie"), "https://peractus.quartz.xyz"+"/fr/assurance-vie.html" if I18n.locale == :fr
.clear .clear
@ -620,7 +620,7 @@
="-" ="-"
=ic(:"envelope-o") =ic(:"envelope-o")
=link_to "info@karim.quartz.xyz", "mailto:info@karim.quartz.xyz" =link_to "info@peractus.quartz.xyz", "mailto:info@peractus.quartz.xyz"
= "Association" if @lang.id != 2 = "Association" if @lang.id != 2

View File

@ -1,7 +1,7 @@
-@partenaire = true -@partenaire = true
- @social_url = "https://visonslerespect.fr/#{@lang.slug}" - @social_url = "https://visonslerespect.fr/#{@lang.slug}"
-@one_voice_host = "https://karim.quartz.xyz" -@one_voice_host = "https://peractus.quartz.xyz"
-@menu_shadow=true -@menu_shadow=true
-@lang = @lang || LangSite.first -@lang = @lang || LangSite.first
-if !@facebook_img or @facebook_img == "" -if !@facebook_img or @facebook_img == ""
@ -58,20 +58,20 @@
-if @facebook_img -if @facebook_img
=raw '<meta property="og:image" content="https://karim.quartz.xyz'+@facebook_img.to_s+'"/>' =raw '<meta property="og:image" content="https://peractus.quartz.xyz'+@facebook_img.to_s+'"/>'
=raw '<link rel="image_src" href="https://karim.quartz.xyz'+@facebook_img.to_s+'"/>' =raw '<link rel="image_src" href="https://peractus.quartz.xyz'+@facebook_img.to_s+'"/>'
=raw '<meta name="twitter:card" content="summary_large_image">' =raw '<meta name="twitter:card" content="summary_large_image">'
=raw '<meta property="twitter:image" content="https://karim.quartz.xyz'+@facebook_img.to_s+'"/>' =raw '<meta property="twitter:image" content="https://peractus.quartz.xyz'+@facebook_img.to_s+'"/>'
-@img_size = FastImage.size('https://karim.quartz.xyz'+@facebook_img.to_s) -@img_size = FastImage.size('https://peractus.quartz.xyz'+@facebook_img.to_s)
-if @img_size and @img_size.size > 0 -if @img_size and @img_size.size > 0
=raw '<meta property="og:image:width" content="'+@img_size[0].to_s+'"/>' =raw '<meta property="og:image:width" content="'+@img_size[0].to_s+'"/>'
@ -131,14 +131,14 @@
=image_tag("/fourrure/icon-#{link[1]}.png") =image_tag("/fourrure/icon-#{link[1]}.png")
=link[0] =link[0]
=link_to qit("fourrure-lien-don","Faire un don"), "https://karim.quartz.xyz/faire-un-don", :target => "_blank", :class => "donate" =link_to qit("fourrure-lien-don","Faire un don"), "https://peractus.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" =#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 -if I18n.locale == :fr
=link_to image_tag( "/logo_w.png", :id => "logo"), "https://karim.quartz.xyz/fr" =link_to image_tag( "/logo_w.png", :id => "logo"), "https://peractus.quartz.xyz/fr"
-else -else
=link_to image_tag( "/logo_w.png", :id => "logo"), "https://karim.quartz.xyz/en" =link_to image_tag( "/logo_w.png", :id => "logo"), "https://peractus.quartz.xyz/en"
#baseline #baseline
=qit "home3-top-baseline" do =qit "home3-top-baseline" do
@ -333,7 +333,7 @@
Mobilisez-vous aux côtés de 3P pour interdire lélevage des visons et de tous les animaux élevés pour leur fourrure. 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 lAgriculture Ecrivez à Stéphane Le Foll, ministre de lAgriculture
.col.col_right{:style => "padding-top:17px;"} .col.col_right{:style => "padding-top:17px;"}
%a{:href => "mailto:"+@mail_email+"?cc=&bcc=info%40karim.quartz.xyz&subject="+URI.encode(@mail_object)+"&body="+URI.encode(@mail_body), :class => "a_btn"} %a{:href => "mailto:"+@mail_email+"?cc=&bcc=info%40peractus.quartz.xyz&subject="+URI.encode(@mail_object)+"&body="+URI.encode(@mail_body), :class => "a_btn"}
=qit "fourrure-action-protester", "Protester en un clic" =qit "fourrure-action-protester", "Protester en un clic"
%br %br
@ -438,9 +438,9 @@
.label_panel .label_panel
-if I18n.locale == :fr -if I18n.locale == :fr
-link = "https://karim.quartz.xyz/fr/nos-combats/mode-de-vie-sans-cruaute/fourrure/fur-free-retailer-le-programme-ethique.html" -link = "https://peractus.quartz.xyz/fr/nos-combats/mode-de-vie-sans-cruaute/fourrure/fur-free-retailer-le-programme-ethique.html"
-else -else
-link = "https://karim.quartz.xyz/fr/nos-combats/mode-de-vie-sans-cruaute/fourrure/fur-free-retailer-le-programme-ethique.html" -link = "https://peractus.quartz.xyz/fr/nos-combats/mode-de-vie-sans-cruaute/fourrure/fur-free-retailer-le-programme-ethique.html"
=link_to link, :target => "_blank" do =link_to link, :target => "_blank" do
.col .col
@ -567,7 +567,7 @@
-title =petition_lang.short_title -title =petition_lang.short_title
-else -else
-title=petition_lang.title -title=petition_lang.title
%li=link_to title, "https://karim.quartz.xyz"+petition_path(:slug => petition_lang.slug, :lang => I18n.locale.to_s) %li=link_to title, "https://peractus.quartz.xyz"+petition_path(:slug => petition_lang.slug, :lang => I18n.locale.to_s)
.columns.span_2 .columns.span_2
@ -600,11 +600,11 @@
%h4 %h4
=link_to qit("bas Je fais un don","Je fais un don"), new_public_donator_transaction_path =link_to qit("bas Je fais un don","Je fais un don"), new_public_donator_transaction_path
%ul %ul
%li=link_to qit("bas Don en ligne", "Don en ligne"), "https://karim.quartz.xyz"+new_public_donator_transaction_path %li=link_to qit("bas Don en ligne", "Don en ligne"), "https://peractus.quartz.xyz"+new_public_donator_transaction_path
%li=link_to qit("bas Adhérer", "Adhérer"), "https://karim.quartz.xyz"+new_public_transaction_join_path %li=link_to qit("bas Adhérer", "Adhérer"), "https://peractus.quartz.xyz"+new_public_transaction_join_path
%li=link_to qit("bas Parrainer", "Parrainer"), "https://karim.quartz.xyz"+public_sponsorship_animals_path %li=link_to qit("bas Parrainer", "Parrainer"), "https://peractus.quartz.xyz"+public_sponsorship_animals_path
%li=link_to "S'abonner à Noé", "https://karim.quartz.xyz"+new_public_transaction_abo_path if I18n.locale == :fr %li=link_to "S'abonner à Noé", "https://peractus.quartz.xyz"+new_public_transaction_abo_path if I18n.locale == :fr
%li=link_to qit("bas Assurance vie", "Assurance vie"), "https://karim.quartz.xyz"+"/fr/assurance-vie.html" if I18n.locale == :fr %li=link_to qit("bas Assurance vie", "Assurance vie"), "https://peractus.quartz.xyz"+"/fr/assurance-vie.html" if I18n.locale == :fr
.clear .clear
@ -621,7 +621,7 @@
="-" ="-"
=ic(:"envelope-o") =ic(:"envelope-o")
=link_to "info@karim.quartz.xyz", "mailto:info@karim.quartz.xyz" =link_to "info@peractus.quartz.xyz", "mailto:info@peractus.quartz.xyz"
= "Association" if @lang.id != 2 = "Association" if @lang.id != 2
@ -659,7 +659,7 @@
#protester_panel #protester_panel
%a{:href => "mailto:"+@mail_email+"?cc=&bcc=info%40karim.quartz.xyz&subject="+URI.encode(@mail_object)+"&body="+URI.encode(@mail_body), :class => "a_btn"} %a{:href => "mailto:"+@mail_email+"?cc=&bcc=info%40peractus.quartz.xyz&subject="+URI.encode(@mail_object)+"&body="+URI.encode(@mail_body), :class => "a_btn"}
=qit "fourrure-action-protester", "Protester en un clic !" =qit "fourrure-action-protester", "Protester en un clic !"
%br %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 qit("fourrure-protest-ca-ne-marche-pas","Ca ne marche pas ? Cliquez ici"), "#",:onclick => '$("#protest_instruction").show();resize();return false;', :class => "b_btn"

View File

@ -1,6 +1,6 @@
xml.url do xml.url do
xml.loc "https://karim.quartz.xyz" xml.loc "https://peractus.quartz.xyz"
xml.lastmod w3c_date(Time.now) xml.lastmod w3c_date(Time.now)
xml.changefreq "always" xml.changefreq "always"
end end
@ -12,11 +12,11 @@ end
xml.url do xml.url do
xml.loc "https://karim.quartz.xyz/fr/blog.html" xml.loc "https://peractus.quartz.xyz/fr/blog.html"
xml.lastmod w3c_date(Time.now) xml.lastmod w3c_date(Time.now)
end end
xml.url do xml.url do
xml.loc "https://karim.quartz.xyz/en/blog.html" xml.loc "https://peractus.quartz.xyz/en/blog.html"
xml.lastmod w3c_date(Time.now) xml.lastmod w3c_date(Time.now)
end end
@ -49,11 +49,11 @@ end
xml.url do xml.url do
xml.loc "https://karim.quartz.xyz/fr/petitions.html" xml.loc "https://peractus.quartz.xyz/fr/petitions.html"
xml.lastmod w3c_date(Time.now) xml.lastmod w3c_date(Time.now)
end end
xml.url do xml.url do
xml.loc "https://karim.quartz.xyz/en/petitions.html" xml.loc "https://peractus.quartz.xyz/en/petitions.html"
xml.lastmod w3c_date(Time.now) xml.lastmod w3c_date(Time.now)
end end
@ -73,7 +73,7 @@ Petition.order("position ASC").all.each do |petition|
end end
xml.url do xml.url do
xml.loc "https://karim.quartz.xyz/fr/newsletters.html" xml.loc "https://peractus.quartz.xyz/fr/newsletters.html"
xml.lastmod w3c_date(Time.now) xml.lastmod w3c_date(Time.now)
end end
@ -89,16 +89,16 @@ Newsletter.where("send_at is not null").order("send_at DESC").each do |newslette
end end
xml.url do xml.url do
xml.loc "https://karim.quartz.xyz/fr/presse" xml.loc "https://peractus.quartz.xyz/fr/presse"
xml.lastmod w3c_date(Time.now) xml.lastmod w3c_date(Time.now)
end end
xml.url do xml.url do
xml.loc "https://karim.quartz.xyz/en/presse" xml.loc "https://peractus.quartz.xyz/en/presse"
xml.lastmod w3c_date(Time.now) xml.lastmod w3c_date(Time.now)
end end
xml.url do xml.url do
xml.loc "https://karim.quartz.xyz/fr/presse" xml.loc "https://peractus.quartz.xyz/fr/presse"
xml.lastmod w3c_date(Time.now) xml.lastmod w3c_date(Time.now)
end end
@ -126,7 +126,7 @@ end
xml.url do xml.url do
xml.loc "https://karim.quartz.xyz/fr/videos" xml.loc "https://peractus.quartz.xyz/fr/videos"
xml.lastmod w3c_date(Time.now) xml.lastmod w3c_date(Time.now)
end end
@ -149,7 +149,7 @@ end
xml.url do xml.url do
xml.loc "https://karim.quartz.xyz/fr/boutique.html" xml.loc "https://peractus.quartz.xyz/fr/boutique.html"
xml.lastmod w3c_date(Time.now) xml.lastmod w3c_date(Time.now)
end end
@ -169,35 +169,35 @@ Product.where(:archived => false).all.each do |product|
end end
xml.url do xml.url do
xml.loc "https://karim.quartz.xyz/fr/faire-un-don" xml.loc "https://peractus.quartz.xyz/fr/faire-un-don"
xml.lastmod w3c_date(Time.now) xml.lastmod w3c_date(Time.now)
end end
xml.url do xml.url do
xml.loc "https://karim.quartz.xyz/fr/faire-un-don" xml.loc "https://peractus.quartz.xyz/fr/faire-un-don"
xml.lastmod w3c_date(Time.now) xml.lastmod w3c_date(Time.now)
end end
xml.url do xml.url do
xml.loc "https://karim.quartz.xyz/fr/parrainage" xml.loc "https://peractus.quartz.xyz/fr/parrainage"
xml.lastmod w3c_date(Time.now) xml.lastmod w3c_date(Time.now)
end end
xml.url do xml.url do
xml.loc "https://karim.quartz.xyz/fr/abonnements" xml.loc "https://peractus.quartz.xyz/fr/abonnements"
xml.lastmod w3c_date(Time.now) xml.lastmod w3c_date(Time.now)
end end
xml.url do xml.url do
xml.loc "https://karim.quartz.xyz/fr/assurance-vie.html" xml.loc "https://peractus.quartz.xyz/fr/assurance-vie.html"
xml.lastmod w3c_date(Time.now) xml.lastmod w3c_date(Time.now)
end end
xml.url do xml.url do
xml.loc "https://karim.quartz.xyz/en/faire-un-don" xml.loc "https://peractus.quartz.xyz/en/faire-un-don"
xml.lastmod w3c_date(Time.now) xml.lastmod w3c_date(Time.now)
end end
xml.url do xml.url do
xml.loc "https://karim.quartz.xyz/en/adhesion" xml.loc "https://peractus.quartz.xyz/en/adhesion"
xml.lastmod w3c_date(Time.now) xml.lastmod w3c_date(Time.now)
end end
xml.url do xml.url do
xml.loc "https://karim.quartz.xyz/en/parrainage" xml.loc "https://peractus.quartz.xyz/en/parrainage"
xml.lastmod w3c_date(Time.now) xml.lastmod w3c_date(Time.now)
end end

View File

@ -1,4 +1,4 @@
<%- if ["localhost", "cirques-animaux.fr", "karim.quartz.xyz"].include?(request.host) %> <%- if ["localhost", "cirques-animaux.fr", "peractus.quartz.xyz"].include?(request.host) %>
Sitemap: <%= request.protocol %><%= request.host_with_port %>/sitemap.xml Sitemap: <%= request.protocol %><%= request.host_with_port %>/sitemap.xml
<% end %> <% end %>
User-agent: * User-agent: *

View File

@ -4,7 +4,7 @@ xml.urlset "xmlns" => "http://www.sitemaps.org/schemas/sitemap/0.9" do
if request.host == "localhost" if request.host == "localhost"
xml << render(:partial => "sitemap_localhost", :locals => {:xml => xml}) xml << render(:partial => "sitemap_localhost", :locals => {:xml => xml})
elsif request.host == "karim.quartz.xyz" elsif request.host == "peractus.quartz.xyz"
xml << render(:partial => "sitemap_localhost", :locals => {:xml => xml}) xml << render(:partial => "sitemap_localhost", :locals => {:xml => xml})
elsif request.host == "cirques-animaux.fr" elsif request.host == "cirques-animaux.fr"
xml << render(:partial => "sitemap_cirque", :locals => {:xml => xml}) xml << render(:partial => "sitemap_cirque", :locals => {:xml => xml})

View File

@ -98,9 +98,9 @@
-img_url = "" -img_url = ""
-if article.without_text_image_file -if article.without_text_image_file
-img_url = "https://karim.quartz.xyz"+article.without_text_image_file.file.large.medium.url -img_url = "https://peractus.quartz.xyz"+article.without_text_image_file.file.large.medium.url
-if article.image_file -if article.image_file
-img_url = "https://karim.quartz.xyz"+article.image_file.file.large.medium.url -img_url = "https://peractus.quartz.xyz"+article.image_file.file.large.medium.url
-else -else
-img_url = "" -img_url = ""
@ -139,9 +139,9 @@
-lang_article = article.lang_articles.find_by_lang_site_id(@lang.id) -lang_article = article.lang_articles.find_by_lang_site_id(@lang.id)
-img_url = "" -img_url = ""
-if article.without_text_image_file -if article.without_text_image_file
-img_url = "https://karim.quartz.xyz"+article.without_text_image_file.file.large.medium.small.url -img_url = "https://peractus.quartz.xyz"+article.without_text_image_file.file.large.medium.small.url
-if article.image_file -if article.image_file
-img_url = "https://karim.quartz.xyz"+article.image_file.file.large.medium.small.url -img_url = "https://peractus.quartz.xyz"+article.image_file.file.large.medium.small.url
-else -else
-img_url = "" -img_url = ""
.columns.span_4 .columns.span_4
@ -176,9 +176,9 @@
-lang_article = article.lang_articles.find_by_lang_site_id(@lang.id) -lang_article = article.lang_articles.find_by_lang_site_id(@lang.id)
-img_url = "" -img_url = ""
-if article.without_text_image_file -if article.without_text_image_file
-img_url = "https://karim.quartz.xyz"+article.without_text_image_file.file.large.medium.small.url -img_url = "https://peractus.quartz.xyz"+article.without_text_image_file.file.large.medium.small.url
-if article.image_file -if article.image_file
-img_url = "https://karim.quartz.xyz"+article.image_file.file.large.medium.small.url -img_url = "https://peractus.quartz.xyz"+article.image_file.file.large.medium.small.url
-else -else
-img_url = "" -img_url = ""
.columns.span_4 .columns.span_4

View File

@ -14,7 +14,7 @@
%p %p
Refusez la Refusez la
=link_to "violence des clubs d'éducation canine révélée par 3P", "https://karim.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", "https://peractus.quartz.xyz/fr/follow/compagnons-animaux/cellule-zoe/education-canine-lenquete.html"
="!" ="!"
%p %p
Découvrez la liste des vétérinaires déjà formés à léducation non-violente. Et n'hésitez à parler de la Découvrez la liste des vétérinaires déjà formés à léducation non-violente. Et n'hésitez à parler de la

View File

@ -77,7 +77,7 @@ Rails.application.configure do
# Do not dump schema after migrations. # Do not dump schema after migrations.
config.active_record.dump_schema_after_migration = false config.active_record.dump_schema_after_migration = false
HOSTNAME="karim.quartz.xyz" HOSTNAME="peractus.quartz.xyz"
#config.action_mailer.delivery_method = :file #config.action_mailer.delivery_method = :file
config.action_mailer.default_url_options = { :host => HOSTNAME } config.action_mailer.default_url_options = { :host => HOSTNAME }