@if ($file->icon == 'images')
@lang('app.view')
@else
@lang('app.view')
@endif
@lang('app.download')
@if ($deletePermission == 'all'
|| ($deletePermission == 'added' && $notice->added_by == user()->id)
|| ($deletePermission == 'owned' && in_array($notice->to, user_roles()))
|| ($deletePermission == 'both' && (in_array($notice->to, user_roles()) || $notice->added_by == user()->id)))
@lang('app.delete')
@endif