|
|
|
@model ApplicationUser
|
|
|
|
|
|
|
|
<img src="~/Avatars/@(Model.UserName).xs.png" alt="">
|
|
|
|
@Model.UserName
|
|
|
|
<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>
|
|
|
|
}
|
|
|
|
</ul>
|