From d2413fe458adca2791fc3f35977481f84d53d0cd Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Sun, 2 Sep 2018 22:02:38 -0600 Subject: [PATCH] Update profile partials --- .../profile/partial/private-info.blade.php | 17 +++++++++++++++++ .../views/profile/partial/user-info.blade.php | 4 ++-- 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/resources/views/profile/partial/private-info.blade.php b/resources/views/profile/partial/private-info.blade.php index 1e69755f1..20a779098 100644 --- a/resources/views/profile/partial/private-info.blade.php +++ b/resources/views/profile/partial/private-info.blade.php @@ -10,6 +10,23 @@
{{$user->username}} + @if(Auth::check() && $is_following == true) + + + + @elseif(Auth::check() && $is_following == false) + + + + @endif
diff --git a/resources/views/profile/partial/user-info.blade.php b/resources/views/profile/partial/user-info.blade.php index 0f51a8e4b..5b48ddf86 100644 --- a/resources/views/profile/partial/user-info.blade.php +++ b/resources/views/profile/partial/user-info.blade.php @@ -19,7 +19,7 @@ - @elseif ($is_following == true) + @elseif (Auth::check() && $is_following == true) - @elseif ($is_following == false) + @elseif (Auth::check() && $is_following == false)