@if($libraryItem->created_by == auth()->id() || auth()->user()?->hasRole('news-editor'))
@if(auth()->user()?->hasRole('news-editor'))
@if($libraryItem->approved)
{{ __('approved') }}
@else
{{ __('not approved') }}
@endif
@endif
@if(!$libraryItem->approved && auth()->user()?->hasRole('news-editor'))
{{ __('Approve') }}
@endif
{{ __('Edit') }}
@endif