@if (\Helper::isChatModeAvailable() && $mailbox->id >= 0)
  • {{ __('Chats') }}
  • @endif @foreach ($folders as $folder_item) @if ( $folder->type == $folder_item->type || ( ($folder_item->type != App\Folder::TYPE_DELETED || ($folder_item->type == App\Folder::TYPE_DELETED && $folder_item->total_count && $folder->type == App\Folder::TYPE_CLOSED)) && ($folder_item->type != App\Folder::TYPE_DRAFTS || ($folder_item->type == App\Folder::TYPE_DRAFTS && $folder_item->total_count)) ) ) @php if ($folder_item->type == App\Folder::TYPE_SPAM) { $active_count = $folder_item->total_count; } else { $active_count = $folder_item->getCount($folders); } @endphp
  • active_count) class="no-active" @endif> {{ $folder_item->getTypeName() }} @if ($active_count) @if ($folder_item->type == App\Folder::TYPE_UNASSIGNED || $folder_item->type == App\Folder::TYPE_MINE) {{ $active_count }} @else {{ $active_count }} @endif @endif
  • @endif @endforeach