This commit is contained in:
2017-01-19 15:31:35 +01:00
parent 553e4bbfa3
commit 52f5a653f0

View File

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