diff --git a/resources/views/profile/followers.blade.php b/resources/views/profile/followers.blade.php index f27d12e5c..7bb558678 100644 --- a/resources/views/profile/followers.blade.php +++ b/resources/views/profile/followers.blade.php @@ -56,6 +56,25 @@ {{$user->name}} + @if(Auth::check() && Auth::id() != $user->user_id) + @if($user->followedBy(Auth::user()->profile) == false) + +
+ @csrf + + +
+
+ @else + +
+ @csrf + + +
+
+ @endif + @endif @endforeach @@ -75,4 +94,4 @@ -@endsection \ No newline at end of file +@endsection diff --git a/resources/views/profile/following.blade.php b/resources/views/profile/following.blade.php index 6e88262b5..9f2c1b89f 100644 --- a/resources/views/profile/following.blade.php +++ b/resources/views/profile/following.blade.php @@ -56,6 +56,25 @@ {{$user->name}} + @if(Auth::check() && Auth::id() != $user->user_id) + @if($user->followedBy(Auth::user()->profile) == false) + +
+ @csrf + + +
+
+ @else + +
+ @csrf + + +
+
+ @endif + @endif @endforeach @@ -75,4 +94,4 @@ -@endsection \ No newline at end of file +@endsection