[backend/razor] Add indication for migrated users to public preview
This commit is contained in:
parent
6bd9a50777
commit
e72b124497
1 changed files with 6 additions and 0 deletions
|
@ -42,5 +42,11 @@ else
|
|||
<div class="bio">
|
||||
@Html.Raw(Model.Bio ?? "<i>This user hasn't added a bio yet.</i>")
|
||||
</div>
|
||||
@if (Model.User.MovedToUri is { } target)
|
||||
{
|
||||
<div class="bio">
|
||||
<i>This user has migrated to a <a href="@target">different account</a>.</i>
|
||||
</div>
|
||||
}
|
||||
</div>
|
||||
}
|
Loading…
Add table
Reference in a new issue