style(project): 마감일 말풍선은 "마감일 변경"만, 완료 작업도 지난 마감일은 빨강 유지
- 보드 카드·작업 팝업 하위 작업 줄의 마감일 말풍선에서 날짜 괄호 제거 - dueInfo: 완료된 작업은 오늘·내일 초록만 빼고, 지난 마감일 빨강은 그대로 (지연 개수·대시보드·"지연" 필터는 예전처럼 미완료만 센다) - 정적 파일 버전 20260926g Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
{% extends "erp_base.html" %}
|
||||
|
||||
{% block head_extra %}
|
||||
<link rel="stylesheet" href="/static/project.css?v=20260926f" />
|
||||
<link rel="stylesheet" href="/static/project.css?v=20260926g" />
|
||||
<link rel="stylesheet" href="/static/vendor/material-symbols/material-symbols.css" />
|
||||
{% endblock %}
|
||||
|
||||
@@ -99,5 +99,5 @@
|
||||
{% include "project/_side_modals.html" %}
|
||||
{% include "project/_member_tasks_modal.html" %}
|
||||
|
||||
<script src="/static/project.js?v=20260926f" defer></script>
|
||||
<script src="/static/project.js?v=20260926g" defer></script>
|
||||
{% endblock %}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{% extends "erp_base.html" %}
|
||||
|
||||
{% block head_extra %}
|
||||
<link rel="stylesheet" href="/static/project.css?v=20260926f" />
|
||||
<link rel="stylesheet" href="/static/project.css?v=20260926g" />
|
||||
<link rel="stylesheet" href="/static/vendor/material-symbols/material-symbols.css" />
|
||||
{% endblock %}
|
||||
|
||||
@@ -98,5 +98,5 @@
|
||||
"today": {{ today | tojson }}
|
||||
}
|
||||
</script>
|
||||
<script src="/static/project.js?v=20260926f" defer></script>
|
||||
<script src="/static/project.js?v=20260926g" defer></script>
|
||||
{% endblock %}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{% extends "erp_base.html" %}
|
||||
|
||||
{% block head_extra %}
|
||||
<link rel="stylesheet" href="/static/project.css?v=20260926f" />
|
||||
<link rel="stylesheet" href="/static/project.css?v=20260926g" />
|
||||
<!-- 구글 머티리얼 심볼(담당자 아이콘 등) — self-host -->
|
||||
<link rel="stylesheet" href="/static/vendor/material-symbols/material-symbols.css" />
|
||||
<!-- 타임라인 vis-timeline — self-host -->
|
||||
@@ -466,5 +466,5 @@
|
||||
</script>
|
||||
|
||||
<script src="/static/vendor/vis-timeline/vis-timeline-graph2d.min.js"></script>
|
||||
<script src="/static/project.js?v=20260926f" defer></script>
|
||||
<script src="/static/project.js?v=20260926g" defer></script>
|
||||
{% endblock %}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{% extends "erp_base.html" %}
|
||||
|
||||
{% block head_extra %}
|
||||
<link rel="stylesheet" href="/static/project.css?v=20260926f" />
|
||||
<link rel="stylesheet" href="/static/project.css?v=20260926g" />
|
||||
<link rel="stylesheet" href="/static/vendor/material-symbols/material-symbols.css" />
|
||||
{% endblock %}
|
||||
|
||||
@@ -68,5 +68,5 @@
|
||||
{% include "project/_side_modals.html" %}
|
||||
{% include "project/_member_tasks_modal.html" %}
|
||||
|
||||
<script src="/static/project.js?v=20260926f" defer></script>
|
||||
<script src="/static/project.js?v=20260926g" defer></script>
|
||||
{% endblock %}
|
||||
|
||||
@@ -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 '<span class="pj-card-due pj-card-edit-hit' + (di ? " " + di.cls : " is-empty") +
|
||||
'" title="' + (t.due_date ? "마감일 변경 (" + t.due_date + ")" : "마감일 추가") + '">' +
|
||||
'" title="' + (t.due_date ? "마감일 변경" : "마감일 추가") + '">' +
|
||||
// 마감일 없음 — 하위 업무 줄과 같은 점선 원 달력 아이콘만(카드에 마우스를 올리면 보임).
|
||||
(di ? escapeHtml(di.text) : DUE_EMPTY_ICON_SVG) + "</span>";
|
||||
})() +
|
||||
@@ -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 || "";
|
||||
|
||||
Reference in New Issue
Block a user