feat: GTSIT 사이트 구축
This commit is contained in:
2
app/Views/inquiries/show.php
Normal file
2
app/Views/inquiries/show.php
Normal file
@@ -0,0 +1,2 @@
|
||||
<?php $statusLabels = ['pending'=>'접수 대기','in_progress'=>'확인 중','replied'=>'답변 완료','closed'=>'처리 종료']; ?>
|
||||
<section class="page-section"><div class="container narrow"><a class="back-link" href="/inquiry/lookup">← 다른 문의 확인</a><article class="inquiry-result"><header><span class="badge"><?= e($statusLabels[$inquiry['status']] ?? '처리 중') ?></span><small><?= e($inquiry['ticket']) ?></small><h1><?= e($inquiry['title']) ?></h1><time><?= e(date('Y.m.d H:i', strtotime($inquiry['created_at']))) ?></time></header><section><h2>문의 내용</h2><p><?= nl2br(e($inquiry['body'])) ?></p></section><section class="reply"><h2>담당자 답변</h2><?php if (!empty($inquiry['reply'])): ?><p><?= nl2br(e($inquiry['reply'])) ?></p><time><?= e(date('Y.m.d H:i', strtotime($inquiry['replied_at']))) ?></time><?php else: ?><p>담당자가 문의를 확인하고 있습니다. 답변 등록 후 이 화면에서 확인할 수 있습니다.</p><?php endif; ?></section></article></div></section>
|
||||
Reference in New Issue
Block a user