From 6a4de7c7e2916d6361a165ade4bd3e5497e12362 Mon Sep 17 00:00:00 2001 From: Rob Harrington Date: Fri, 24 Apr 2015 19:35:18 +1000 Subject: [PATCH] Hiding filters on list views because styling is broken --- app/views/home/_filters.html.haml | 37 +++++++++++++------------- app/views/producers/_filters.html.haml | 30 ++++++++++----------- 2 files changed, 34 insertions(+), 33 deletions(-) diff --git a/app/views/home/_filters.html.haml b/app/views/home/_filters.html.haml index 7fcda4bbf4b..6b339c13c92 100644 --- a/app/views/home/_filters.html.haml +++ b/app/views/home/_filters.html.haml @@ -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' diff --git a/app/views/producers/_filters.html.haml b/app/views/producers/_filters.html.haml index b548bd90c49..ec23c05b92a 100644 --- a/app/views/producers/_filters.html.haml +++ b/app/views/producers/_filters.html.haml @@ -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'