@if ($templates->count() > 0) @foreach ($templates as $key => $template) @endforeach
{{ $template->name }}
{!! $template->admin ? '' . $template->admin->displayName() : '' !!} {!! $template->customer ? '' . $template->admin->displayName() : '' !!}
{{ trans('messages.updated_at') }}: {{ Auth::user()->admin->formatDateTime($template->created_at, 'datetime_full') }}
@if (Auth::user()->admin->can('update', $template)) @if ($template->categories()->count()) {{ $template->categories->map(function ($cat) { return $cat->name; })->join(', ') }} @else {{ trans('messages.template.category.no_category_set') }} @endif @if ($template->categories()->count())
{{ trans('messages.template.category') }} @endif @else {{ $template->categories()->count() ? $template->categories->map(function ($cat) { return $cat->name; })->join(', ') : 'N/A' }} @endif
@if (Auth::user()->admin->can('update', $template)) @if (in_array(Acelle\Model\Setting::get('builder'), ['both','pro']) && $template->builder) {{ trans('messages.template.pro_builder') }} @endif @if (in_array(Acelle\Model\Setting::get('builder'), ['both','classic'])) {{ trans('messages.template.classic_builder') }} @endif @endif @if (Auth::user()->admin->can('preview', $template) || Auth::user()->admin->can('copy', $template) || Auth::user()->admin->can('delete', $template) || Auth::user()->admin->can('update', $template))
@endif
@include('elements/_per_page_select', ["items" => $templates]) @elseif (!empty(request()->keyword))
auto_awesome_mosaic {{ trans('messages.no_search_result') }}
@else
auto_awesome_mosaic {{ trans('messages.template_empty_line_1') }}
@endif