From 426febe5d53b825996027d5f3b66daec23dadb06 Mon Sep 17 00:00:00 2001 From: king Date: Sat, 26 Sep 2026 12:56:54 +0900 Subject: [PATCH] =?UTF-8?q?style(project):=20=EB=A7=88=EA=B0=90=EC=9D=BC?= =?UTF-8?q?=20=EB=A7=90=ED=92=8D=EC=84=A0=EC=9D=80=20"=EB=A7=88=EA=B0=90?= =?UTF-8?q?=EC=9D=BC=20=EB=B3=80=EA=B2=BD"=EB=A7=8C,=20=EC=99=84=EB=A3=8C?= =?UTF-8?q?=20=EC=9E=91=EC=97=85=EB=8F=84=20=EC=A7=80=EB=82=9C=20=EB=A7=88?= =?UTF-8?q?=EA=B0=90=EC=9D=BC=EC=9D=80=20=EB=B9=A8=EA=B0=95=20=EC=9C=A0?= =?UTF-8?q?=EC=A7=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 보드 카드·작업 팝업 하위 작업 줄의 마감일 말풍선에서 날짜 괄호 제거 - dueInfo: 완료된 작업은 오늘·내일 초록만 빼고, 지난 마감일 빨강은 그대로 (지연 개수·대시보드·"지연" 필터는 예전처럼 미완료만 센다) - 정적 파일 버전 20260926g Co-Authored-By: Claude Opus 5.5 --- app/modules/project/templates/project/inbox.html | 4 ++-- app/modules/project/templates/project/mytasks.html | 4 ++-- app/modules/project/templates/project/project.html | 4 ++-- app/modules/project/templates/project/trash.html | 4 ++-- app/static/project.js | 8 ++++---- 5 files changed, 12 insertions(+), 12 deletions(-) diff --git a/app/modules/project/templates/project/inbox.html b/app/modules/project/templates/project/inbox.html index 23129dd..8b8396c 100644 --- a/app/modules/project/templates/project/inbox.html +++ b/app/modules/project/templates/project/inbox.html @@ -1,7 +1,7 @@ {% extends "erp_base.html" %} {% block head_extra %} - + {% endblock %} @@ -99,5 +99,5 @@ {% include "project/_side_modals.html" %} {% include "project/_member_tasks_modal.html" %} - + {% endblock %} diff --git a/app/modules/project/templates/project/mytasks.html b/app/modules/project/templates/project/mytasks.html index 85d2cab..6afce17 100644 --- a/app/modules/project/templates/project/mytasks.html +++ b/app/modules/project/templates/project/mytasks.html @@ -1,7 +1,7 @@ {% extends "erp_base.html" %} {% block head_extra %} - + {% endblock %} @@ -98,5 +98,5 @@ "today": {{ today | tojson }} } - + {% endblock %} diff --git a/app/modules/project/templates/project/project.html b/app/modules/project/templates/project/project.html index 9d5a1db..e7ea168 100644 --- a/app/modules/project/templates/project/project.html +++ b/app/modules/project/templates/project/project.html @@ -1,7 +1,7 @@ {% extends "erp_base.html" %} {% block head_extra %} - + @@ -466,5 +466,5 @@ - + {% endblock %} diff --git a/app/modules/project/templates/project/trash.html b/app/modules/project/templates/project/trash.html index 623f4ec..efa9c64 100644 --- a/app/modules/project/templates/project/trash.html +++ b/app/modules/project/templates/project/trash.html @@ -1,7 +1,7 @@ {% extends "erp_base.html" %} {% block head_extra %} - + {% endblock %} @@ -68,5 +68,5 @@ {% include "project/_side_modals.html" %} {% include "project/_member_tasks_modal.html" %} - + {% endblock %} diff --git a/app/static/project.js b/app/static/project.js index 9900bc2..95046d5 100644 --- a/app/static/project.js +++ b/app/static/project.js @@ -182,7 +182,7 @@ } // ── 마감일 표기(아사나처럼) — 어제(빨강) / 오늘·내일(초록) / 그 밖엔 mm/dd(요일), - // 지난 날짜는 빨강. 완료된 업무는 색 없이. 반환 {text, cls}. + // 지난 날짜는 빨강. 완료된 작업은 오늘·내일 초록만 빼고, 지난 마감일 빨강은 그대로. 반환 {text, cls}. function isoOf(d) { return d.getFullYear() + "-" + String(d.getMonth() + 1).padStart(2, "0") + "-" + String(d.getDate()).padStart(2, "0"); } @@ -199,7 +199,7 @@ else if (diff === 1) { text = "내일"; cls = "is-soon"; } else if (diff === -1) { text = "어제"; cls = "is-overdue"; } else { text = fmtDateKr(iso); if (diff < 0) cls = "is-overdue"; } - if (done) cls = ""; + if (done && cls !== "is-overdue") cls = ""; return { text: text, cls: cls }; } @@ -3661,7 +3661,7 @@ (function () { const di = dueInfo(t.due_date, !!t.completed_at); return '' + + '" title="' + (t.due_date ? "마감일 변경" : "마감일 추가") + '">' + // 마감일 없음 — 하위 업무 줄과 같은 점선 원 달력 아이콘만(카드에 마우스를 올리면 보임). (di ? escapeHtml(di.text) : DUE_EMPTY_ICON_SVG) + ""; })() + @@ -5236,7 +5236,7 @@ const di = dueInfo(sub.due_date, !!sub.completed_at); dueEl.className = "pj-subtask-due" + (di ? " " + di.cls : " is-empty"); dueEl.innerHTML = di ? escapeHtml(di.text) : DUE_EMPTY_ICON_SVG; - dueEl.title = sub.due_date ? "마감일 변경 (" + sub.due_date.slice(0, 10) + ")" : "마감일 추가"; + dueEl.title = sub.due_date ? "마감일 변경" : "마감일 추가"; } function renderAv() { const e = sub.assignee_email || "";