mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-09 23:06:06 +00:00
Show and hide search box
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user