modify cookie consent text
This commit is contained in:
parent
8518476c87
commit
f315ad1ce9
|
@ -120,8 +120,8 @@
|
||||||
<data name="Confirm" xml:space="preserve">
|
<data name="Confirm" xml:space="preserve">
|
||||||
<value>Confirm</value>
|
<value>Confirm</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="ConsentDescription" xml:space="preserve">
|
<data name="ConsentNotice" xml:space="preserve">
|
||||||
<value>I agree to using cookies to provide the best user experience for this site.</value>
|
<value>I agree to use cookies to provide the best possible user experience for this site. I understand that I can change these preferences at any time.</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="Privacy" xml:space="preserve">
|
<data name="Privacy" xml:space="preserve">
|
||||||
<value>Privacy</value>
|
<value>Privacy</value>
|
||||||
|
|
|
@ -12,26 +12,33 @@
|
||||||
@if (_showBanner)
|
@if (_showBanner)
|
||||||
{
|
{
|
||||||
<input type="hidden" name="@Constants.RequestVerificationToken" value="@SiteState.AntiForgeryToken" />
|
<input type="hidden" name="@Constants.RequestVerificationToken" value="@SiteState.AntiForgeryToken" />
|
||||||
<div class="container-fluid d-flex justify-content-between align-items-center">
|
<div class="container-fluid d-flex">
|
||||||
<div>
|
<div class="col-10">
|
||||||
@((MarkupString)Convert.ToString(Localizer["ConsentDescription"]))
|
|
||||||
@if (PageState.RenderMode == RenderModes.Static)
|
@if (PageState.RenderMode == RenderModes.Static)
|
||||||
{
|
{
|
||||||
<input type="checkbox" name="cantrack" checked="@_canTrack" value="1" class="form-check-input ms-2" />
|
<input type="checkbox" name="cantrack" checked="@_canTrack" value="1" class="form-check-input me-2" />
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
<input type="checkbox" name="cantrack" @bind="@_canTrack" value="1" class="form-check-input ms-2" />
|
<input type="checkbox" name="cantrack" @bind="@_canTrack" value="1" class="form-check-input me-2" />
|
||||||
}
|
}
|
||||||
|
@((MarkupString)Convert.ToString(Localizer["ConsentNotice"]))
|
||||||
|
</div>
|
||||||
|
<div class="col-2">
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-md-6 col-xs-6 text-center">
|
||||||
|
<button class="btn btn-primary mb-1" type="submit">@((MarkupString)Convert.ToString(Localizer["Confirm"]))</button>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
|
||||||
<button class="btn btn-primary" type="submit">@((MarkupString)Convert.ToString(Localizer["Confirm"]))</button>
|
|
||||||
@if (ShowPrivacyLink)
|
@if (ShowPrivacyLink)
|
||||||
{
|
{
|
||||||
<a class="btn btn-secondary ms-2" href="/privacy" target="_blank">@((MarkupString)Convert.ToString(Localizer["Privacy"]))</a>
|
<div class="col-md-6 col-xs-6 text-center">
|
||||||
|
<a class="btn btn-secondary mb-1 ms-2" href="/privacy" target="_blank">@((MarkupString)Convert.ToString(Localizer["Privacy"]))</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
}
|
}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
}
|
}
|
||||||
</form>
|
</form>
|
||||||
<form method="post" @formname="CookieConsentToggleForm" @onsubmit="async () => await ToggleBanner()" data-enhance>
|
<form method="post" @formname="CookieConsentToggleForm" @onsubmit="async () => await ToggleBanner()" data-enhance>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user