mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-09 23:06:06 +00:00
15 lines
724 B
Plaintext
15 lines
724 B
Plaintext
%ul
|
|
-# In order for the single-line-selector scope to have access to the available selectors,
|
|
%filter-selector{objects: "objects()", "active-selectors" => "activeSelectors", "all-selectors" => "allSelectors" }
|
|
|
|
%li.more{ ng: { show: "overFlowSelectors().length > 0 || fitting", class: "{active: selectedOverFlowSelectors().length > 0}" } }
|
|
%a.dropdown{ dropdown: { toggle: "#show-more" } }
|
|
%span
|
|
+ {{ overFlowSelectors().length }} more
|
|
%i.ofn-i_052-point-down
|
|
.f-dropdown.content#show-more
|
|
%ul
|
|
%active-selector{ ng: { repeat: "selector in overFlowSelectors()", hide: "selector.fits" } }
|
|
%render-svg{path: "{{selector.object.icon}}"}
|
|
%span {{ selector.object.name }}
|