mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
available_on column has been deleted
https://github.com/openfoodfoundation/openfoodnetwork/pull/11136
This commit is contained in:
@@ -8,7 +8,6 @@
|
||||
%col{ width:"10%" }
|
||||
%col{ width:"5%" }
|
||||
%col{ width:"5%", style: "max-width:5em" }
|
||||
%col{ width:"8%", style: "max-width:8em" }
|
||||
%thead
|
||||
%tr
|
||||
%th.align-left= t('admin.product.name')
|
||||
@@ -20,7 +19,6 @@
|
||||
%th.align-left= t('admin.category')
|
||||
%th.align-left= t('admin.tax_category')
|
||||
%th.align-left= t('admin.inherits_properties')
|
||||
%th.align-right= t('admin.available_on')
|
||||
- products.each do |product|
|
||||
%tbody.relaxed
|
||||
%tr
|
||||
@@ -46,8 +44,6 @@
|
||||
.line-clamp-1= product.tax_category&.name
|
||||
%td.align-left
|
||||
.line-clamp-1= product.inherits_properties ? 'YES' : 'NO' #TODO: consider using https://github.com/RST-J/human_attribute_values, else use I18n.t (also below)
|
||||
%td.align-right
|
||||
.line-clamp-1= product.available_on&.strftime('%F')
|
||||
- product.variants.each do |variant|
|
||||
%tr.condensed
|
||||
%td.align-left
|
||||
@@ -68,6 +64,4 @@
|
||||
.line-clamp-1= variant.tax_category&.name
|
||||
%td.align-left
|
||||
.line-clamp-1= variant.product.inherits_properties ? 'YES' : 'NO' # same as product
|
||||
%td.align-right
|
||||
.line-clamp-1= variant.available_on&.strftime('%F')
|
||||
|
||||
|
||||
@@ -4258,7 +4258,6 @@ See the %{link} to find out more about %{sitename}'s features and to start using
|
||||
category: Category
|
||||
tax_category: Tax Category
|
||||
inherits_properties?: Inherits Properties?
|
||||
available_on: Available On
|
||||
av_on: "Av. On"
|
||||
import_date: "Import Date"
|
||||
products_variant:
|
||||
|
||||
Reference in New Issue
Block a user