From 86c5f4c26f153b9c7310f62b42a017d6045c379b Mon Sep 17 00:00:00 2001 From: Nicolas Bally Date: Mon, 19 Mar 2018 16:28:43 +0100 Subject: [PATCH] suite --- app/views/portlets/render_public/_gallerycontent.html.haml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/portlets/render_public/_gallerycontent.html.haml b/app/views/portlets/render_public/_gallerycontent.html.haml index 3f89c7a..9c27378 100644 --- a/app/views/portlets/render_public/_gallerycontent.html.haml +++ b/app/views/portlets/render_public/_gallerycontent.html.haml @@ -72,7 +72,7 @@ .rea-gal.img_gallery -input.gallery_images.each do |gallery_images| - -if gallery_images.image_file.file + -if gallery_images.image_file =link_to image_tag("http#{("s" if Rails.env.production?)}://"+HOSTNAME+gallery_images.image_file.file.square.url, :alt => "#{gallery_images.title}"), "http#{("s" if Rails.env.production?)}://"+HOSTNAME+gallery_images.image_file.file.large.url, :title => gallery_images.title .clear @@ -91,7 +91,7 @@ .slides %ul.slides-container -input.gallery_images.each do |gallery_images| - -if gallery_images.image_file.file + -if gallery_images.image_file %li =image_tag "http#{("s" if Rails.env.production?)}://"+HOSTNAME+gallery_images.image_file.file.large.url @@ -116,7 +116,7 @@ .rea-gal.img_gallery -input.gallery_images.each do |gallery_images| - -if gallery_images.image_file.file + -if gallery_images.image_file =link_to image_tag("http#{("s" if Rails.env.production?)}://"+HOSTNAME+gallery_images.image_file.file.large.medium.small.thumb.url, :alt => "#{gallery_images.title}"), "http#{("s" if Rails.env.production?)}://"+HOSTNAME+gallery_images.image_file.file.large.url, :title => (gallery_images.title if input.show_title) \ No newline at end of file