@section('site_title', formatTitle([__('Templates'), config('settings.title')])) @include('shared.breadcrumbs', ['breadcrumbs' => [ ['url' => route('admin.dashboard'), 'title' => __('Admin')], ['title' => __('Templates')], ]])

{{ __('Templates') }}

{{ __('New') }}
{{ __('Templates') }}
@include('shared.filter-tags')
@include('shared.message') @if(count($templates) == 0) {{ __('No results found.') }} @else
{{ __('Name') }}
{{ __('User') }}
{{ __('Documents') }}
@foreach($templates as $template)
@if($template->isCustom()) {{ $template->icon }} @else @include('icons.' . $template->icon, ['class' => 'fill-current width-4 height-4 text-' . categoryColor($template->category_id)]) @endif
@if(!$template->user_id) {{ __('Global') }} @endif
@if(isset($template->user))
{{ $template->user->name }} @else
{{ __('None') }}
@endif
@include('templates.partials.menu')
@endforeach
{{ __('Showing :from-:to of :total', ['from' => $templates->firstItem(), 'to' => $templates->lastItem(), 'total' => $templates->total()]) }}
{{ $templates->onEachSide(1)->links() }}
@endif