Project Timeline

Activity history for {{ $project->name }}

@forelse($activities as $activity) @php $iconColor = $activity->getColor(); $bgColor = match($iconColor) { 'green' => 'bg-green-100', 'yellow' => 'bg-yellow-100', 'blue' => 'bg-blue-100', 'red' => 'bg-red-100', 'purple' => 'bg-purple-100', default => 'bg-gray-100', }; $textColor = match($iconColor) { 'green' => 'text-green-600', 'yellow' => 'text-yellow-600', 'blue' => 'text-blue-600', 'red' => 'text-red-600', 'purple' => 'text-purple-600', default => 'text-gray-600', }; @endphp
@if($activity->type === 'task_completed') @elseif($activity->type === 'task_uncompleted') @elseif($activity->type === 'task_created') @else @endif

@if($activity->user) {{ $activity->user->name }} @else System @endif {{ $activity->description }}

@if($activity->task)
Task @if($activity->task->category) {{ $activity->task->category->name }} @endif
@endif
{{ $activity->created_at->format('M j, Y') }}
{{ $activity->created_at->format('g:i A') }}
@empty

No Activity Yet

Activity will appear here as team members complete tasks and make updates to this project.

@endforelse
@if($activities->hasPages())
{{ $activities->links() }}
@endif