new front end
This commit is contained in:
@@ -180,11 +180,25 @@
|
||||
<a href="{{ route('support') }}">Support</a>
|
||||
<a href="{{ route('privacy') }}">Privacy</a>
|
||||
@auth
|
||||
@if(auth()->user()->hasVerifiedEmail())<a href="{{ route('portal.index') }}">My licences</a>@endif
|
||||
@if(auth()->user()->is_admin)
|
||||
@php($supportUnread = auth()->user()->unreadNotifications()->where('type', \App\Notifications\NewSupportTicket::class)->count())
|
||||
@if (auth()->user()->hasVerifiedEmail())
|
||||
<a href="{{ route('portal.index') }}">My licences</a>
|
||||
@endif
|
||||
|
||||
@if (auth()->user()->is_admin)
|
||||
@php
|
||||
$supportUnread = auth()->user()
|
||||
->unreadNotifications()
|
||||
->where('type', \App\Notifications\NewSupportTicket::class)
|
||||
->count();
|
||||
@endphp
|
||||
|
||||
<a href="{{ route('admin.index') }}">Admin</a>
|
||||
<a href="{{ route('admin.support.index') }}">Support@if($supportUnread)<span class="nav-alert-count">{{ $supportUnread }}</span>@endif</a>
|
||||
<a href="{{ route('admin.support.index') }}">
|
||||
Support
|
||||
@if ($supportUnread > 0)
|
||||
<span class="nav-alert-count">{{ $supportUnread }}</span>
|
||||
@endif
|
||||
</a>
|
||||
@endif
|
||||
@endauth
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user