diff --git a/resources/views/profile/followers.blade.php b/resources/views/profile/followers.blade.php index f27d12e5c..8fd90f215 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) == true) + +
+ @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..56a372963 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) == true) + +
+ @csrf + + +
+
+ @else + +
+ @csrf + + +
+
+ @endif + @endif @endforeach @@ -75,4 +94,4 @@ -@endsection \ No newline at end of file +@endsection