@extends('cfp.layouts.master') @section('content')

{{ __("cfp.Notice") }}

@include('cfp.components.error_alert')
@forelse ($news as $featured) @empty @endforelse
# {{ __("cfp.Image") }} {{ __("cfp.Description") }} {{ __("cfp.URL") }} {{ __("cfp.Type") }} {{ __("cfp.PublishedAt") }} {{ __("cfp.EndsOn") }} {{ __("cfp.Actions") }}
{{ $featured->SRL }}
{{ $featured->DESC_TEXT }} {{ $featured->REDIRECT_URL }} @switch($featured->NEWS_TYPE) @case(0) Slider @break; @case(1) Destaque @break; @case(2) Patch @break; @default: Desconhecido @break; @endswitch {{ Helper::date_stringFormat($featured->START_DATE, false) }} {{ Helper::date_stringFormat($featured->END_DATE, false) }}
{{ __("cfp.NoNews") }}, {{ __("cfp.NoNews1") }}
{{ $news->links() }}
@endsection