Commit fd6d1371 authored by alinetenorio's avatar alinetenorio
Browse files

restrição de view até email ser confirmado

parent 9d72bca1
...@@ -115,23 +115,26 @@ ...@@ -115,23 +115,26 @@
{{ __('Perfil Coordenador') }} {{ __('Perfil Coordenador') }}
</a> </a>
@endif @endif
@if(Auth::user()->avaliadors != null)
<a class="dropdown-item" href="{{ route('avaliador.index') }}"> @if(Auth::user()->email_verified_at != null)
<img src="{{asset('img/icons/file-alt-regular-black.svg')}}" alt=""> @if(Auth::user()->avaliadors != null)
{{ __('Perfil Avaliador') }} <a class="dropdown-item" href="{{ route('avaliador.index') }}">
</a> <img src="{{asset('img/icons/file-alt-regular-black.svg')}}" alt="">
@endif {{ __('Perfil Avaliador') }}
@if(Auth::user()->proponentes != null) </a>
<a class="dropdown-item" href="{{ route('proponente.index') }}"> @endif
<img src="{{asset('img/icons/file-alt-regular-black.svg')}}" alt=""> @if(Auth::user()->proponentes != null)
{{ __('Perfil Proponente') }} <a class="dropdown-item" href="{{ route('proponente.index') }}">
</a> <img src="{{asset('img/icons/file-alt-regular-black.svg')}}" alt="">
@endif {{ __('Perfil Proponente') }}
@if(Auth::user()->participantes->where('user_id', Auth::user()->id)->count() != 0) </a>
<a class="dropdown-item" href="{{ route('participante.index') }}"> @endif
<img src="{{asset('img/icons/file-alt-regular-black.svg')}}" alt=""> @if(Auth::user()->participantes->where('user_id', Auth::user()->id)->count() != 0)
{{ __('Perfil Participante') }} <a class="dropdown-item" href="{{ route('participante.index') }}">
</a> <img src="{{asset('img/icons/file-alt-regular-black.svg')}}" alt="">
{{ __('Perfil Participante') }}
</a>
@endif
@endif @endif
<a class="dropdown-item" href="{{ route('logout') }}" <a class="dropdown-item" href="{{ route('logout') }}"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment