@extends('maileclipse::layout.app') @section('title', 'Mailables') @section('content')
{{ __('Mailables') }}
@if (!$mailables->isEmpty()) {{ __('Add Mailable') }} @endif
@if ($mailables->isEmpty()) @component('maileclipse::layout.emptydata') {{ __("We didn't find anything - just empty space.") }} @endcomponent @endif @if (!$mailables->isEmpty()) @foreach($mailables->all() as $mailable) @endforeach
{{ __('Name') }} {{ config('maileclipse.display_as_subject') ? __('Subject') : __('Namespace')}} {{ __('Last edited') }}
{{ $mailable['name'] }} {{ config('maileclipse.display_as_subject') ? $mailable['subject'] : $mailable['namespace'] }} {{ (\Carbon\Carbon::createFromTimeStamp($mailable['modified']))->diffForHumans() }}
@endif
@endsection