$list * @var string $status */ use App\Models\FeedbackModel; $list = $list ?? []; $status = (string) ($status ?? ''); $badge = static function (string $s): string { $map = [ 'new' => 'bg-blue-50 text-blue-700', 'in_progress' => 'bg-amber-50 text-amber-700', 'answered' => 'bg-gray-100 text-gray-500', 'done' => 'bg-emerald-50 text-emerald-700', 'hold' => 'bg-gray-100 text-gray-500', ]; $c = $map[$s] ?? 'bg-gray-100 text-gray-600'; return '' . esc(FeedbackModel::statusLabel($s)) . ''; }; ?>
| 번호 | 일시 | 상태 | 화면 | 내용 | 작성자 | 캡처 |
|---|---|---|---|---|---|---|
| 접수된 의견이 없습니다. | ||||||
| = (int) $row->fb_idx ?> | = esc((string) ($row->fb_regdate ?? '')) ?> | = $badge((string) ($row->fb_status ?? 'new')) ?> | = esc((string) ($row->fb_page_title ?: $row->fb_page_url)) ?> | = esc(mb_substr((string) $row->fb_content, 0, 50)) ?>= mb_strlen((string) $row->fb_content) > 50 ? '…' : '' ?> | = esc((string) ($row->fb_mb_name ?? '')) ?> | = ! empty($row->fb_screenshot) ? '' : '' ?> |