@if (user()->permission('task_labels') == 'all')
@endif
@if ($task->project && count($task->project->milestones) > 0)
@foreach ($task->project->milestones as $milestone)
@endforeach
@endif
@if ($changeStatusPermission == 'all'
|| ($changeStatusPermission == 'added' && $task->added_by == user()->id)
|| ($changeStatusPermission == 'owned' && in_array(user()->id, $taskUsers))
|| ($changeStatusPermission == 'both' && (in_array(user()->id, $taskUsers) || $task->added_by == user()->id))
)
@foreach ($taskboardColumns as $item)
@endforeach
@endif