@if ($templates->count() > 0)
|
{{ $template->name }}
{!! $template->admin ? '' . $template->admin->displayName() : '' !!}
{!! $template->customer ? '' . $template->customer->displayName() : '' !!}
{{ trans('messages.updated_at') }}: {{ Auth::user()->customer->formatDateTime($template->created_at, 'datetime_full') }}
|
@if ($template->categories()->count())
{{ $template->categories->map(function ($cat) {
return $cat->name;
})->join(', ') }}
{{ trans('messages.template.category') }} @else {{ trans('messages.template.category.no_category') }} @endif |
@if (Auth::user()->customer->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()->customer->can('preview', $template) ||
Auth::user()->customer->can('copy', $template) ||
Auth::user()->customer->can('delete', $template) ||
Auth::user()->customer->can('update', $template))
|