mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Incorrect place for origianl fix. Thanks to Blane W for pointint out the correct line.
This commit is contained in:
@@ -16,8 +16,8 @@
|
||||
.exchange-product-details
|
||||
%label
|
||||
%img{'ng-src' => '{{ product.image_url }}'}
|
||||
.name {{ 'ng-bind' => product.name }}
|
||||
.supplier {{ 'ng-bind' => product.supplier_name }}
|
||||
.name {{ product.name }}
|
||||
.supplier {{ product.supplier_name }}
|
||||
|
||||
.exchange-product-variant{'ng-repeat' => 'variant in product.variants | visibleVariants:exchange:order_cycle.visible_variants_for_outgoing_exchanges | filter:variantSuppliedToOrderCycle as filteredVariants'}
|
||||
%label
|
||||
|
||||
@@ -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