From d87785439f2c3d6e88d6ffd37748fbc95e9f6e6d Mon Sep 17 00:00:00 2001 From: root Date: Tue, 29 Sep 2026 20:49:33 +0900 Subject: [PATCH] fix: show completed feedback state to author --- assets/styles.css | 1 + egbim/app.js | 5 ++++- egbim/detail.html | 6 +++--- egbim/index.html | 4 ++-- egbim/write.html | 4 ++-- 5 files changed, 12 insertions(+), 8 deletions(-) diff --git a/assets/styles.css b/assets/styles.css index b7d46b3..8e8028b 100644 --- a/assets/styles.css +++ b/assets/styles.css @@ -279,6 +279,7 @@ button { cursor: pointer; } .completion-notice { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 20px 22px 0; padding: 15px 17px; border: 1px solid #f0c45c; background: #fff9e8; color: #5b4500; } .completion-notice strong { display: block; margin-bottom: 4px; } .completion-notice p { margin: 0; font-size: 13px; } +.completion-done-notice { margin: 20px 22px 0; padding: 15px 17px; border: 1px solid #b3ddce; background: #effaf6; color: var(--green); font-weight: 700; } .detail-actions { display: flex; justify-content: space-between; padding: 23px 22px 0; } .egbim-page #backButton { display: none; } .egbim-page .form-footer:has(#backButton) { display: none; } diff --git a/egbim/app.js b/egbim/app.js index 1cdcd4a..a4c3b9d 100644 --- a/egbim/app.js +++ b/egbim/app.js @@ -585,11 +585,14 @@ const editForm = qs('#editForm'); const editError = qs('#editError'); const completionNotice = qs("#completionNotice"); + const completionDoneNotice = qs("#completionDoneNotice"); const completionButton = qs("#completionButton"); const renderCompletionNotice = function () { const owner = isPostOwner(post, detailUser || getAuthUser()); - const visible = owner && post.completionRequested && !post.completionConfirmed; + const completed = normalizeStatus(post.status) === "완료" || post.completionConfirmed; + const visible = owner && !completed && post.completionRequested; if (completionNotice) completionNotice.hidden = !visible; + if (completionDoneNotice) completionDoneNotice.hidden = !(owner && completed); }; const ownerActions = function () { const owner = isPostOwner(post, detailUser || getAuthUser()); diff --git a/egbim/detail.html b/egbim/detail.html index 2f3a6a2..077854f 100644 --- a/egbim/detail.html +++ b/egbim/detail.html @@ -1,8 +1,8 @@ -문의 상세 | EG-BIM Q&A +문의 상세 | EG-BIM Q&A
EG-BIM SUPPORT

Q&A

EG-BIM 관련 문의하기

-

문의 상세

문의 내용과 답변을 확인할 수 있습니다.

문의 문의 제목

문의접수
2026-09-17작성자회사부서

첨부파일

첨부된 파일이 없습니다.
목록

답변 0

-
+

문의 상세

문의 내용과 답변을 확인할 수 있습니다.

문의 문의 제목

문의접수
2026-09-17작성자회사부서

첨부파일

첨부된 파일이 없습니다.
목록

답변 0

+ diff --git a/egbim/index.html b/egbim/index.html index efd071a..c65ca61 100644 --- a/egbim/index.html +++ b/egbim/index.html @@ -5,7 +5,7 @@ EG-BIM Q&A | 바론컨설턴트 - +
@@ -23,6 +23,6 @@
- + diff --git a/egbim/write.html b/egbim/write.html index 0b13185..55b96f5 100644 --- a/egbim/write.html +++ b/egbim/write.html @@ -1,8 +1,8 @@ -문의 등록 | EG-BIM Q&A +문의 등록 | EG-BIM Q&A
EG-BIM SUPPORT

Q&A

EG-BIM 관련 문의하기

문의 등록

로그인한 사용자 정보로 문의가 등록됩니다.

로그인 상태를 확인하고 있습니다.
공개 설정
개인정보, 비밀번호, 인증번호 등 민감한 정보는 입력하지 마세요.
파일은 문의와 함께 안전하게 업로드됩니다. 파일당 최대 30MB
-
+