mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Markup change for taxon to be spat out correctly in shopfront view
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
%img{"bo-src" => "product.master.images[0].small_url"}
|
||||
|
||||
.small-4.columns.summary-header
|
||||
%object.taxon{"data" => "{{primary_taxon.icon}}", type: "image/svg+xml",
|
||||
%object.taxon{"ng-attr-data" => "{{product.primary_taxon.icon}}", type: "image/svg+xml",
|
||||
"ng-click" => "ordering.order = 'primary_taxon.name'"}
|
||||
{{taxon.name}}
|
||||
= render partial: "modals/product"
|
||||
|
||||
Reference in New Issue
Block a user