Skip to content

Commit

Permalink
fixes email confirmation status and locked out status formatting, whi…
Browse files Browse the repository at this point in the history
…ch broke a bit
  • Loading branch information
Masterjun3 committed Nov 19, 2024
1 parent b4df061 commit f71b1dd
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions TASVideos/Pages/Shared/_Profile.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,13 @@
</div>
<br/>
<label asp-for="EmailConfirmed"></label>
<span condition="Model.EmailConfirmed" class="fa fa-check-square text-success"></span><span> Yes</span>
<div><span condition="!Model.EmailConfirmed" class="fa fa-exclamation-triangle text-danger"></span> No</div>
<div condition="Model.EmailConfirmed"><i class="fa fa-check-square text-success"></i> No</div>
<div condition="!Model.EmailConfirmed"><i class="fa fa-exclamation-triangle text-danger"></i> No</div>
<br/>
<label asp-for="LockedOutStatus"></label>
<span condition="Model.LockedOutStatus" class="fa fa-exclamation-triangle text-danger"></span><span> Locked out</span>
<span condition="!Model.LockedOutStatus" class="fa fa-check-square text-success"></span><span> Not locked</span>
<div condition="Model.LockedOutStatus"><i class="fa fa-exclamation-triangle text-danger"></i><span> Locked out</span></div>
<div condition="!Model.LockedOutStatus"><i class="fa fa-check-square text-success"></i><span> Not locked</span></div>
<br />
<div>
<a permission="ViewPrivateUserData" asp-page="/Users/Ips" asp-route-username="@Model.UserName" class="btn btn-warning btn-sm">IP Addresses used</a>
</div>
Expand Down

0 comments on commit f71b1dd

Please sign in to comment.