mirror of
https://github.com/pixelfed/pixelfed.git
synced 2025-01-11 14:40:46 +00:00
Update profile partial, allow hidden follower counts
This commit is contained in:
parent
119dab0cb1
commit
fcd43097d6
1 changed files with 4 additions and 0 deletions
|
@ -57,18 +57,22 @@
|
||||||
Posts
|
Posts
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
@if($settings->show_profile_follower_count)
|
||||||
<div class="font-weight-light pr-5">
|
<div class="font-weight-light pr-5">
|
||||||
<a class="text-dark" href="{{$user->url('/followers')}}">
|
<a class="text-dark" href="{{$user->url('/followers')}}">
|
||||||
<span class="font-weight-bold">{{$user->followerCount(true)}}</span>
|
<span class="font-weight-bold">{{$user->followerCount(true)}}</span>
|
||||||
Followers
|
Followers
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
@endif
|
||||||
|
@if($settings->show_profile_following_count)
|
||||||
<div class="font-weight-light pr-5">
|
<div class="font-weight-light pr-5">
|
||||||
<a class="text-dark" href="{{$user->url('/following')}}">
|
<a class="text-dark" href="{{$user->url('/following')}}">
|
||||||
<span class="font-weight-bold">{{$user->followingCount(true)}}</span>
|
<span class="font-weight-bold">{{$user->followingCount(true)}}</span>
|
||||||
Following
|
Following
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
@endif
|
||||||
</div>
|
</div>
|
||||||
<p class="lead mb-0">
|
<p class="lead mb-0">
|
||||||
<span class="font-weight-bold">{{$user->name}}</span>
|
<span class="font-weight-bold">{{$user->name}}</span>
|
||||||
|
|
Loading…
Reference in a new issue