@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($listsCount) }}/{{ $maxLists == -1 ? '∞' : number_with_delimiter($maxLists) }}    {{ number_to_percentage($listsUsed) }}
{{ number_with_delimiter($campaignsCount) }}/{{ $maxCampaigns == -1 ? '∞' : number_with_delimiter($maxCampaigns) }}    {{ number_to_percentage($campaignsUsed) }}
{{ number_with_delimiter($subscribersCount) }}/{{ ($maxSubscribers == -1) ? '∞' : number_with_delimiter($maxSubscribers) }}    {{ number_to_percentage($subscribersUsed) }}
@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