mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Mark inactive distributors on supplier distributors list
This commit is contained in:
@@ -244,6 +244,11 @@ ul.product-listing {
|
||||
}
|
||||
|
||||
|
||||
/* Supplier page distributor listing */
|
||||
#supplier-distributors li a.inactive {
|
||||
color: #999;
|
||||
}
|
||||
|
||||
|
||||
/* Highlight local products in distributor-split product listings */
|
||||
#products-local ul {
|
||||
|
||||
@@ -10,6 +10,6 @@
|
||||
%h3 Hubs that distribute our products
|
||||
%p.hint Select a hub to start shopping:
|
||||
|
||||
%ul.distributors
|
||||
%ul#supplier-distributors
|
||||
- @distributors.each do |distributor|
|
||||
%li= link_to distributor.name, shop_enterprise_path(distributor)
|
||||
%li= link_to distributor.name, shop_enterprise_path(distributor), {class: temp_landing_page_distributor_link_class(distributor)}
|
||||
|
||||
Reference in New Issue
Block a user