@if ($viewTaskFilePermission == 'all' || ($viewTaskFilePermission == 'added' && $file->added_by == user()->id))
@if ($file->icon = 'images')
@lang('app.view')
@endif
@lang('app.download')
@endif
@if ($deleteTaskFilePermission == 'all' || ($deleteTaskFilePermission == 'added' && $file->added_by == user()->id))
@lang('app.delete')
@endif