mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-03-09 16:04:43 +01:00
* Newlines * Dashboard * Add more translations * Moar * Remove from translated texts * Dictionary controller translations * Batch 1 of controller updates * Batch 2 of controller updates * Component translations * Batch 3 of controller updates * Fixes
18 lines
664 B
Text
18 lines
664 B
Text
@model DateTimeOffset?
|
|
@{
|
|
ViewData["Title"] = "Account disabled";
|
|
Layout = "_LayoutSignedOut";
|
|
}
|
|
|
|
@if (Model is null)
|
|
{
|
|
<p class="mb-0" text-translate="true">This account has been locked out because of multiple invalid login attempts. Please try again later.</p>
|
|
}
|
|
else if (DateTimeOffset.MaxValue - Model.Value < TimeSpan.FromSeconds(1))
|
|
{
|
|
<p class="mb-0" text-translate="true">Your account has been disabled. Please contact server administrator.</p>
|
|
}
|
|
else
|
|
{
|
|
<p class="mb-0"><span text-translate="true">This account has been locked out. Please try again</span> @Model.Value.ToBrowserDate(ViewsRazor.DateDisplayFormat.Relative).</p>
|
|
}
|