@extends('v2-cms::layouts.app', ['title' => 'Feed RSS']) @section('page-breadcrumbs') @include('v2-cms::partials.breadcrumb', ['items' => [ ['label' => 'Infraestrutura'], ['label' => 'Feed RSS'], ]]) @endsection @section('content')
{{-- Card: Total --}}

{{ $stats['total'] }}

Total de Itens

{{-- Card: Habilitados --}}

{{ $stats['enabled'] }}

Habilitados

{{-- Card: Desabilitados --}}

{{ $stats['disabled'] }}

Desabilitados

{{-- Card: Feed URL --}}
{{-- Por Módulo --}}
Itens por Módulo
@forelse($stats['by_module'] as $module => $count)
{{ ucfirst($module) }}
{{ $count }}
@empty

Nenhum item cadastrado.

@endforelse
{{-- Lista de Itens --}}
Todos os Itens
{{ $stats['last_date'] ? 'Último: ' . $stats['last_date']->format('d/m/Y H:i') : '' }}
@if(count($items) > 0)
@foreach($items as $item) @endforeach
Título Módulo Tipo Publicado em Status Ações
{{ str_limit($item->title, 50) }} {{ $item->module }} {{ $item->entity_type }} @if($item->published_at) {{ $item->published_at->format('d/m/Y') }} @else — @endif @if($item->enabled) Habilitado @else Desabilitado @endif
{{ csrf_field() }}
{{ csrf_field() }} {{ method_field('DELETE') }}
@else

Nenhum item no feed RSS.

Os itens aparecerão automaticamente quando conteúdo for publicado.

@endif
@if(method_exists($items, 'links'))
{{ $items->links() }}
@endif {{-- Informações Última Atualização --}}
Última atualização: {{ $stats['updated_at']->format('d/m/Y H:i:s') }}
@endsection