@extends('layouts.app') @php $edicion = false @endphp @section('breadcrumb') @stop @section('content')

Noticias @can('create', Modules\Noticia\Entities\Noticia::class) Crear Noticia @php $edicion = true @endphp @endcan

@foreach($noticias as $noticia)
{{$noticia->titulo}}
@if($edicion) @endif
{{ fechaFormato($noticia->created_at, 'd/m/Y') }}

{{ $noticia->titulo}}

@endforeach
@foreach($noticias as $noticia) @if($loop->index % 3 ==0)
@endif
...
{{ $noticia->titulo }}

{{ $noticia->extracto() }}

Creado por: {{ $noticia->createdBy->name }} el {{ fechaFormato($noticia->created_at, 'j \d\e F Y H:m:s') }}
Act. por: {{ $noticia->updatedBy->name }} el {{ fechaFormato($noticia->updated_at, 'j \d\e F Y H:m:s') }}
Estado: @if($noticia->publicado()) Publicado @else En Borrador @endif

@endforeach
{{ $noticias->links() }} @endsection @push('pre-scripts') @endpush