mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Removing groups modals
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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 ×
|
||||
Reference in New Issue
Block a user