diff --git a/app/views/spree/admin/orders/index.html.haml b/app/views/spree/admin/orders/index.html.haml index 80fe18217d..244b2e8f1c 100644 --- a/app/views/spree/admin/orders/index.html.haml +++ b/app/views/spree/admin/orders/index.html.haml @@ -43,7 +43,7 @@ - ['number', 'state', 'payment_state', 'shipment_state', 'email', 'total'].each do |column_name| %th - = render partial: 'sortable_header', locals: {column_name: column_name} + = render partial: 'spree/admin/shared/sortable_header', locals: {column_name: column_name} %th.actions %tbody diff --git a/app/views/spree/admin/products/index/_products_head.html.haml b/app/views/spree/admin/products/index/_products_head.html.haml index e0b55fea92..4f549c73e7 100644 --- a/app/views/spree/admin/products/index/_products_head.html.haml +++ b/app/views/spree/admin/products/index/_products_head.html.haml @@ -27,7 +27,7 @@ %th.producer{ 'ng-show' => 'columns.producer.visible' }=t('admin.producer') %th.sku{ 'ng-show' => 'columns.sku.visible' }=t('admin.sku') %th.name{ 'ng-show' => 'columns.name.visible' } - = render partial: 'spree/admin/orders/sortable_header', locals: {column_name: 'name'} + = render partial: 'spree/admin/shared/sortable_header', locals: {column_name: 'name'} %th.unit{ 'ng-show' => 'columns.unit.visible' }=t('.unit') %th.display_as{ 'ng-show' => 'columns.unit.visible' }=t('.display_as') %th.price{ 'ng-show' => 'columns.price.visible' }=t('admin.price') diff --git a/app/views/spree/admin/orders/_sortable_header.html.haml b/app/views/spree/admin/shared/_sortable_header.html.haml similarity index 100% rename from app/views/spree/admin/orders/_sortable_header.html.haml rename to app/views/spree/admin/shared/_sortable_header.html.haml