From 87199ca91c637e1214ea87d83ad9aac72bfe121e Mon Sep 17 00:00:00 2001 From: Poornima Nayar Date: Thu, 2 Jan 2020 10:27:06 +0000 Subject: [PATCH] @poornimanayar Changed the styles from warning to danger for the confirm delete button, added localization keys --- .../grid/dialogs/rowdeleteconfirm.html | 66 ++++++++----------- src/Umbraco.Web.UI/Umbraco/config/lang/en.xml | 5 ++ .../Umbraco/config/lang/en_us.xml | 5 ++ 3 files changed, 39 insertions(+), 37 deletions(-) diff --git a/src/Umbraco.Web.UI.Client/src/views/propertyeditors/grid/dialogs/rowdeleteconfirm.html b/src/Umbraco.Web.UI.Client/src/views/propertyeditors/grid/dialogs/rowdeleteconfirm.html index 2bf1f00b0e..02b92f44f7 100644 --- a/src/Umbraco.Web.UI.Client/src/views/propertyeditors/grid/dialogs/rowdeleteconfirm.html +++ b/src/Umbraco.Web.UI.Client/src/views/propertyeditors/grid/dialogs/rowdeleteconfirm.html @@ -1,53 +1,45 @@
+ + + + +

Warning!

- +

+ You are deleting the row configuration {{model.dialogData.rowName}} +

- - - +

+ + Modifying a row configuration name will result in loss of + data for any existing content that is based on this configuration. + +

+

+ Are you sure? +

+
+
+
-

Warning!

- -

- You are deleting the row configuration '{{model.dialogData.rowName}}' -

- -

- Modifying a row configuration name will result in loss of - data for any existing content that is based on this configuration. -

- -

- Are you sure? -

- - - - -
-
-
- - - - + + - - + - - - + + +
diff --git a/src/Umbraco.Web.UI/Umbraco/config/lang/en.xml b/src/Umbraco.Web.UI/Umbraco/config/lang/en.xml index c3b52d7d83..e8c2e8d58a 100644 --- a/src/Umbraco.Web.UI/Umbraco/config/lang/en.xml +++ b/src/Umbraco.Web.UI/Umbraco/config/lang/en.xml @@ -1572,6 +1572,11 @@ To manage your website, simply open the Umbraco back office and start adding con Choose extra Choose default are added + Warning + You are deleting the row configuration + + Deleting a row configuration name will result in loss of data for any existing content that is based on this configuration. + Compositions diff --git a/src/Umbraco.Web.UI/Umbraco/config/lang/en_us.xml b/src/Umbraco.Web.UI/Umbraco/config/lang/en_us.xml index 38085f9cb5..9d077941db 100644 --- a/src/Umbraco.Web.UI/Umbraco/config/lang/en_us.xml +++ b/src/Umbraco.Web.UI/Umbraco/config/lang/en_us.xml @@ -1586,6 +1586,11 @@ To manage your website, simply open the Umbraco back office and start adding con Choose extra Choose default are added + Warning + You are deleting the row configuration + + Deleting a row configuration name will result in loss of data for any existing content that is based on this configuration. + Compositions