Show and hide search box

This commit is contained in:
Rob Harrington
2015-03-18 12:01:53 +11:00
parent 2b32252aff
commit bfe7f49033

View File

@@ -2,16 +2,14 @@
"infinite-scroll" => "incrementLimit()", "infinite-scroll-distance" => "1"}
// TODO: Needs an ng-show to slide content down
.row.animate-hide
.row.animate-hide.animate-show{ "ng-show" => "query || appliedPropertiesList() || appliedTaxonsList()" }
.small-12.columns
.alert-box.search-alert.ng-scope{"ng-show" => "visible", "ofn-inline-alert" => ""}
.alert-box.search-alert.ng-scope
%a.right{"ng-click" => "clearAll()"}
Clear all
%i.ofn-i_009-close
%span.filter-label
Showing:
%span{ ng: { show: "!query && !appliedPropertiesList() && !appliedTaxonsList()"} }
All
%span.applied-properties
{{ appliedPropertiesList() }}
%span.applied-taxons