diff --git a/app/views/shopping_shared/_groups.html.haml b/app/views/shopping_shared/_groups.html.haml index a218d6aeb5..815cf4ec67 100644 --- a/app/views/shopping_shared/_groups.html.haml +++ b/app/views/shopping_shared/_groups.html.haml @@ -2,9 +2,5 @@ %ul - for group in current_distributor.groups %li - %h4= group.name - %ul - - for sibling in group.enterprises.except(current_distributor) - %li - %a{"data-reveal-id" => "sibling_details_#{sibling.id}", "data-reveal" => ""} - = sibling.name + %h4 + %a= group.name diff --git a/app/views/shopping_shared/_modals.html.haml b/app/views/shopping_shared/_modals.html.haml deleted file mode 100644 index 83a162a470..0000000000 --- a/app/views/shopping_shared/_modals.html.haml +++ /dev/null @@ -1,17 +0,0 @@ -- for group in current_distributor.groups - - for sibling in group.enterprises.except(current_distributor) - .reveal-modal{id: "sibling_details_#{sibling.id}", "data-reveal" => ""} - .row - - if sibling.logo.exists? - .large-1.columns - %img.left{src: sibling.logo.url(:thumb)} - .large-11.columns - %h2 - = sibling.name - .row - .large-8.columns - = sibling.long_description.andand.html_safe - - if sibling.promo_image.exists? - .large-4.columns - %img.about.right{src: sibling.promo_image.url(:large)} - %a.close-reveal-modal ×