|
@if($task->is_auto)
@endif
{{ \Illuminate\Support\Str::limit($task->title, 70) }}
@if(($task->comments_count ?? 0) > 0)
{{ $task->comments_count }}
@endif
@if($task->description)
{{ \Illuminate\Support\Str::limit(strip_tags($task->description), 80) }}
@endif
|
@foreach($task->relations->take(2) as $rel)
{{ \Illuminate\Support\Str::limit($rel->label(), 24) }}
@endforeach
@if($task->relations->count() > 2)
+{{ $task->relations->count() - 2 }}
@endif
|
@foreach($task->assignees->take(3) as $user)
{{ $user->initials }}{{ $user->full_name }}
@endforeach
@if($task->assignees->count() > 3)
+{{ $task->assignees->count() - 3 }}
@endif
|
{{ $task->priorityMeta()['label'] }}
|
@if($task->due_date)
{{ $task->dueLabel('d M Y') }}
@else
—
@endif
|
{{ $task->statusMeta()['label'] }}
|
{{ $task->created_at->translatedFormat('d M Y') }}
|
@if(in_array($task->status, ['pending', 'in_progress'], true))
@endif
@if($canAssign || $task->created_by === auth()->id())
@endif
|
@empty