@component('backoffice._layouts.app', [ 'title' => 'Articles' ]) @component('backoffice._components.pageHeading', ['breadcrumb' => null]) Articles @slot('actions') Add entry @endslot @endcomponent @component('backoffice._components.pageContent')
@foreach($models as $article) @endforeach
Name Type Author Date Updated
{{ html()->publishedIndicator($article->published_at, $article->promoted_at) }} {{ ($article->first_translated_name) ?: '(untitled)' }} @if($articleType = $article->tags()->withType('articleType')->first()) {{ $articleType->name }} @endif @if($article->author) {{ $article->author->name }} @endif  {{ $article->started_at->format('d/m/Y') }} {{ diff_date_for_humans($article->updated_at) }} {{ html()->viewButton($article->path()) }} {{ html()->editButton(route('backoffice.articles.edit', $article->id)) }} {{ html()->deleteButton(action('Backoffice\ArticlesController@destroy', $article->id)) }}
@endcomponent @endcomponent