From 769e7454b78f0354542c72e20f3cea887dc1cc65 Mon Sep 17 00:00:00 2001 From: Hisham Bin Ateya Date: Sat, 9 Sep 2023 22:10:01 +0300 Subject: [PATCH 1/6] Remove extra warning alert from SmtpSettings.Edit --- .../OrchardCore.Email/Views/SmtpSettings.Edit.cshtml | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/OrchardCore.Modules/OrchardCore.Email/Views/SmtpSettings.Edit.cshtml b/src/OrchardCore.Modules/OrchardCore.Email/Views/SmtpSettings.Edit.cshtml index 6577618403d..59d1f530a20 100644 --- a/src/OrchardCore.Modules/OrchardCore.Email/Views/SmtpSettings.Edit.cshtml +++ b/src/OrchardCore.Modules/OrchardCore.Email/Views/SmtpSettings.Edit.cshtml @@ -1,8 +1,6 @@ @using OrchardCore.Email @model SmtpSettings -

@T["The current tenant will be reloaded when the settings are saved."]

-
From e8a50901f2e4f1ed99291077c987a6efaa42144a Mon Sep 17 00:00:00 2001 From: Hisham Bin Ateya Date: Sun, 10 Sep 2023 15:00:05 +0300 Subject: [PATCH 2/6] Remove extra alerts --- .../OrchardCore.Https/Views/HttpsSettings.Edit.cshtml | 2 -- .../Views/LocalizationSettings.Edit.cshtml | 2 -- .../OrchardCore.OpenId/Views/OpenIdClientSettings.Edit.cshtml | 3 --- .../OrchardCore.OpenId/Views/OpenIdServerSettings.Edit.cshtml | 2 -- .../Views/OpenIdValidationSettings.Edit.cshtml | 2 -- .../OrchardCore.ReCaptcha/Views/ReCaptchaSettings.Edit.cshtml | 2 -- .../Views/ReverseProxySettings.Edit.cshtml | 4 ---- 7 files changed, 17 deletions(-) diff --git a/src/OrchardCore.Modules/OrchardCore.Https/Views/HttpsSettings.Edit.cshtml b/src/OrchardCore.Modules/OrchardCore.Https/Views/HttpsSettings.Edit.cshtml index ab97d104a4e..e76c6d89291 100644 --- a/src/OrchardCore.Modules/OrchardCore.Https/Views/HttpsSettings.Edit.cshtml +++ b/src/OrchardCore.Modules/OrchardCore.Https/Views/HttpsSettings.Edit.cshtml @@ -1,7 +1,5 @@ @model HttpsSettingsViewModel -

@T["The current tenant will be reloaded when the settings are saved."]

-
diff --git a/src/OrchardCore.Modules/OrchardCore.Localization/Views/LocalizationSettings.Edit.cshtml b/src/OrchardCore.Modules/OrchardCore.Localization/Views/LocalizationSettings.Edit.cshtml index da034f5e429..eebe50a1217 100644 --- a/src/OrchardCore.Modules/OrchardCore.Localization/Views/LocalizationSettings.Edit.cshtml +++ b/src/OrchardCore.Modules/OrchardCore.Localization/Views/LocalizationSettings.Edit.cshtml @@ -2,8 +2,6 @@ @using Newtonsoft.Json @using System.Globalization -

@T["The current tenant will be reloaded when the settings are saved."]

- @{ // ['fr-FR', 'en-US'] var supportedCultures = JsonConvert.SerializeObject(Model.Cultures.Where(x => x.Supported).Select(c => c.CultureInfo.Name).ToArray()); diff --git a/src/OrchardCore.Modules/OrchardCore.OpenId/Views/OpenIdClientSettings.Edit.cshtml b/src/OrchardCore.Modules/OrchardCore.OpenId/Views/OpenIdClientSettings.Edit.cshtml index cc6a0438909..1d47f7a3666 100644 --- a/src/OrchardCore.Modules/OrchardCore.OpenId/Views/OpenIdClientSettings.Edit.cshtml +++ b/src/OrchardCore.Modules/OrchardCore.OpenId/Views/OpenIdClientSettings.Edit.cshtml @@ -2,9 +2,6 @@ @using Microsoft.IdentityModel.Protocols.OpenIdConnect @model OpenIdClientSettingsViewModel -

@T["The current tenant will be reloaded when the settings are saved."]

- - diff --git a/src/OrchardCore.Modules/OrchardCore.OpenId/Views/OpenIdServerSettings.Edit.cshtml b/src/OrchardCore.Modules/OrchardCore.OpenId/Views/OpenIdServerSettings.Edit.cshtml index 7ac34218a2c..06940356b2e 100644 --- a/src/OrchardCore.Modules/OrchardCore.OpenId/Views/OpenIdServerSettings.Edit.cshtml +++ b/src/OrchardCore.Modules/OrchardCore.OpenId/Views/OpenIdServerSettings.Edit.cshtml @@ -3,8 +3,6 @@ @using System.Security.Cryptography.X509Certificates @model OpenIdServerSettingsViewModel -

@T["The current tenant will be reloaded when the settings are saved."]

-

@T["Endpoints"]

diff --git a/src/OrchardCore.Modules/OrchardCore.OpenId/Views/OpenIdValidationSettings.Edit.cshtml b/src/OrchardCore.Modules/OrchardCore.OpenId/Views/OpenIdValidationSettings.Edit.cshtml index cb2700672dc..e9b7789a388 100644 --- a/src/OrchardCore.Modules/OrchardCore.OpenId/Views/OpenIdValidationSettings.Edit.cshtml +++ b/src/OrchardCore.Modules/OrchardCore.OpenId/Views/OpenIdValidationSettings.Edit.cshtml @@ -1,8 +1,6 @@ @using OrchardCore.OpenId.ViewModels @model OpenIdValidationSettingsViewModel -

@T["The current tenant will be reloaded when the settings are saved."]

-

@T["To be able to validate tokens issued by a separate tenant, " + "you must register a custom scope in the server options " + diff --git a/src/OrchardCore.Modules/OrchardCore.ReCaptcha/Views/ReCaptchaSettings.Edit.cshtml b/src/OrchardCore.Modules/OrchardCore.ReCaptcha/Views/ReCaptchaSettings.Edit.cshtml index 41b8bbd166e..8bbab80d841 100644 --- a/src/OrchardCore.Modules/OrchardCore.ReCaptcha/Views/ReCaptchaSettings.Edit.cshtml +++ b/src/OrchardCore.Modules/OrchardCore.ReCaptcha/Views/ReCaptchaSettings.Edit.cshtml @@ -1,7 +1,5 @@ @model ReCaptchaSettingsViewModel -

@T["The current tenant will be reloaded when the settings are saved."]

-
diff --git a/src/OrchardCore.Modules/OrchardCore.ReverseProxy/Views/ReverseProxySettings.Edit.cshtml b/src/OrchardCore.Modules/OrchardCore.ReverseProxy/Views/ReverseProxySettings.Edit.cshtml index 43cc396d590..481381ce2d0 100644 --- a/src/OrchardCore.Modules/OrchardCore.ReverseProxy/Views/ReverseProxySettings.Edit.cshtml +++ b/src/OrchardCore.Modules/OrchardCore.ReverseProxy/Views/ReverseProxySettings.Edit.cshtml @@ -4,10 +4,6 @@ @inject IClientIPAddressAccessor ClientIPAddressAccessor -

- @T["The current tenant will be reloaded when the settings are saved."] -

-