@component('backoffice._layouts.app', [ 'title' => 'Publications' ]) @component('backoffice._components.pageHeading', ['breadcrumb' => null]) Publications @slot('actions') Add entry @endslot @endcomponent @component('backoffice._components.pageContent')
@foreach($models as $publication) @endforeach
Name Type Updated
{{ html()->publishedIndicator($publication->published_at) }} {{ ($publication->first_translated_name) ?: '(untitled)'}} @if($publicationType = $publication->tags()->withType('publicationType')->first()) {{ $publicationType->name }} @endif {{ diff_date_for_humans($publication->updated_at) }} {{ html()->editButton(route('backoffice.publications.edit', $publication->id)) }} {{ html()->deleteButton(action('Backoffice\PublicationsController@destroy', $publication->id)) }}
@endcomponent @endcomponent