{{ $issue->issue_number }} - {{ $issue->title }}

@if (session('status'))

{{ session('status') }}

@endif @if (session('error')) @endif

{{ $issue->title }}

{{ $issue->issue_type_label }} " {{ __('Created by') }} {{ $issue->creator->name }} " {{ $issue->created_at->diffForHumans() }}
@if(!$issue->isClosed() || Auth::user()->is_admin) {{ __('Edit') }} @endif @if(Auth::user()->is_admin)
@csrf @method('DELETE')
@endif
@if($issue->labels->count() > 0)
@foreach($issue->labels as $label) {{ $label->name }} @endforeach
@endif

{{ __('Description') }}

{{ $issue->description ?: __('No description provided') }}
{{ __('Assigned To') }}
{{ $issue->assignee?->name ?? __('Unassigned') }}
{{ __('Reviewer') }}
{{ $issue->reviewer?->name ?? __('None') }}
{{ __('Due Date') }}
@if($issue->due_date) {{ $issue->due_date->format('Y-m-d') }} @if($issue->is_overdue) ({{ __('Overdue by :days days', ['days' => abs($issue->days_until_due)]) }}) @elseif($issue->days_until_due !== null && $issue->days_until_due >= 0) ({{ __(':days days left', ['days' => $issue->days_until_due]) }}) @endif @else {{ __('No due date') }} @endif
{{ __('Time Tracking') }}
{{ number_format($issue->actual_hours, 1) }}h @if($issue->estimated_hours) / {{ number_format($issue->estimated_hours, 1) }}h {{ __('estimated') }} @endif
@if($issue->member)
{{ __('Related Member') }}
{{ $issue->member->full_name }}
@endif @if($issue->parentIssue) @endif
@if($issue->subTasks->count() > 0)

{{ __('Sub-tasks') }} ({{ $issue->subTasks->count() }})

@endif
@if(!$issue->isClosed())

{{ __('Actions') }}

@csrf @method('PATCH')
@csrf
@endif

{{ __('Comments') }} ({{ $issue->comments->count() }})

@forelse($issue->comments as $comment)
{{ $comment->user->name }} {{ $comment->created_at->diffForHumans() }} @if($comment->is_internal) {{ __('Internal') }} @endif

{{ $comment->comment_text }}

@empty

{{ __('No comments yet') }}

@endforelse
@csrf

{{ __('Attachments') }} ({{ $issue->attachments->count() }})

@forelse($issue->attachments as $attachment)

{{ $attachment->file_name }}

{{ $attachment->file_size_human }} " {{ $attachment->user->name }} " {{ $attachment->created_at->diffForHumans() }}

{{ __('Download') }} @if(Auth::user()->is_admin)
@csrf @method('DELETE')
@endif
@empty

{{ __('No attachments') }}

@endforelse
@csrf

{{ __('Max size: 10MB') }}

{{ __('Time Tracking') }} ({{ number_format($issue->total_time_logged, 1) }}h total)

@forelse($issue->timeLogs->sortByDesc('logged_at') as $timeLog)

{{ number_format($timeLog->hours, 2) }}h - {{ $timeLog->user->name }}

{{ $timeLog->logged_at->format('Y-m-d') }} - {{ $timeLog->description }}

@empty

{{ __('No time logged yet') }}

@endforelse
@csrf

{{ __('Progress') }}

{{ __('Completion') }} {{ $issue->progress_percentage }}%

{{ __('Watchers') }} ({{ $issue->watchers->count() }})

    @foreach($issue->watchers as $watcher)
  • {{ $watcher->name }} @if($watcher->id !== $issue->created_by_user_id)
    @csrf @method('DELETE')
    @endif
  • @endforeach
@csrf