mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Adding filters back to the hub page
This commit is contained in:
@@ -1,22 +1,21 @@
|
||||
.row
|
||||
-# = render partial: 'shared/components/filter_controls'
|
||||
.small-12.medium-6.columns
|
||||
= render partial: 'shared/components/filter_controls'
|
||||
-# .small-12.medium-6.columns
|
||||
= render partial: 'shared/components/show_profiles'
|
||||
|
||||
-# .row.animate-show{"ng-show" => "filtersActive"}
|
||||
-# .small-12.columns
|
||||
-# .row.filter-box
|
||||
-# .small-12.large-9.columns
|
||||
-# %h5.tdhead
|
||||
-# .light Filter by
|
||||
-# Type
|
||||
-# %ul.small-block-grid-2.medium-block-grid-4.large-block-grid-5
|
||||
-# %filter-selector{objects: "Enterprises.hubs | searchEnterprises:query | taxonsOf", "active-selectors" => "activeTaxons"}
|
||||
-# .small-12.large-3.columns
|
||||
-# %h5.tdhead
|
||||
-# .light Filter by
|
||||
-# Delivery
|
||||
-# %ul.small-block-grid-2.medium-block-grid-4.large-block-grid-2
|
||||
-# %shipping-type-selector{results: "shippingTypes"}
|
||||
-#
|
||||
-# = render partial: 'shared/components/filter_box'
|
||||
.row.animate-show{"ng-show" => "filtersActive"}
|
||||
.small-12.columns
|
||||
.row.filter-box
|
||||
.small-12.large-9.columns
|
||||
%h5.tdhead
|
||||
.light Filter by
|
||||
Type
|
||||
%filter-selector.small-block-grid-2.medium-block-grid-4.large-block-grid-5{ objects: "Enterprises.hubs | searchEnterprises:query | taxonsOf", "active-selectors" => "activeTaxons" }
|
||||
.small-12.large-3.columns
|
||||
%h5.tdhead
|
||||
.light Filter by
|
||||
Delivery
|
||||
%ul.small-block-grid-2.medium-block-grid-4.large-block-grid-2
|
||||
%shipping-type-selector{results: "shippingTypes"}
|
||||
|
||||
= render partial: 'shared/components/filter_box'
|
||||
|
||||
Reference in New Issue
Block a user