suite ssl
This commit is contained in:
parent
0f85c3b59c
commit
b8a1a3fabf
@ -21,7 +21,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
=javascript_include_tag "http://maps.google.com/maps/api/js?sensor=false®ion=FR"
|
=javascript_include_tag "https://maps.google.com/maps/api/js?sensor=false®ion=FR"
|
||||||
<link href="https://fonts.googleapis.com/css?family=Galada|Lato|Roboto+Slab" rel="stylesheet">
|
<link href="https://fonts.googleapis.com/css?family=Galada|Lato|Roboto+Slab" rel="stylesheet">
|
||||||
|
|
||||||
|
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
-else
|
-else
|
||||||
-url =""
|
-url =""
|
||||||
|
|
||||||
-url = "http://"+HOSTNAME+url
|
-url = request.protocol+HOSTNAME+url
|
||||||
-style = ""
|
-style = ""
|
||||||
-style = "text-align:center;" if input.alignement == "center"
|
-style = "text-align:center;" if input.alignement == "center"
|
||||||
|
|
||||||
@ -60,7 +60,7 @@
|
|||||||
|
|
||||||
|
|
||||||
-elsif input.expandable
|
-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
|
-else
|
||||||
=image_tag(url, :alt => input.alt.to_s, :style => styleimg )
|
=image_tag(url, :alt => input.alt.to_s, :style => styleimg )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user