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

22 lines
503 B
Text
Raw Normal View History

2017-01-19 14:32:03 +01:00
@model ApplicationUser
2017-01-20 00:51:02 +01:00
2017-01-22 18:32:49 +01:00
<img src="~/Avatars/@(Model.UserName).xs.png" alt="">
2017-01-19 14:32:03 +01:00
@Model.UserName
2017-01-19 15:31:35 +01:00
<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>
}
2017-01-20 00:51:02 +01:00
</ul>