mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Fixing missing taxons
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
child supplied_taxons: :taxons do
|
||||
extends 'json/taxon'
|
||||
end
|
||||
child distributors: :hubs do
|
||||
attributes :id
|
||||
end
|
||||
node :path do |producer|
|
||||
main_app.producer_path(producer)
|
||||
end
|
||||
|
||||
child supplied_taxons: :supplied_taxons do
|
||||
extends 'json/taxon'
|
||||
end
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
.row.active_table_row{"ng-show" => "open()"}
|
||||
.columns.small-12.large-4
|
||||
|
||||
%div{"bo-if" => "producer.taxons"}
|
||||
%div{"ng-if" => "producer.supplied_taxons"}
|
||||
%h5
|
||||
%i.ofn-i_029-shopping-basket
|
||||
Shop for
|
||||
%p.trans-sentence
|
||||
%span.fat-taxons{"ng-repeat" => "taxon in producer.taxons"}
|
||||
%span.fat-taxons{"ng-repeat" => "taxon in producer.supplied_taxons"}
|
||||
%render-svg{path: "{{taxon.icon}}"}
|
||||
{{taxon.name}}
|
||||
.columns.small-12.large-3
|
||||
|
||||
Reference in New Issue
Block a user