@extends($layout) @section('content') @if (count($allUsers) == 1) {{ __('links.dont_do_it_alone') }} @endif
{{ $_SESSION['currentProjectClient'] }}

{!! __('headlines.project_dashboard') !!}

{!! $tpl->displayNotification() !!}
@if ($login::userIsAtLeast($roles::$admin)) @endif

{{ $_SESSION['currentProjectClient'] }}

{{ $currentProjectName }}


@include('projects::partials.checklist', [ 'progressSteps' => $progressSteps, 'percentDone' => $percentDone ])

{{ __('label.background') }}
{!! $tpl->escapeMinimal($project['details']) !!}

Create To-Do
{{ __('headlines.latest_todos') }}

@dispatchEvent('teamBoxBeginning', ['project' => $project])
{{ __('tabs.team') }}
@foreach ($project['assignedUsers'] as $userId => $assignedUser)
@spaceless @php $hasName = $assignedUser['firstname'] != '' || $assignedUser['lastname'] != ''; @endphp @if ($hasName) {{ sprintf( __('text.full_name'), $assignedUser['firstname'], $assignedUser['lastname'], ) }} @else {{ $assignedUser['username'] }} @endif
{{ $hasName ? $assignedUser['jobTitle'] : __('label.invited') }} @if ($hasName) @dispatchEvent('usercardBottom', ['user' => $assignedUser, 'project' => $project]) @endif @endspaceless
@endforeach @if ($login::userIsAtLeast($roles::$manager)) @endif
@if ($login::userIsAtLeast($roles::$editor)) {{ __('links.add_new_report') }} @endif
{{ __('subtitles.project_updates') }}
@if ($login::userIsAtLeast($roles::$editor))
@endif
@foreach ($comments as $row) @if ($loop->iteration == 3) {{ __('links.read_more') }}
@endif
{{ sprintf( __('text.report_written_on'), format($row['date'])->date(), format($row['date'])->time() ) }} @if ($login::userIsAtLeast($roles::$editor))
@endif
{!! $tpl->escapeMinimal($row['text']) !!}
@if ($row['replies']) @foreach ($row['replies'] as $comment) @endforeach @endif
@endforeach @if (count($comments) >= 3)
@endif
@if (count($comments) == 0)
{{ __('text.no_updates') }}
@endif
{{ __('subtitles.project_progress') }}


{{ __('headline.milestones') }}
    @if (count($milestones) == 0)

    {{ __('headlines.no_milestones') }}

    {{ __('text.milestones_help_organize_projects') }}

    {!! __('links.goto_milestones') !!}
    @endif @foreach($milestones as $row) @if ($row->percentDone >= 100 && (new \DateTime($row->editTo) < new \DateTime())) @break @endif