From 6ba98b4b2c622e531d64627fa600b59bd6f1b376 Mon Sep 17 00:00:00 2001 From: Matt-Yorkley <9029026+Matt-Yorkley@users.noreply.github.com> Date: Tue, 6 Aug 2019 17:02:38 +0100 Subject: [PATCH] Add beta notice to Product Import --- app/views/admin/product_import/index.html.haml | 7 +++++++ config/locales/en.yml | 2 ++ 2 files changed, 9 insertions(+) diff --git a/app/views/admin/product_import/index.html.haml b/app/views/admin/product_import/index.html.haml index 77de45acc9..5f9a66f4fe 100644 --- a/app/views/admin/product_import/index.html.haml +++ b/app/views/admin/product_import/index.html.haml @@ -5,4 +5,11 @@ = render 'upload_sidebar' +%h5 + = t('.notice') +%br +%p + = t('.beta_notice') +%br + = render 'upload_form' diff --git a/config/locales/en.yml b/config/locales/en.yml index e624d1d964..05870151fb 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -506,6 +506,8 @@ en: encoding_error: "Please check the language setting of your source file and ensure it is saved with UTF-8 encoding" unexpected_error: "Product Import encountered an unexpected error whilst opening the file: %{error_message}" index: + notice: "Notice" + beta_notice: "This feature is still in beta: you may experience some errors while using it. Please don't hesitate to contact support." select_file: Select a spreadsheet to upload spreadsheet: Spreadsheet choose_import_type: Select import type