Markup change for taxon to be spat out correctly in shopfront view

This commit is contained in:
summerscope
2014-06-12 16:17:41 +10:00
parent 365c14d4fe
commit f9ded4c616

View File

@@ -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"