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 || "";