diff --git a/app/overrides/spree/admin/shipping_categories/index/add_temp_controlled_td.html.haml.deface b/app/overrides/spree/admin/shipping_categories/index/add_temp_controlled_td.html.haml.deface deleted file mode 100644 index 825a764914..0000000000 --- a/app/overrides/spree/admin/shipping_categories/index/add_temp_controlled_td.html.haml.deface +++ /dev/null @@ -1,5 +0,0 @@ -/ insert_after "[data-hook='category_row'] td:first-child" - -%td.align-center - = shipping_category.temperature_controlled ? t(:yes) : t(:no) - %br/ diff --git a/app/overrides/spree/admin/shipping_categories/index/add_temp_controlled_th.html.haml.deface b/app/overrides/spree/admin/shipping_categories/index/add_temp_controlled_th.html.haml.deface deleted file mode 100644 index 0b41db13d5..0000000000 --- a/app/overrides/spree/admin/shipping_categories/index/add_temp_controlled_th.html.haml.deface +++ /dev/null @@ -1,4 +0,0 @@ -/ insert_after "[data-hook='categories_header'] th:first-child" - -%th - = t(:temperature_controlled) diff --git a/app/views/spree/admin/shipping_categories/index.html.haml b/app/views/spree/admin/shipping_categories/index.html.haml index d91e0a22ab..e4b9356e32 100644 --- a/app/views/spree/admin/shipping_categories/index.html.haml +++ b/app/views/spree/admin/shipping_categories/index.html.haml @@ -14,11 +14,16 @@ %thead %tr{"data-hook" => "categories_header"} %th= Spree.t(:name) + %th + = t(:temperature_controlled) %th.actions %tbody - @shipping_categories.each do |shipping_category| %tr{:class => "#{cycle('odd', 'even')}", "data-hook" => "category_row", :id => "#{spree_dom_id shipping_category}"} %td{:style => "width:350px;"}= shipping_category.name + %td.align-center + = shipping_category.temperature_controlled ? t(:yes) : t(:no) + %br/ %td.actions = link_to_edit shipping_category, :no_text => true = link_to_delete shipping_category, :no_text => true