useless check
This commit is contained in:
parent
718b93cfc6
commit
9ff6dc7503
1 changed files with 1 additions and 2 deletions
|
|
@ -1,9 +1,8 @@
|
||||||
@model ApplicationUser
|
@model ApplicationUser
|
||||||
|
|
||||||
@if (Model!=null) {
|
|
||||||
<div class="userinfo">
|
<div class="userinfo">
|
||||||
<h3>@Component.Invoke("Avatar", Model.Id, ".s")</h3>
|
<h3>@Component.Invoke("Avatar", Model.Id, ".s")</h3>
|
||||||
@if (Model.Posts!=null && Model.Posts.Count()>1) { <a asp-controller="Blogspot" asp-action="UserPosts"
|
@if (Model.Posts!=null && Model.Posts.Count()>1) { <a asp-controller="Blogspot" asp-action="UserPosts"
|
||||||
asp-route-id="@Model.UserName" class="btn btn-primary">@SR["index de ses articles"]</a>
|
asp-route-id="@Model.UserName" class="btn btn-primary">@SR["index de ses articles"]</a>
|
||||||
}
|
}
|
||||||
</div>}
|
</div>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue