diff --git a/app/views/admin/products_v3/_table.html.haml b/app/views/admin/products_v3/_table.html.haml index b582da532f..facf18c5d8 100644 --- a/app/views/admin/products_v3/_table.html.haml +++ b/app/views/admin/products_v3/_table.html.haml @@ -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') diff --git a/config/locales/en.yml b/config/locales/en.yml index 682e090f86..b89752a37c 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -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: