diff --git a/app/assets/stylesheets/public.scss b/app/assets/stylesheets/public.scss index efaf57d..1c7436e 100644 --- a/app/assets/stylesheets/public.scss +++ b/app/assets/stylesheets/public.scss @@ -66,7 +66,7 @@ h3{ h3{ - color:white; + //color:white; text-align:center; margin-top:5px; margin-bottom:0; diff --git a/app/views/portlet/gallery_contents/_form.html.haml b/app/views/portlet/gallery_contents/_form.html.haml index 86dd4b9..acebf6d 100644 --- a/app/views/portlet/gallery_contents/_form.html.haml +++ b/app/views/portlet/gallery_contents/_form.html.haml @@ -5,9 +5,4 @@ Style : = form.select :style, GalleryContent::STYLES - =form.input :show_title, :label => "Afficher les titres sous les vignettes ?" - - =form.input :show_description, :label => "Afficher les descriptions sous les vignettes ?" - - - + =form.input :show_title, :label => "Afficher les titres ?" diff --git a/app/views/portlets/render_public/_gallerycontent.html.haml b/app/views/portlets/render_public/_gallerycontent.html.haml index ca2d762..0048652 100644 --- a/app/views/portlets/render_public/_gallerycontent.html.haml +++ b/app/views/portlets/render_public/_gallerycontent.html.haml @@ -114,6 +114,6 @@ .rea-gal.img_gallery -input.gallery_images.each do |gallery_images| - =link_to image_tag(gallery_images.image_file.file.large.medium.small.thumb.url, :alt => "#{gallery_images.title}"), gallery_images.image_file.file.large.url, :title => gallery_images.title + =link_to image_tag(gallery_images.image_file.file.large.medium.small.thumb.url, :alt => "#{gallery_images.title}"), gallery_images.image_file.file.large.url, :title => (gallery_images.title if input.show_title) \ No newline at end of file