diff --git a/app/views/portlets/render_public/_imagecontent.html.haml b/app/views/portlets/render_public/_imagecontent.html.haml index 388f6f5..c8e6356 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#{("" if Rails.env.production?)}://"+HOSTNAME+url +-url = "https#{("" if Rails.env.production?)}://"+HOSTNAME+url -style = "" -style = "text-align:center;width:100%;" if input.alignement == "center" diff --git a/app/views/public/articles/_article_img.html.haml b/app/views/public/articles/_article_img.html.haml index 229c6a1..953abe0 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://payrepmc.quartz.xyz"+article.without_text_image_file.file.large.url + -img_url = "https://payremaintenance.fr"+article.without_text_image_file.file.large.url -elsif article.image_file - -img_url = "https://payrepmc.quartz.xyz"+article.image_file.file.large.url + -img_url = "https://payremaintenance.fr"+article.image_file.file.large.url -else -img_url = ""