Skip to content

Commit

Permalink
Hiding filters on list views because styling is broken
Browse files Browse the repository at this point in the history
  • Loading branch information
oeoeaio committed Apr 24, 2015
1 parent 505fd8f commit 6a4de7c
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 33 deletions.
37 changes: 19 additions & 18 deletions app/views/home/_filters.html.haml
Original file line number Diff line number Diff line change
@@ -1,21 +1,22 @@
.row
= render partial: 'shared/components/filter_controls'
-# = 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
-# %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'
30 changes: 15 additions & 15 deletions app/views/producers/_filters.html.haml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
.row
= render partial: 'shared/components/filter_controls'
.small-12.medium-6.columns.text-right
 

.row.animate-show{"ng-show" => "filtersActive"}
.small-12.columns
.row.filter-box
.small-12.columns
%h5.tdhead
.light Filter by
Type
%ul.small-block-grid-2.medium-block-grid-4.large-block-grid-6
%filter-selector{objects: "Enterprises.producers | searchEnterprises:query | taxonsOf", "active-selectors" => "activeTaxons"}
= render partial: 'shared/components/filter_box'
-# .row
-# = render partial: 'shared/components/filter_controls'
-# .small-12.medium-6.columns.text-right
-#  
-#
-# .row.animate-show{"ng-show" => "filtersActive"}
-# .small-12.columns
-# .row.filter-box
-# .small-12.columns
-# %h5.tdhead
-# .light Filter by
-# Type
-# %ul.small-block-grid-2.medium-block-grid-4.large-block-grid-6
-# %filter-selector{objects: "Enterprises.producers | searchEnterprises:query | taxonsOf", "active-selectors" => "activeTaxons"}
-# = render partial: 'shared/components/filter_box'

0 comments on commit 6a4de7c

Please sign in to comment.