This commit is contained in:
Paul Schneider 2017-05-27 16:22:25 +02:00
commit 724e0e17ef
11 changed files with 5831 additions and 4360 deletions

View file

@ -1,7 +1,11 @@
@model ApplicationUser
@if (Model!=null) {
<div class="userinfo">
<h3>
<img src="~/Avatars/@(Model.UserName).s.png" alt="" class="smalltofhol">
@Model.UserName
@if (Model.Posts!=null) { <a asp-controller="Blogspot" asp-action="UserPosts"
asp-route-id="@Model.UserName" class="btn btn-link">@SR["index de ses articles"]</a>
}} else { <text>néant</text> }
@Model.UserName </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>
}
</div>}

View file

@ -3,12 +3,9 @@
<div class="performer @(Model.Active?"active":"inactive")">
@Html.DisplayFor(m=>m.Performer)
<ul>
<li> @SR["Rating"]: @Model.Rate % </li>
@if (Model.Rate > 80) { <p> @SR["Rating"]: @Model.Rate % </p> }
@if (Model.WebSite!=null) {
<li>@SR["WebSite"]: <a target="yaext" href="@Model.WebSite">@Model.WebSite</a></li>
<a target="yaext" href="@Model.WebSite" class="btn btn-info">@SR["WebSite"]: @Model.WebSite</a>
}
</ul>
</div>