|
@include('components.tables._openPhoto', [
'asset' => file_exists( $pathSystem . $noticia->featuredPhoto ) ? $noticia->featuredPhoto : $angraDefault,
'alt' => $noticia->title,
'title' => $noticia->title,
'text' => 'Visualizar foto',
])
|
{{ date("d/m/Y H:m:s", strtotime($noticia->created_at)) }} |
{{ $noticia->title }} |
{!! Str::limit($noticia->summary, 50) !!} |
@include('components.buttons._status', [
"index" => $index,
"route" => "admin.noticias.fix",
"id" => $noticia->id,
"status" => $noticia->fix,
"permission" => "GERENCIADOR_DE_NOTICIAS",
"queryParams" => $noticiasListQueryParams,
])
|
@include('components.buttons._status', [
"index" => $index,
"route" => "admin.noticias.status",
"id" => $noticia->id,
"status" => $noticia->status,
"permission" => "GERENCIADOR_DE_NOTICIAS",
"queryParams" => $noticiasListQueryParams,
])
|
@include('components.buttons._editButton', [
"route" => "admin.noticias.edit",
"id" => $noticia->id,
"title" => "Editar",
"fontawesome" => null,
"permission" => "GERENCIADOR_DE_NOTICIAS",
])
@include('components.buttons._deleteButton', [
"message" => __("* Esta notícia será excluída e esta ação não poderá ser desfeita, deseja continuar??"),
"route" => "admin.noticias.destroy",
"id" => $noticia->id,
"title" => "Excluir",
"fontawesome" => null,
"permission" => "GERENCIADOR_DE_NOTICIAS",
"queryParams" => $noticiasListQueryParams,
])
|
@php $index++; @endphp
@endforeach