mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-25 15:55:22 +00:00
Update follow intent, fix follower count leak
This commit is contained in:
parent
c5281dcdb3
commit
03199e2f68
1 changed files with 2 additions and 2 deletions
|
@ -14,7 +14,7 @@
|
||||||
<img class="rounded-circle p-1 border mt-n4 bg-white shadow" src="{{$profile->avatarUrl()}}" width="90px" height="90px;">
|
<img class="rounded-circle p-1 border mt-n4 bg-white shadow" src="{{$profile->avatarUrl()}}" width="90px" height="90px;">
|
||||||
</div>
|
</div>
|
||||||
<p class="text-center lead font-weight-bold mb-1">{{$profile->username}}</p>
|
<p class="text-center lead font-weight-bold mb-1">{{$profile->username}}</p>
|
||||||
<p class="text-center text-muted small text-uppercase mb-4">{{$profile->followers->count()}} followers</p>
|
<p class="text-center text-muted small text-uppercase mb-4">{{$profile->followerCount()}} followers</p>
|
||||||
<div class="d-flex justify-content-center">
|
<div class="d-flex justify-content-center">
|
||||||
@if($following == true)
|
@if($following == true)
|
||||||
<form class="d-inline-block" action="/i/follow" method="post">
|
<form class="d-inline-block" action="/i/follow" method="post">
|
||||||
|
@ -50,4 +50,4 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@endsection
|
@endsection
|
||||||
|
|
Loading…
Reference in a new issue