@extends('layouts.admin') @section('page-title') {{ __('Task Board') }} @endsection @php $logo = \App\Models\Utility::get_file('users-avatar/'); $logo_tasks = \App\Models\Utility::get_file('tasks/'); @endphp @section('content') @if ($project && $currentWorkspace) @foreach ($stages as $stage) {{ $stage->name }} {{ $stage->tasks->count() }} @foreach ($stage->tasks as $task) @if ($task->priority == 'Low') {{ $task->priority }} @elseif($task->priority == 'Medium') {{ $task->priority }} @elseif($task->priority == 'High') {{ $task->priority }} @endif {{ $task->title }} {{ \App\Models\Utility::dateFormat($task->start_date) }} {{ \App\Models\Utility::dateFormat($task->due_date) }} {{ $task->taskCompleteSubTaskCount() }}/{{ $task->taskTotalSubTaskCount() }} @if ($users = $task->users()) @foreach ($users as $key => $user) @if ($key < 3) avatar) src="{{ $logo . $user->avatar }}" @else avatar="{{ $user->name }}" @endif> @endif @endforeach @if (count($users) > 3) @endif @endif @endforeach @endforeach @else 404 {{ __('Page Not Found') }} {{ __("It's looking like you may have taken a wrong turn. Don't worry... it happens to the best of us. Here's a little tip that might help you get back on track.") }} {{ __('Return Home') }} @endif @endsection @if ($project && $currentWorkspace) @push('scripts') @endpush @endif
{{ __("It's looking like you may have taken a wrong turn. Don't worry... it happens to the best of us. Here's a little tip that might help you get back on track.") }}