@extends('layouts.core.frontend', [ 'menu' => 'dashboard', ]) @section('title', trans('messages.dashboard')) @section('head') @endsection @section('content') @if (config('custom.japan') && !empty(trans('messages.dashboard.notice')))

{!! trans('messages.dashboard.notice') !!}

@endif

{!! trans('messages.frontend_dashboard_hello', ['name' => Auth::user()->customer->displayName()]) !!}

{!! trans('messages.frontend_dashboard_welcome') !!}

donut_large {{ trans("messages.used_quota") }}

{{ trans('messages.dashboard.credit.wording') }}

{{ number_with_delimiter($sendingCreditsUsed) }}/{{ ($sendingCreditsLimit == -1) ? '∞' : number_with_delimiter($sendingCreditsLimit) }}    {{ number_to_percentage($sendingCreditsUsedPercentage) }}
{{ number_with_delimiter(Auth::user()->customer->listsCount()) }}/{{ number_with_delimiter(Auth::user()->customer->maxLists()) }}    {{ Auth::user()->customer->displayListsUsage() }}
{{ number_with_delimiter(Auth::user()->customer->campaignsCount()) }}/{{ number_with_delimiter(Auth::user()->customer->maxCampaigns()) }}    {{ Auth::user()->customer->displayCampaignsUsage() }}
{{ number_with_delimiter(Auth::user()->customer->readCache('SubscriberCount', 0)) }}/{{ number_with_delimiter(Auth::user()->customer->maxSubscribers()) }}    {{ Auth::user()->customer->displaySubscribersUsage() }}
@include('_dashboard_campaigns') @include('_dashboard_list_growth') @if (isSiteDemo())

star_half {{ trans('messages.top_5') }}

@endif

web_stories {{ trans('messages.activity_log') }}

@if (Auth::user()->customer->logs()->count() == 0)
auto_awesome {{ trans('messages.no_activity_logs') }}
@else
@foreach (Auth::user()->customer->logs()->take(20)->get() as $log)
history
{{ $log->created_at->timezone($currentTimezone)->diffForHumans() }}

{!! $log->message() !!}

@endforeach
@endif

@endsection