@extends('layouts.app') @section('body_attrs')@parent data-mailbox_id="{{ $mailbox->id }}"@endsection @section('body_attrs')@parent data-folder_id="{{ $folder->id }}"@endsection @if ($folder->active_count) @section('title', '('.(int)$folder->getCount().') '.$folder->getTypeName().' - '.$mailbox->name) @else @section('title', $folder->getTypeName().' - '.$mailbox->name) @endif @section('sidebar') @include('partials/sidebar_menu_toggle') @include('mailboxes/sidebar_menu_view') @endsection @section('content')
@php $flashes = \Helper::maybeShowSendingProblemsAlert(); @endphp @include('partials/flash_messages')
@if ($folder->type == App\Folder::TYPE_DELETED && $folder->total_count)
{{ __('Empty Trash') }}
@endif @if ($folder->type == App\Folder::TYPE_SPAM && $folder->total_count)
{{ __('Delete All') }}
@endif @include('conversations/conversations_table') @endsection @section('javascript') @parent viewMailboxInit(); @endsection