From 9d7b939d4265746d6edfdcb2a28687abd4da6296 Mon Sep 17 00:00:00 2001 From: Skud Date: Fri, 16 Jan 2015 23:24:54 +1100 Subject: [PATCH] got rid of all img-rounded classes --- app/views/crops/_index_card.html.haml | 2 +- app/views/members/_avatar.html.haml | 2 +- app/views/photos/index.html.haml | 2 +- app/views/photos/new.html.haml | 2 +- app/views/photos/show.html.haml | 2 +- app/views/plantings/_thumbnail.html.haml | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app/views/crops/_index_card.html.haml b/app/views/crops/_index_card.html.haml index df706401b..84eb73062 100644 --- a/app/views/crops/_index_card.html.haml +++ b/app/views/crops/_index_card.html.haml @@ -1,7 +1,7 @@ .well .row .col-md-4 - = link_to image_tag((crop.default_photo ? crop.default_photo.thumbnail_url : 'placeholder_150.png'), :alt => '', :class => 'img-rounded crop-image'), crop + = link_to image_tag((crop.default_photo ? crop.default_photo.thumbnail_url : 'placeholder_150.png'), :alt => '', :class => 'img crop-image'), crop .col-md-8 %h3{:style => 'padding-top: 0px; margin-top: 0px'} = link_to crop, crop diff --git a/app/views/members/_avatar.html.haml b/app/views/members/_avatar.html.haml index 25c0e3140..da33ac2da 100644 --- a/app/views/members/_avatar.html.haml +++ b/app/views/members/_avatar.html.haml @@ -5,5 +5,5 @@ :size => defined?(size) ? size : 150, | :default => :identicon }), | :alt => '', | - :class => 'img-rounded img-responsive avatar' ), | + :class => 'img img-responsive avatar' ), | member_path(member) diff --git a/app/views/photos/index.html.haml b/app/views/photos/index.html.haml index 023c102e2..10a14f88e 100644 --- a/app/views/photos/index.html.haml +++ b/app/views/photos/index.html.haml @@ -10,7 +10,7 @@ - @photos.each do |p| .col-md-2.six-across .thumbnail(style='height: 220px') - = link_to image_tag(p.thumbnail_url, :alt => p.title, :class => 'img-rounded'), p + = link_to image_tag(p.thumbnail_url, :alt => p.title, :class => 'img'), p %p = link_to p.title, p by diff --git a/app/views/photos/new.html.haml b/app/views/photos/new.html.haml index 7b89997be..6b4e589b0 100644 --- a/app/views/photos/new.html.haml +++ b/app/views/photos/new.html.haml @@ -27,7 +27,7 @@ - @photos.each do |p| .col-md-2.six-across .thumbnail(style='height: 220px') - = link_to image_tag(FlickRaw.url_q(p), :alt => '', :class => 'img-rounded'), photos_path(:photo => { :flickr_photo_id => p.id }, :type => @type, :id => @id), :method => :post + = link_to image_tag(FlickRaw.url_q(p), :alt => '', :class => 'img'), photos_path(:photo => { :flickr_photo_id => p.id }, :type => @type, :id => @id), :method => :post %p =p.title diff --git a/app/views/photos/show.html.haml b/app/views/photos/show.html.haml index 4d510df15..ad331bd48 100644 --- a/app/views/photos/show.html.haml +++ b/app/views/photos/show.html.haml @@ -27,5 +27,5 @@ .row .col-md-12 - %p= image_tag(@photo.fullsize_url, :alt => @photo.title, :class => 'img-rounded') + %p= image_tag(@photo.fullsize_url, :alt => @photo.title, :class => 'img') diff --git a/app/views/plantings/_thumbnail.html.haml b/app/views/plantings/_thumbnail.html.haml index fd34b0703..f1b67c2cb 100644 --- a/app/views/plantings/_thumbnail.html.haml +++ b/app/views/plantings/_thumbnail.html.haml @@ -1,7 +1,7 @@ .well .row .col-md-3 - = link_to image_tag((planting.default_photo ? planting.default_photo.thumbnail_url : 'placeholder_150.png'), :alt => '', :class => 'img-rounded'), planting + = link_to image_tag((planting.default_photo ? planting.default_photo.thumbnail_url : 'placeholder_150.png'), :alt => '', :class => 'img'), planting .col-md-9 %h4