Skip to content

Commit

Permalink
Remove extra alerts
Browse files Browse the repository at this point in the history
  • Loading branch information
hishamco committed Sep 10, 2023
1 parent 769e745 commit e8a5090
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 17 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
@model HttpsSettingsViewModel

<p class="alert alert-warning">@T["The current tenant will be reloaded when the settings are saved."]</p>

<div class="mb-3" asp-validation-class-for="RequireHttps">
<div class="form-check">
<input type="checkbox" class="form-check-input" asp-for="RequireHttps" asp-is-disabled="@(!Model.IsHttpsRequest)" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
@using Newtonsoft.Json
@using System.Globalization

<p class="alert alert-warning col-xl-6">@T["The current tenant will be reloaded when the settings are saved."]</p>

@{
// ['fr-FR', 'en-US']
var supportedCultures = JsonConvert.SerializeObject(Model.Cultures.Where(x => x.Supported).Select(c => c.CultureInfo.Name).ToArray());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
@using Microsoft.IdentityModel.Protocols.OpenIdConnect
@model OpenIdClientSettingsViewModel

<p class="alert alert-warning">@T["The current tenant will be reloaded when the settings are saved."]</p>


<script asp-src="~/OrchardCore.OpenId/Scripts/parametersEditor.min.js" debug-src="~/OrchardCore.OpenId/Scripts/parametersEditor.js" asp-name="parametersEditor" at="Foot" depends-on="vuejs, vuedraggable"></script>
<style asp-src="~/OrchardCore.OpenId/Styles/parametersEditor.min.css" debug-src="~/OrchardCore.OpenId/Styles/parametersEditor.css"></style>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
@using System.Security.Cryptography.X509Certificates
@model OpenIdServerSettingsViewModel

<p class="alert alert-warning">@T["The current tenant will be reloaded when the settings are saved."]</p>

<h3>@T["Endpoints"]</h3>
<div class="mb-3" asp-validation-class-for="EnableTokenEndpoint">
<div class="form-check">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
@using OrchardCore.OpenId.ViewModels
@model OpenIdValidationSettingsViewModel

<p class="alert alert-warning">@T["The current tenant will be reloaded when the settings are saved."]</p>

<p class="alert alert-warning">
@T["To be able to validate tokens issued by a separate tenant, " +
"you must register a custom scope in the server options " +
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
@model ReCaptchaSettingsViewModel

<p class="alert alert-warning">@T["The current tenant will be reloaded when the settings are saved."]</p>

<div class="mb-3" asp-validation-class-for="SiteKey">
<label asp-for="SiteKey">@T["Site Key"]</label>
<input asp-for="SiteKey" class="form-control" type="text" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@

@inject IClientIPAddressAccessor ClientIPAddressAccessor

<p class="alert alert-warning">
@T["The current tenant will be reloaded when the settings are saved."]
</p>

<div class="mb-3" asp-validation-class-for="EnableXForwardedFor">
<div class="form-check">
<label class="form-check-label">
Expand Down

0 comments on commit e8a5090

Please sign in to comment.