yavsc/Yavsc/Views/Shared/DisplayTemplates/ApplicationUser.cshtml

23 lines
503 B
Plaintext

8 years ago
@model ApplicationUser
8 years ago
<img src="~/Avatars/@(Model.UserName).xs.png" alt="">
8 years ago
@Model.UserName
8 years ago
<ul>
@if (Model.Posts!=null) {
<li> <a asp-controller="Blogspot" asp-action="UserPosts"
asp-route-id="@Model.UserName">@SR["His blog"]</a>
</li>
}
@if (!string.IsNullOrEmpty(
Model.DedicatedGoogleCalendar))
{
<li> @SR["Exposes his Google calendar!"]
</li>
}
@if (Model.Devices?.Count>0)
{
<li> @SR["Uses the mobile application, and receives push notifications"]
</li>
}
8 years ago
</ul>