Mark inactive distributors on supplier distributors list

This commit is contained in:
Rohan Mitchell
2013-10-31 14:59:47 +11:00
parent 758676c1ea
commit eb997c94a2
2 changed files with 7 additions and 2 deletions

View File

@@ -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 {

View File

@@ -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)}