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

@if (session('status'))

{{ session('status') }}

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

{{ $issue->title }}

{{ $issue->issue_type_label }} " 建立者 {{ $issue->creator->name }} " {{ $issue->created_at->diffForHumans() }}
@if(!$issue->isClosed() || Auth::user()->hasRole('admin')) 編輯 @endif @if(Auth::user()->hasRole('admin'))
@csrf @method('DELETE')
@endif
@if($issue->labels->count() > 0)
@foreach($issue->labels as $label) {{ $label->name }} @endforeach
@endif

描述

{{ $issue->description ?: __('No description provided') }}
指派對象
{{ $issue->assignee?->name ?? __('Unassigned') }}
審查者
{{ $issue->reviewer?->name ?? __('None') }}
截止日期
@if($issue->due_date) {{ $issue->due_date->format('Y-m-d') }} @if($issue->is_overdue) (逾期 {{ abs($issue->days_until_due) }} 天) @elseif($issue->days_until_due !== null && $issue->days_until_due >= 0) ({{ $issue->days_until_due }} 天剩餘) @endif @else 無截止日期 @endif
時間追蹤
{{ number_format($issue->actual_hours, 1) }}h @if($issue->estimated_hours) / {{ number_format($issue->estimated_hours, 1) }}h 預估 @endif
@if($issue->member)
相關會員
{{ $issue->member->full_name }}
@endif @if($issue->parentIssue) @endif
@if($issue->subTasks->count() > 0)

子任務 ({{ $issue->subTasks->count() }})

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

操作

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

留言 ({{ $issue->comments->count() }})

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

{{ $comment->comment_text }}

@empty

尚無留言

@endforelse
@csrf

附件 ({{ $issue->attachments->count() }})

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

{{ $attachment->file_name }}

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

下載 @if(Auth::user()->hasRole('admin'))
@csrf @method('DELETE')
@endif
@empty

無附件

@endforelse
@csrf

最大大小:10MB

時間追蹤 ({{ 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

尚未記錄時間

@endforelse
@csrf

進度

完成度 {{ $issue->progress_percentage }}%

觀察者 ({{ $issue->watchers->count() }})

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