{{-- Warning about not activated account --}}
@auth
@if(!user()->confirmed)
Your account is not activated yet, some options are locked!
@if(user()->emailConfirmations()->valid()->exists()) {{-- There is a pending confirmation, whose e-mail may differ from what the user has saved in the rpofile (due to email change attempt) --}} Check your e-mail ({{user()->emailConfirmations()->valid()->first()->email}}) for the confirmation link, or request a new one. The confirmation message could fall into your Spam folder.
If this address is not correct, you can fix it in your account settings. @else {{-- There are no pending confirmations --}} @if(user()->email) {{-- User has e-mail set in the profile, probably from registration --}} You can confirm your e-mail ({{$user->email}}) by requesting a confirmation link. If this address is not correct, you can fix it in your account settings. @else {{-- User has no e-mail, maybe registered through a provider without e-mails --}} Set your e-mail in account settings and you will receive a confirmation link. @endif @endif
@endif
@endauth
@include('flash::message')
@yield('content')
@if(user()->emailConfirmations()->valid()->exists()) {{-- There is a pending confirmation, whose e-mail may differ from what the user has saved in the rpofile (due to email change attempt) --}} Check your e-mail ({{user()->emailConfirmations()->valid()->first()->email}}) for the confirmation link, or request a new one. The confirmation message could fall into your Spam folder.
If this address is not correct, you can fix it in your account settings. @else {{-- There are no pending confirmations --}} @if(user()->email) {{-- User has e-mail set in the profile, probably from registration --}} You can confirm your e-mail ({{$user->email}}) by requesting a confirmation link. If this address is not correct, you can fix it in your account settings. @else {{-- User has no e-mail, maybe registered through a provider without e-mails --}} Set your e-mail in account settings and you will receive a confirmation link. @endif @endif