suite ssl

This commit is contained in:
Nicolas Bally 2017-09-14 15:23:18 +02:00
parent 0f85c3b59c
commit b8a1a3fabf
2 changed files with 3 additions and 3 deletions

View File

@ -21,7 +21,7 @@
=javascript_include_tag "http://maps.google.com/maps/api/js?sensor=false&region=FR"
=javascript_include_tag "https://maps.google.com/maps/api/js?sensor=false&region=FR"
<link href="https://fonts.googleapis.com/css?family=Galada|Lato|Roboto+Slab" rel="stylesheet">

View File

@ -23,7 +23,7 @@
-else
-url =""
-url = "http://"+HOSTNAME+url
-url = request.protocol+HOSTNAME+url
-style = ""
-style = "text-align:center;" if input.alignement == "center"
@ -60,7 +60,7 @@
-elsif input.expandable
=link_to image_tag(url, :alt => input.alt.to_s, :style => styleimg ), "http://"+HOSTNAME+(input.image_file ? input.image_file.file.large.url : ""), :title => input.alt.to_s, :class => "expandable_image"
=link_to image_tag(url, :alt => input.alt.to_s, :style => styleimg ), request.protocol+HOSTNAME+(input.image_file ? input.image_file.file.large.url : ""), :title => input.alt.to_s, :class => "expandable_image"
-else
=image_tag(url, :alt => input.alt.to_s, :style => styleimg )