mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-26 01:33:22 +00:00
Merge pull request #13275 from slothmock/fix-#13264
Fix #13264 - missing 'ng-bind-html'
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
.exchange-product{'ng-repeat' => 'product in enterprises[exchange.enterprise_id].supplied_products | filter:visibleProducts:exchange:order_cycle.visible_variants_for_outgoing_exchanges' }
|
||||
.exchange-product-details
|
||||
%label
|
||||
%img{'ng-src' => '{{ product.image_url }}'}
|
||||
%img{'ng-src' => '{{ product.image_url }}'}
|
||||
.name {{ product.name }}
|
||||
.supplier {{ product.supplier_name }}
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
%tr.variant{ id: "v_{{variant.id}}", "ng-repeat": 'variant in product.variants | inventoryVariants:hub_id:views' }
|
||||
%td.producer{ "ng-show": 'columns.producer.visible', "ng-bind": '::producersByID[variant.producer_id].name' }
|
||||
%td.producer{ "ng-show": 'columns.producer.visible', "ng-bind-html": '::producersByID[variant.producer_id].name' }
|
||||
%td.product{ "ng-show": 'columns.product.visible' }
|
||||
%span{ "ng-bind": '::variant.display_name || ""' }
|
||||
.variant-override-unit{ "ng-bind": '::variant.unit_to_display' }
|
||||
|
||||
Reference in New Issue
Block a user