@extends('layouts.admin.theme') @section('title', env('APP_NAME') . ' :: ' . __('Observatório - Mapas')) @section('content') @include('admin.observatorio.partials._assets') @include('errors.messageFlash')
@php $headLine = " " . __('Observatório - Mapas'); @endphp @include('components.buttons._headLineButtonsBackAdd', [ 'headLine' => __($headLine), 'routeBack' => 'admin.observatorio.indicadores.index', 'routeBackParams' => [], 'nameBack' => __('Voltar'), 'routeAdd' => 'admin.observatorio.mapas.create', 'routeAddParams' => request()->only(['q', 'mapa_tema_id', 'page']), 'nameAdd' => __('Novo mapa'), 'permission' => 'GERENCIADOR_DO_OBSERVATORIO', ])
@forelse($registros as $registro) {{ $registro->titulo }} {{ $registro->tema->nome ?? '-' }} {{ \Illuminate\Support\Str::limit($registro->link, 50) }} {{ __($registro->status) }}
@if(auth()->user()->getPermissaoDetalhes('GERENCIADOR_DO_OBSERVATORIO')['editar']) @endif @if(auth()->user()->getPermissaoDetalhes('GERENCIADOR_DO_OBSERVATORIO')['excluir'])
@csrf @method('delete') @foreach(request()->only(['q', 'mapa_tema_id', 'page']) as $key => $value) @endforeach
@endif
@empty {{ __('Nenhum registro encontrado.') }} @endforelse
@endsection