Client viewa restored
Some checks failed
Dotnet build and test / log-the-inputs (push) Failing after 2s
Dotnet build and test / build (push) Failing after 2s

This commit is contained in:
Paul Schneider
2025-08-19 15:40:16 +01:00
parent 1e568279ad
commit d691501d42
13 changed files with 372 additions and 11 deletions

View File

@ -1,10 +1,22 @@
@using Yavsc.Abstract.Identity
@model IApplicationUser
@{
var avuri = "/Avatars/" + Model.UserName + ".s.png";
if (Model ==null || Model.UserName==null)
{
if (Model !=null)
{
<span class="error">[E No user name]</span>
}
}
else {
string avuri = "/Avatars/" + Model.UserName + ".s.png";
<div class="userinfo">
<a title="Posts" asp-controller="Blogspot" asp-action="Index" asp-route-id="@Model.UserName" class="btn btn-primary">
<img src="@avuri" asp-append-version="true" class="smalltofhol" alt="@Model.UserName" title="@Model.UserName" />
</a>
</div>
}
}