| م | نص الخبر | {{--مدة العرض | --}} {{-- @ability(['admin','super_admin'],['']) --}}{{ __('messages.STATUS') }} | {{-- @endability --}}{{ __('messages.PUBLISHED_DATE') }} | الناشر | {{ __('messages.CONTROL') }} | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $loop->iteration }} | @if ($news->url=='#'){{ $news->name }} | @else{{ $news->name }} | @endif {{--{{ $news->period }} {{ $news->period<11?'دقائق':'دقيقة' }} | --}} {{-- @ability(['admin','super_admin'],['']) --}}{{-- @endability --}} {{-- | {{ $news->publish_end->format('Y') }} | --}} {{--{{ $news->publish_end->setTimezone(auth()->user()->timezone)->format('d M Y H:iA') }} | --}} {{--{{ date('Y-M-d', strtotime($news->publish_end)) }} | --}}
{{ $news->created_at->toDateString() }} {{ $news->created_at->format('h:iA') }} |
{{-- {{ $news->publish_end->setTimezone('America/New_York') }} | --}} {{--{{ DateTime::createFromFormat('d/m/y H:i', $news->published_at, new DateTimeZone('Europe/Athens')); }} | --}}{{ $news->getUser->name??'' }} | @ability(['publisher','admin','super_admin'],['']) @if(true) @endif @endability |