feat(project): 카드 담당자 없음도 점선 원 사람 아이콘만(글자 없이)

보드 카드에서 담당자가 없으면 "담당자" 글자 없이 하위 업무 줄과 같은
점선 원 사람 아이콘만 보여준다(마감일 없음 아이콘과 같은 모양·크기).
정적 파일 버전 20260925c.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-09-25 18:23:13 +09:00
parent c92337e25a
commit db1ffdd636
6 changed files with 18 additions and 13 deletions
@@ -1,7 +1,7 @@
{% extends "erp_base.html" %}
{% block head_extra %}
<link rel="stylesheet" href="/static/project.css?v=20260925b" />
<link rel="stylesheet" href="/static/project.css?v=20260925c" />
<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=20260925b" defer></script>
<script src="/static/project.js?v=20260925c" defer></script>
{% endblock %}
@@ -1,7 +1,7 @@
{% extends "erp_base.html" %}
{% block head_extra %}
<link rel="stylesheet" href="/static/project.css?v=20260925b" />
<link rel="stylesheet" href="/static/project.css?v=20260925c" />
<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=20260925b" defer></script>
<script src="/static/project.js?v=20260925c" defer></script>
{% endblock %}
@@ -1,7 +1,7 @@
{% extends "erp_base.html" %}
{% block head_extra %}
<link rel="stylesheet" href="/static/project.css?v=20260925b" />
<link rel="stylesheet" href="/static/project.css?v=20260925c" />
<!-- 구글 머티리얼 심볼(담당자 아이콘 등) — self-host -->
<link rel="stylesheet" href="/static/vendor/material-symbols/material-symbols.css" />
<!-- 타임라인 vis-timeline — self-host -->
@@ -460,5 +460,5 @@
</script>
<script src="/static/vendor/vis-timeline/vis-timeline-graph2d.min.js"></script>
<script src="/static/project.js?v=20260925b" defer></script>
<script src="/static/project.js?v=20260925c" defer></script>
{% endblock %}
@@ -1,7 +1,7 @@
{% extends "erp_base.html" %}
{% block head_extra %}
<link rel="stylesheet" href="/static/project.css?v=20260925b" />
<link rel="stylesheet" href="/static/project.css?v=20260925c" />
<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=20260925b" defer></script>
<script src="/static/project.js?v=20260925c" defer></script>
{% endblock %}
+4 -1
View File
@@ -1133,12 +1133,15 @@ img.pj-person-ic { width: 22px; height: 22px; }
.pj-card-edit-hit:hover { background: #eef1f6; }
.pj-card-meta .is-empty { opacity: 0; transition: opacity .12s; color: #9aa1a9; }
.pj-card:hover .pj-card-meta .is-empty { opacity: .8; }
/* 카드 마감일 없음 — 글자 대신 하위 업무 줄과 같은 점선 원 달력 아이콘(아사나) */
/* 카드 담당자·마감일 없음 — 글자 대신 하위 업무 줄과 같은 점선 원 아이콘(아사나) */
.pj-card-assignee.is-empty,
.pj-card-due.is-empty {
display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px;
padding: 0; margin: -2px 0; border-radius: 50%; color: #6d6e6f;
}
.pj-card:hover .pj-card-meta .pj-card-assignee.is-empty,
.pj-card:hover .pj-card-meta .pj-card-due.is-empty { opacity: 1; }
.pj-card-assignee.is-empty:hover,
.pj-card-due.is-empty:hover { color: #1e1f21; background: #eceef0; }
.pj-card-due.is-overdue { color: #c22b10; }
/* ── 아사나식 날짜 팝업(openDatePopover) — 시작일/마감일 칸 + 월 달력 + 지우기.
+6 -4
View File
@@ -3386,10 +3386,12 @@
// 담당자/마감일은 카드에서 바로 바꿀 수 있다(아래 클릭 핸들러).
// 값이 없어도 자리는 남겨 둔다 — 카드에 마우스를 올리면 흐리게
// 나타나서 눌러 지정할 수 있다(.is-empty).
'<span class="pj-assignee pj-card-edit-hit pj-card-assignee' +
(t.assignee_email ? '' : ' is-empty') + '" title="담당자 변경">' +
avatarHtml(t.assignee_email, "pj-gicon-sm") +
escapeHtml(t.assignee_email ? idOf(t.assignee_email) : "담당자") + "</span>" +
// 담당자 없음 — 글자 없이 하위 업무 줄과 같은 점선 원 사람 아이콘만.
(t.assignee_email
? '<span class="pj-assignee pj-card-edit-hit pj-card-assignee" title="담당자 변경">' +
avatarHtml(t.assignee_email, "pj-gicon-sm") + escapeHtml(idOf(t.assignee_email)) + "</span>"
: '<span class="pj-assignee pj-card-edit-hit pj-card-assignee is-empty" title="담당자 지정">' +
ASSIGN_EMPTY_ICON_SVG + "</span>") +
(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") +