문의 문의 제목
문의접수담당자가 처리를 완료했습니다. 내용을 확인하셨다면 완료 확인을 눌러주세요.
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 관련 문의하기
문의 내용과 답변을 확인할 수 있습니다.
담당자가 처리를 완료했습니다. 내용을 확인하셨다면 완료 확인을 눌러주세요.
문의 내용과 답변을 확인할 수 있습니다.
담당자가 처리를 완료했습니다. 내용을 확인하셨다면 완료 확인을 눌러주세요.
답변 0