Show followed and followers on profile

This commit is contained in:
Michael 2017-03-24 16:03:23 -04:00
parent cd73cc80d1
commit f5093b6ee3

View file

@ -68,4 +68,28 @@
</div> </div>
} }
</div> </div>
<div class="col-xs-3">
<div class="panel">
<div class="panel-body">
<h4>Followers</h4>
<ul>
@foreach(var f in Model.Followers)
{
<li>@Html.UserLink(f.Follower)</li>
}
</ul>
</div>
</div>
<div class="panel">
<div class="panel-body">
<h4>Following</h4>
<ul>
@foreach (var f in Model.Followed)
{
<li>@Html.UserLink(f.Followed)</li>
}
</ul>
</div>
</div>
</div>
</div> </div>