displaying blog comments

This commit is contained in:
Paul Schneider 2017-10-05 11:58:51 +02:00
commit 6dcbfbe63e
9 changed files with 53 additions and 10 deletions

View file

@ -2,8 +2,7 @@
@if (Model!=null) {
<div class="userinfo">
<h3>@Component.Invoke("Avatar", Model.Id, ".s")
@Model.UserName </h3>
<h3>@Component.Invoke("Avatar", Model.Id, ".s")</h3>
@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>
}