mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-28 06:15:17 +00:00
fixed failing i18n test in variant overrides
This commit is contained in:
committed by
Nicolas Blanc
parent
68db9b9926
commit
54ecdb670d
@@ -10,14 +10,22 @@
|
||||
%col.inheritance{ width: "5%", ng: { show: 'columns.inheritance.visible' } }
|
||||
%thead
|
||||
%tr{ ng: { controller: "ColumnsCtrl" } }
|
||||
%th.producer{ ng: { show: 'columns.producer.visible' } } = t(:producer)
|
||||
%th.product{ ng: { show: 'columns.product.visible' } } = t(:product)
|
||||
%th.sku{ ng: { show: 'columns.sku.visible' } } SKU
|
||||
%th.price{ ng: { show: 'columns.price.visible' } } = t(:price)
|
||||
%th.on_hand{ ng: { show: 'columns.on_hand.visible' } } = t(:on_hand)
|
||||
%th.on_demand{ ng: { show: 'columns.on_demand.visible' } } On Demand?
|
||||
%th.reset{ colspan: 2, ng: { show: 'columns.reset.visible' } } Enable Stock Level Reset?
|
||||
%th.inheritance{ ng: { show: 'columns.inheritance.visible' } } Inherit?
|
||||
%th.producer{ ng: { show: 'columns.producer.visible' } }
|
||||
= t(:producer)
|
||||
%th.product{ ng: { show: 'columns.product.visible' } }
|
||||
= t(:product)
|
||||
%th.sku{ ng: { show: 'columns.sku.visible' } }
|
||||
= t(:products_sku)
|
||||
%th.price{ ng: { show: 'columns.price.visible' } }
|
||||
= t(:price)
|
||||
%th.on_hand{ ng: { show: 'columns.on_hand.visible' } }
|
||||
= t(:on_hand)
|
||||
%th.on_demand{ ng: { show: 'columns.on_demand.visible' } }
|
||||
= t(:products_on_demand)
|
||||
%th.reset{ colspan: 2, ng: { show: 'columns.reset.visible' } }
|
||||
= t(:products_stock_level_reset)
|
||||
%th.inheritance{ ng: { show: 'columns.inheritance.visible' } }
|
||||
= t(:products_inherit)
|
||||
%tbody{bindonce: true, ng: {repeat: 'product in products | hubPermissions:hubPermissions:hub.id | attrFilter:{producer_id:producerFilter} | filter:query' } }
|
||||
= render 'admin/variant_overrides/products_product'
|
||||
= render 'admin/variant_overrides/products_variants'
|
||||
|
||||
Reference in New Issue
Block a user