@extends('layouts.admin.theme')
@section('title', env('APP_NAME') . ' :: Arte Sacra - Logs de Usuários')
@section('body_class', 'page-logs-usuarios')
@section('content')
@php $headLine = "
Arte Sacra - Logs de Usuários"; @endphp
@include('components.buttons._headLineButtonsBackAdd', [
"headLine" => __($headLine),
"routeBack" => "admin.cultura.arteSacra.index",
"routeBackParams" => [],
"fontawesomeBack" => '
',
"nameBack" => __("Lista de Peças"),
"routeAdd" => "admin.cultura.arteSacra.create",
"routeAddParams" => [],
"nameAdd" => __("Nova peça"),
"permission" => "GERENCIADOR_DO_CADASTRO_DE_ARTE_SACRA",
"tabs" => [
[
'route' => 'admin.cultura.arteSacra.options',
'class' => 'fa-list',
'label' => 'Edição de Opções',
'permission' => 'GERENCIADOR_DO_CADASTRO_DE_ARTE_SACRA',
],
[
'route' => 'admin.cultura.arteSacra.report',
'class' => 'fa-list-check',
'label' => 'Relatório Geral',
'permission' => 'GERENCIADOR_DO_CADASTRO_DE_ARTE_SACRA',
],
[
'route' => 'admin.cultura.arteSacra.trash',
'class' => 'fa-trash',
'label' => 'Lixeira',
'permission' => 'DIRETOR_DE_ARTE_SACRA',
],
],
])
@include('errors.messageFlash')
@include('components.buttons._backButton', [
'url' => 'admin.cultura.arteSacra.index', 'label' => 'Voltar'
])
@if (session('success'))
{{ session('success') }}
@endif
@if (session('error'))
{{ session('error') }}
@endif
| Data |
Nome Usuário |
Email |
Matrícula |
IP |
Contexto |
Nº do Acervo |
@forelse ($logs as $log)
| {{ $log['data'] }} |
@if ($log['usuario'])
{{ $log['usuario']->firstName }} {{ $log['usuario']->lastName }}
@else
Desconhecido
@endif
|
{{ $log['usuario']->email ?? '—' }} |
{{ $log['usuario']->matriculation ?? '—' }} |
{{ $log['contexto']['ip'] ?? '—' }} |
{{ $log['mensagem'] }} |
{{ $log['contexto']['codigo'] ?? '—' }} |
@empty
| Nenhum log encontrado. |
@endforelse
@if (count($logs) > 0)
{{ $logs->links() }}
@endif
@endsection