diff --git a/app/views/gardens/index.html.haml b/app/views/gardens/index.html.haml index 65f80c3af..2da035865 100644 --- a/app/views/gardens/index.html.haml +++ b/app/views/gardens/index.html.haml @@ -6,11 +6,11 @@ %p - if @owner == current_member = link_to 'Add a garden', new_garden_path, :class => 'btn btn-primary' - = link_to "View everyone's gardens", gardens_path, :class => 'btn' + = link_to "View everyone's gardens", gardens_path, :class => 'btn btn-default' - else # everyone's gardens = link_to 'Add a garden', new_garden_path, :class => 'btn btn-primary' - if current_member - = link_to 'View your gardens', gardens_by_owner_path(:owner => current_member.slug), :class => 'btn' + = link_to 'View your gardens', gardens_by_owner_path(:owner => current_member.slug), :class => 'btn btn-default' - else = render :partial => 'shared/signin_signup', :locals => { :to => 'add a new garden' } diff --git a/app/views/notifications/show.html.haml b/app/views/notifications/show.html.haml index ad161f9de..1926876a6 100644 --- a/app/views/notifications/show.html.haml +++ b/app/views/notifications/show.html.haml @@ -15,5 +15,5 @@ #{ strip_tags(@notification.body) } %p - =link_to 'Delete', @notification, method: :delete, data: { confirm: 'Are you sure?' }, :class => 'btn' + =link_to 'Delete', @notification, method: :delete, data: { confirm: 'Are you sure?' }, :class => 'btn btn-default' =link_to 'Reply', @reply_link, :class => 'btn btn-primary' diff --git a/app/views/orders/show.html.haml b/app/views/orders/show.html.haml index 39b648953..dbc635d4e 100644 --- a/app/views/orders/show.html.haml +++ b/app/views/orders/show.html.haml @@ -75,7 +75,7 @@ = submit_tag "Checkout with PayPal", :class => 'btn btn-primary' - if can? :destroy, @order = link_to 'Delete this order', @order, method: :delete, | - data: { confirm: 'Are you sure?' }, :class => 'btn' - = link_to "View other orders/order history", orders_path, :class => 'btn' + data: { confirm: 'Are you sure?' }, :class => 'btn btn-default' + = link_to "View other orders/order history", orders_path, :class => 'btn btn-default' %p diff --git a/app/views/plantings/index.html.haml b/app/views/plantings/index.html.haml index 9e38f2498..926e4a191 100644 --- a/app/views/plantings/index.html.haml +++ b/app/views/plantings/index.html.haml @@ -6,11 +6,11 @@ %p - if @owner == current_member = link_to 'Plant something', new_planting_path, :class => 'btn btn-primary' - = link_to "View everyone's plantings", plantings_path, :class => 'btn' + = link_to "View everyone's plantings", plantings_path, :class => 'btn btn-default' - else # everyone's plantings = link_to 'Plant something', new_planting_path, :class => 'btn btn-primary' - if current_member - = link_to 'View your plantings', plantings_by_owner_path(:owner => current_member.slug), :class => 'btn' + = link_to 'View your plantings', plantings_by_owner_path(:owner => current_member.slug), :class => 'btn btn-default' - else = render :partial => 'shared/signin_signup', :locals => { :to => "track what you've planted" } diff --git a/app/views/posts/index.html.haml b/app/views/posts/index.html.haml index 10bebe997..930dbdf84 100644 --- a/app/views/posts/index.html.haml +++ b/app/views/posts/index.html.haml @@ -6,11 +6,11 @@ %p - if @author == current_member = link_to 'Post something', new_post_path, :class => 'btn btn-primary' - = link_to "View everyone's posts", posts_path, :class => 'btn' + = link_to "View everyone's posts", posts_path, :class => 'btn btn-default' - else # everyone's posts = link_to 'Post something', new_post_path, :class => 'btn btn-primary' - if current_member - = link_to 'View your posts', posts_by_author_path(:author => current_member.slug), :class => 'btn' + = link_to 'View your posts', posts_by_author_path(:author => current_member.slug), :class => 'btn btn-default' - else = render :partial => 'shared/signin_signup', :locals => { :to => 'write a post' }