@if($task->description)
Açıklama
{{ $task->description }}
@endif
Durum
@php
$statusLabels = [
'todo' => ['text' => 'Yapılacak', 'class' => 'bg-gray-100 dark:bg-gray-700 text-gray-800 dark:text-gray-300'],
'in_progress' => ['text' => 'Devam Ediyor', 'class' => 'bg-blue-100 dark:bg-blue-900/30 text-blue-800 dark:text-blue-300'],
'review' => ['text' => 'İncelemede', 'class' => 'bg-yellow-100 dark:bg-yellow-900/30 text-yellow-800 dark:text-yellow-300'],
'done' => ['text' => 'Tamamlandı', 'class' => 'bg-green-100 dark:bg-green-900/30 text-green-800 dark:text-green-300'],
'cancelled' => ['text' => 'İptal Edildi', 'class' => 'bg-red-100 dark:bg-red-900/30 text-red-800 dark:text-red-300'],
];
$status = $statusLabels[$task->status] ?? $statusLabels['todo'];
@endphp
{{ $status['text'] }}
Öncelik
@php
$priorityLabels = [
'low' => ['text' => 'Düşük', 'class' => 'bg-gray-100 dark:bg-gray-700 text-gray-800 dark:text-gray-300'],
'medium' => ['text' => 'Orta', 'class' => 'bg-blue-100 dark:bg-blue-900/30 text-blue-800 dark:text-blue-300'],
'high' => ['text' => 'Yüksek', 'class' => 'bg-orange-100 dark:bg-orange-900/30 text-orange-800 dark:text-orange-300'],
'urgent' => ['text' => 'Acil', 'class' => 'bg-red-100 dark:bg-red-900/30 text-red-800 dark:text-red-300'],
];
$priority = $priorityLabels[$task->priority] ?? $priorityLabels['medium'];
@endphp
{{ $priority['text'] }}
@if($task->due_date)
Bitiş Tarihi
{{ $task->due_date->format('d.m.Y') }}
@if($task->isOverdue())
Süresi Dolmuş
@endif
@endif
@if($task->completed_at)
Tamamlanma Tarihi
{{ $task->completed_at->format('d.m.Y H:i') }}
@endif
@if($task->estimated_hours || $task->actual_hours)
@if($task->estimated_hours)
Tahmini Süre
{{ $task->estimated_hours }} saat
@endif
@if($task->actual_hours)
Gerçek Süre
{{ $task->actual_hours }} saat
@endif
@endif
@if($task->tags && count($task->tags) > 0)
Etiketler
@foreach($task->tags as $tag)
{{ $tag }}
@endforeach
@endif