Update profile partial, allow hidden follower counts

This commit is contained in:
Daniel Supernault 2018-08-23 19:12:30 -06:00
parent 119dab0cb1
commit fcd43097d6
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -57,18 +57,22 @@
Posts
</a>
</div>
@if($settings->show_profile_follower_count)
<div class="font-weight-light pr-5">
<a class="text-dark" href="{{$user->url('/followers')}}">
<span class="font-weight-bold">{{$user->followerCount(true)}}</span>
Followers
</a>
</div>
@endif
@if($settings->show_profile_following_count)
<div class="font-weight-light pr-5">
<a class="text-dark" href="{{$user->url('/following')}}">
<span class="font-weight-bold">{{$user->followingCount(true)}}</span>
Following
</a>
</div>
@endif
</div>
<p class="lead mb-0">
<span class="font-weight-bold">{{$user->name}}</span>