removing avatar component
This commit is contained in:
parent
7f9ee5dbee
commit
642b43796f
4 changed files with 7 additions and 24 deletions
|
|
@ -1,7 +1,11 @@
|
|||
@model ApplicationUser
|
||||
|
||||
@{
|
||||
var avuri = "/Avatars/"+Model.UserName+".s.png";
|
||||
}
|
||||
<div class="userinfo">
|
||||
<h3>@Component.Invoke("Avatar", Model.Id, ".s")</h3>
|
||||
<h3>
|
||||
<img src="@avuri" asp-append-version="true" class="smalltofhol" />
|
||||
</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>
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue