Update private profile view

This commit is contained in:
Daniel Supernault 2018-09-01 22:47:06 -06:00
parent 86bbcd73cf
commit ef72b4e4a1
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -8,11 +8,11 @@
<div class="profile-timeline mt-2 mt-md-4">
<div class="card">
<div class="card-body py-5">
<p class="text-center lead font-weight-bold">
<p class="text-center lead font-weight-bold mb-0">
{{__('profile.privateProfileWarning')}}
</p>
@if(Auth::check())
@if(!Auth::check())
<p class="text-center mb-0">{{ __('profile.alreadyFollow', ['username'=>$user->username])}}</p>
<p class="text-center mb-0"><a href="{{route('login')}}">{{__('Log in')}}</a></p>
<p class="text-center mb-0">{{__('profile.loginToSeeProfile')}}</p>